Scott Percival
7de1d320a0
DIRECTOR: Add more palette transition modes
2022-09-12 15:52:18 +02:00
Roland van Laar
50d369631b
DIRECTOR: dump factory scripts with their names
...
FactoryScripts are now dumped with their 'factory-<name>' in the dumped
filename.
Factory scripts are different in that they are not associated with a cast and have a
scripType that is kNoneScript, i.e. -1.
2022-03-25 18:08:55 +01:00
Roland van Laar
95fc5560f9
Director: Implement the searchPath
...
the searchPath is an array that contains paths that need to be searched
when opening a file. It's a property on the same global level in the
same way itemDelimeter is.
The searchPath is set via cb_theassign2. It's used for assigning
properties to the movie itself. `g_lingo` in the case of ScummVM.
The only known case for cb_theassign2 is in the game Louis Catorze
where it's only used for the searchPath.
Note: cb_theassign() does the same thing for script and factories
2022-03-10 23:42:37 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Misty De Meo
1750ecfab6
DIRECTOR: decode movie paths before loading
2021-11-08 23:42:45 -05:00
ysj1173886760
6819fcce6e
DIRECTOR: fix the castType of cast
2021-08-09 16:51:25 +08:00
djsrv
1c594b903b
DIRECTOR: Use Unicode version of toPrintable
2021-08-07 14:54:36 -04:00
djsrv
e6c696031f
DIRECTOR: Punycode dump file names
2021-08-07 10:44:37 +02:00
djsrv
88f77b53c1
DIRECTOR: Modify _vm->processEvents to handle transition events
...
processTransitionEvent skipped passing events to the window manager
and sent them directly to the current window, which is no good since the
event may need to go to another window. It also broke stopping
transitions on click.
2021-08-02 10:12:15 -04:00
djsrv
5add8e86c5
DIRECTOR: Better handle D4 Windows filenames
...
We need to truncate Windows filenames to a valid 8.3 filename but using
a different algorithm than D3.
2021-07-24 01:44:27 -04:00
ysj1173886760
eab6d53f15
DIRECTOR: add a util to check buton sprite
2021-07-19 10:41:22 +08:00
djsrv
664d2f257d
DIRECTOR: LINGO: Make compareTo handle Unicode
2021-07-15 16:31:47 -04:00
djsrv
8fcc186b08
DIRECTOR: Add charToNum and numToChar helper functions
2021-07-15 16:31:47 -04:00
djsrv
ca0b1f5de1
DIRECTOR: LINGO: Normalize strings in equality tests
2021-07-15 16:31:47 -04:00
djsrv
52af0ac82e
DIRECTOR: Create DirectorEngine::getPlatformEncoding
2021-07-15 16:31:47 -04:00
djsrv
63b69aa91e
DIRECTOR: Create function to detect encoding from font
2021-07-12 00:38:05 -04:00
djsrv
ce3a1ac2cd
DIRECTOR: Create platformFromID function
2021-07-06 21:30:30 -04:00
djsrv
d91e3d5148
DIRECTOR: Move humanVersion to util.cpp
2021-06-07 14:48:48 -04:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02: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
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
Nathanael Gentry
e74c53054b
DIRECTOR: Search for D4 Mac file extensions
2020-08-04 23:57:22 -04:00
Roland van Laar
8b14e8f9a3
DIRECTOR: fix function definition
2020-07-30 21:57:31 +02: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
djsrv
854300607c
DIRECTOR: Fix mac name
2020-07-20 15:24:22 -04:00
Eugene Sandulenko
1c394fb7fc
DIRECTOR: Implement Director-specific PRNG and hook it to Lingo
2020-07-11 23:22:12 +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
92225bcf66
DIRECTOR: Made transition interruptable like the original
2020-03-27 00:10:34 +01:00
Eugene Sandulenko
b505afe041
DIRECTOR: Plug Win->Mac path translator. Warlock-win works!
2020-02-25 10:13:24 +01:00
Eugene Sandulenko
4213888dbf
DIRECTOR: Added code for converting Mac filenames to Win
2020-02-25 00:54:57 +01:00
Eugene Sandulenko
edfd14f805
DIRECTOR: Generalized path conversion
2020-02-20 22:56:21 +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
Eugene Sandulenko
1f5a57a54c
DIRECTOR: Convert HFS file paths to Posix
2017-03-29 08:35:33 +02:00
Eugene Sandulenko
4c3f07b3e0
DIRECTOR: Moved event processor to events.cpp
2017-03-09 17:57:12 +01:00
Eugene Sandulenko
27a0f43333
DIRECTOR: Move utility functions to util.cpp
2017-02-25 21:44:01 +01:00