djsrv
615995fdc1
DIRECTOR: Change member refs to use CastMemberID
2021-06-30 22:32:19 -04:00
djsrv
1724a158c6
DIRECTOR: Create CastMemberID type
2021-06-30 22:32:19 -04:00
djsrv
d91e3d5148
DIRECTOR: Move humanVersion to util.cpp
2021-06-07 14:48:48 -04:00
Eugene Sandulenko
03d0a7b891
DIRECTOR: Added comments
2020-10-04 22:09:11 +02:00
Eugene Sandulenko
1395a8b4e5
DIRECTOR: Process '@' in file path conversion
2020-10-04 21:56:30 +02:00
djsrv
cfe4820e6a
DIRECTOR: Dispose uncompressed data after use
2020-08-12 12:24:43 -04:00
djsrv
28ca9065d4
DIRECTOR: Validate uncompressed chunk length
2020-08-12 10:38:45 -04:00
djsrv
43fd94166d
DIRECTOR: Implement readZlibData
2020-08-11 21:25:58 -04:00
djsrv
5fdc06e7e4
DIRECTOR: Implement readVarInt
2020-08-11 21:25:58 -04:00
djsrv
0ff7274993
DIRECTOR: Multiply version numbers by 100
...
To accomodate minor version.
2020-08-10 15:00:55 -04:00
djsrv
17a0c415ad
DIRECTOR: LINGO: Make kThePathName mac style
2020-08-05 14:14:18 -04:00
Nathanael Gentry
b0c3246574
DIRECTOR: Also convert directory paths
2020-08-05 11:41:30 -04:00
Nathanael Gentry
4c75242ae7
DIRECTOR: Fix typo
2020-08-05 11:41:30 -04:00
Eugene Sandulenko
658a0043f5
DIRECTOR: Removed lowercase extension from the extension list
...
ScummVM emulates case-insensitive file system, thus there is no sense
to test for ".Dir" when there is a test for ".DIR"
2020-08-05 14:33:44 +02:00
Nathanael Gentry
e74c53054b
DIRECTOR: Search for D4 Mac file extensions
2020-08-04 23:57:22 -04:00
Nathanael Gentry
20fa33a689
DIRECTOR: Check if path is good before changing
...
For Virtual Murder: Brett game (id murderbrett), a script takes care of making
the path proper and trampling on that causes loading to fail.
2020-08-04 22:25:50 -04:00
Nathanael Gentry
d1f63e2b1a
DIRECTOR: Only convert filename for MMM movies
2020-08-04 18:33:09 -04:00
Nathanael Gentry
8badd763f2
DIRECTOR: Check .Dir extension on Mac
2020-08-04 18:33:09 -04:00
Roland van Laar
44254e04f6
DIRECTOR: Skip empty files in pathMakeRelative.
...
Who Killed Brett Penance has empty files that have
the same name as the archive, but without the .mmm extension.
The file archive can be opened, but is empty, so skip it.
Includes refactor of file check to `testPath`.
2020-07-30 21:52:47 +02:00
Eugene Sandulenko
40f82aacdb
DIRECTOR: Convert '/' in Mac paths to ':'
2020-07-28 22:21:02 +02:00
djsrv
14892f7f02
DIRECTOR: LINGO: GlobalScript -> EventScript
2020-07-24 17:12:39 -04:00
Roland van Laar
b62a77f498
DIRECTOR: replace whitespace trim with String::trim
2020-07-21 20:48:43 +02:00
Roland van Laar
3cae55dc3a
DIRECTOR: remove leading space when opening files
...
This happens in Majestic. It does a theMoviePath && 'path\to\file'.
Since theMoviePath is empty, it results in: ' path\to\file'.
2020-07-21 20:34:31 +02:00
djsrv
854300607c
DIRECTOR: Fix mac name
2020-07-20 15:24:22 -04:00
Eugene Sandulenko
b08a4ef03f
DIRECTOR: Fix undefined behaviour
2020-07-13 11:41:54 +02:00
Eugene Sandulenko
1c394fb7fc
DIRECTOR: Implement Director-specific PRNG and hook it to Lingo
2020-07-11 23:22:12 +02:00
Eugene Sandulenko
5186f7194b
DIRECTOR: Reduce header dependency
2020-07-01 17:49:48 +02:00
djsrv
b248a78732
DIRECTOR: LINGO: Merge Sprite/Frame/Score Script
2020-06-17 20:38:49 -04:00
djsrv
31399a675b
DIRECTOR: Add Mac key code mappings
2020-06-16 22:43:12 -04:00
Roland van Laar
f6fab837db
DIRECTOR: Fix file path loading
...
Filepaths are converted between mac and windows filepaths. In some cases the filenames were converted correctly, without doing a pass. A filepath conversion would return the same filepath. This wasn't recognized as a conversion that succeeded.
The fix is check if the resulting filename can be opened.
2020-05-24 23:20:57 +02:00
Eugene Sandulenko
83ca637d24
DIRECTOR: Dump Lscr scripts with --dump-scripts
2020-05-24 17:16:46 +02:00
Scott Percival
45db2389e3
DIRECTOR: Check for file paths with FAT-incompatible symbols stripped
2020-05-16 14:52:06 +08:00
Scott Percival
8e0c72291f
DIRECTOR: LINGO: Add reference counter to Symbol and Datum
2020-05-14 18:09:32 +08:00
Eugene Sandulenko
77c51088ee
DIRECTOR: Improved makePathRelative
...
Now it is able to process "MediaBand\main\title" for opening
MAIN/TITLE.DXR
2020-05-09 21:59:07 +02:00
Eugene Sandulenko
838aea9635
DIRECTOR: Added debug output
2020-02-25 10:20:24 +01:00
Eugene Sandulenko
b505afe041
DIRECTOR: Plug Win->Mac path translator. Warlock-win works!
2020-02-25 10:13:24 +01:00
Eugene Sandulenko
2165b74060
DIRECTOR: Added explanatory comments
2020-02-25 01:04:26 +01:00
Eugene Sandulenko
efb9b65082
DIRECTOR: Code formatting
2020-02-25 01:01:29 +01:00
Eugene Sandulenko
2eaa86edda
DIRECTOR: Remove redundant code
2020-02-25 01:00:29 +01:00
Eugene Sandulenko
4213888dbf
DIRECTOR: Added code for converting Mac filenames to Win
2020-02-25 00:54:57 +01:00
Eugene Sandulenko
6a648e185c
DIRECTOR: More robust path handling
2020-02-21 01:34:29 +01:00
Eugene Sandulenko
a281fc21a2
DIRECTOR: Removed excess debug ouptut
2020-02-21 01:10:37 +01:00
Eugene Sandulenko
edfd14f805
DIRECTOR: Generalized path conversion
2020-02-20 22:56:21 +01:00
Eugene Sandulenko
724ced87d0
DIRECTOR: Improve path converting
2020-01-01 15:24:15 +01:00
Eugene Sandulenko
ec56be281d
DIRECTOR: Use current path for navigating between movies
2020-01-01 15:15:27 +01:00
Eugene Sandulenko
693149ee56
DIRECTOR: Load Shared Cast from movie directory
2020-01-01 14:50:53 +01:00
D G Turner
827e4efb09
DIRECTOR: Fix Various Compiler Warnings.
2017-04-25 00:53:48 +01:00
Eugene Sandulenko
1f5a57a54c
DIRECTOR: Convert HFS file paths to Posix
2017-03-29 08:35:33 +02:00
Eugene Sandulenko
595ea902bf
DIRECTOR: The maximum cast num is H88, 512, not 513
2017-03-17 09:28:33 +00:00
Eugene Sandulenko
444d193a36
DIRECTOR: Fix num to cast id for cast A11
2017-03-17 09:24:59 +00:00