Commit Graph

4640 Commits

Author SHA1 Message Date
Eugene Sandulenko
dce0412e80
DIRECTOR: LINGO: Implement grammar for "the number of menus"
Used in overringunder: Over-Ring-Under '--start-movie=10 STORE(LOOP)'
2023-01-28 02:03:06 +01:00
Eugene Sandulenko
15ffcd8726
DIRECTOR: Print out debug output so the buildbot stays happy
easternmind-win-en, --start-movie=TRANSCRI/AUTODEMO.DIR, contains
over 1300 cast members. Since we're currently preloading everything,
buildbot is not happy as that takes longer than 20 secs.
2023-01-28 00:08:22 +01:00
Eugene Sandulenko
228a4e8513
DIRECTOR: LINGO: Allow floats be as arguments in b_sound
Used in 'pepperon-win-fr', --start-movie=W4_ZC_3.DIR

  sound(#fadeOut, 1, 1.5 * 60)
2023-01-27 23:52:13 +01:00
Eugene Sandulenko
ce7af32c5e
DIRECTOR: Speed up palette transitions on fewframesonly 2023-01-27 23:24:22 +01:00
Eugene Sandulenko
55e75be7a8
DIRECTOR: Renamed constants in accordance with our naming conventions 2023-01-27 23:21:18 +01:00
Eugene Sandulenko
b8b0490f53
DIRECTOR: Added Porta XCMD stub used in the7colors 2023-01-27 22:53:15 +01:00
Eugene Sandulenko
5ce90b0bc7
DIRECTOR: Increased number of fewframesonly to 19 2023-01-27 22:29:21 +01:00
Eugene Sandulenko
63a57c1ba3
DIRECTOR: Made fewframesonly count global frames.
If the movie is switching during the first few frames, we were
resetting the counter which led to buildbot hanging.
2023-01-27 22:25:19 +01:00
Eugene Sandulenko
e9146658d9
DIRECTOR: Fix use after free 2023-01-27 20:01:51 +01:00
Eugene Sandulenko
3c4e528fff
DIRECTOR: LINGO: Implemented mGetVM from MemoryXObj 2023-01-27 19:21:12 +01:00
Eugene Sandulenko
dd3fe3d507
DIRECTOR: Implemented SoundVolume XCMD 2023-01-27 18:45:15 +01:00
Eugene Sandulenko
91d6710faf
DIRECTOR: Fix debug output 2023-01-27 18:45:14 +01:00
Eugene Sandulenko
3058bdb8be
DIRECTOR: Do not leak memory on failed EXEv4 load 2023-01-27 15:11:20 +01:00
Eugene Sandulenko
d4507f3764
DIRECTOR: LINGO: Do not freak out when romanLingo is set to 1, as we are compatible 2023-01-27 14:58:50 +01:00
Scott Percival
9ee0740844 DIRECTOR: Reset Channel::_movieTime when loading a new video
Fixes the animation of turning the ship in Gadget: Invention,
Travel and Adventure.
2023-01-27 13:31:21 +01:00
Scott Percival
e93583bbf0 DIRECTOR: Fix memory leak in Window::loadEXE() 2023-01-27 13:31:21 +01:00
Scott Percival
ecaed41e59 DIRECTOR: Implement b_ilk 2023-01-27 13:31:21 +01:00
Scott Percival
6444b9dfd5 DIRECTOR: For disposed objects, make getMethod return a warning
D4 will throw an exception if you try and use a method on a disposed
object. In the editor this halts execution, in the projector this seems
to just be ignored. As there are games which rely on this ignorance,
we can't halt on a disposed object.

Fixes the EXE loader in Opera Fatal.
2023-01-27 13:31:21 +01:00
Walter Agazzi
5e36a43ea0 DIRECTOR: Mark Majestic german version as D5
Bugreport #14065
2023-01-27 12:29:14 +01:00
Scott Percival
ce78554746 DIRECTOR: Check current cast archive for CURS resources 2023-01-26 23:36:17 +08:00
Eugene Sandulenko
d2e56053f0
DIRECTOR: Dump RIFF resources when requested 2023-01-26 12:52:52 +01:00
Eugene Sandulenko
23e27dc4a0
DIRECTOR: Remove leftover debug message 2023-01-26 12:30:30 +01:00
Eugene Sandulenko
a3ff687d3b
DIRECTOR: Properly load external sound cast members 2023-01-26 00:12:55 +01:00
Eugene Sandulenko
e71317d054
DIRECTOR: Enhance printed Cast info, show full path when it is specified 2023-01-26 00:12:50 +01:00
Misty De Meo
2970cdf156
DIRECTOR: update testing status 2023-01-24 21:15:04 -08:00
Misty De Meo
a7b3abb139
DIRECTOR: update Phibos comment 2023-01-24 17:34:46 -08:00
Misty De Meo
4cac3b2138
DIRECTOR: fix majestic Mac filesize 2023-01-24 17:34:46 -08:00
Misty De Meo
574feaf4b9
DIRECTOR: update detections 2023-01-24 12:37:17 -08:00
Misty De Meo
e656bb99e3
DIRECTOR: fix Phibos/Bem 2023-01-20 22:04:44 -08:00
Eugene Sandulenko
8feb679e92
DIRECTOR: Fix warnings 2023-01-20 14:01:20 +01:00
Eugene Sandulenko
c4afc4ac3e
JANITORIAL: Remove excess empty lines 2023-01-20 14:01:20 +01:00
Eugene Sandulenko
cd7afdb9f7
DIRECTOR: Do not hang buildbot when movies cannot be loaded 2023-01-19 15:43:52 +01:00
Scott Percival
d76b359ac2 DIRECTOR: Refactor movie loaders to allow loading from executables 2023-01-19 12:12:21 +01:00
Scott Percival
05ca29629a Revert "DIRECTOR: openMainArchive may be opening an EXE"
This reverts commit 6af5e86a77.
2023-01-19 12:12:21 +01:00
Scott Percival
c79c32accb DIRECTOR: Refactor Stxt/TextCastMember to use raw strings
There is now _rtext, an untouched copy of the original data.
For compatibility, _ftext and _ptext are kept the same.

In addition, this change removes most of the workaround logic from
b_installMenu, as it can now parse the menu string directly.
2023-01-19 12:12:21 +01:00
Scott Percival
71473c94e7 DIRECTOR: Fix normaliseXLibName for kPlatformWindows 2023-01-19 12:12:21 +01:00
Misty De Meo
4df840ef1f
DIRECTOR: mamauta1 needs desktop quirk 2023-01-18 23:17:03 -08:00
Roland van Laar
0caa469e09 DIRECTOR: set dirseparator on windows platforms: \
Director 4 and later games for windows use filepaths where '\' is the separator.
Games for mac use ':', which was the default.
Director 3 and earlier games were authored on Mac and thus use the ':'
internally.

This fixes a bug where the filename for c:\fileio.dll was parsed
to \fileio.dll. Due to the default ':' everything after the ':' was
seen as the filename.
2023-01-19 00:06:25 +01:00
Scott Percival
054c674f79 DIRECTOR: Fix pitch calculation for BITDDecoder
The expected decompression size for D4 and above was being mistakenly overwritten
by the D3 size.

Fixes leaves animation in GOODBYE.DIR for Chop Suey.
2023-01-16 17:51:19 +01:00
Roland van Laar
59ef289138 DIRECTOR: LINGO: TESTS: Remove FileIO test for win
The windows specific test to open the FileIO XObject
doesn't test what it should test.
Since all lingo tests are ran as Mac D4.0.0 all the specific windows
checks aren't executed.
2023-01-16 15:25:27 +01:00
Misty De Meo
8f79e5ee6c
DIRECTOR: CAST: remove reference check 2023-01-15 14:43:50 -08:00
Misty De Meo
08406b4510 DIRECTOR: add SearchMan check 2023-01-15 23:32:06 +01:00
Misty De Meo
6af5e86a77 DIRECTOR: openMainArchive may be opening an EXE
This fixes Fukuoka-Go-Round, which ends up passing the main EXE as a movie
to (re)open at runtime instead of a movie. Without this, clicking back to
the main menu crashes the disc.
2023-01-15 23:32:06 +01:00
Misty De Meo
14d9189888
DIRECTOR: Sailor Moon Gengashuu 2023-01-15 09:49:30 -08:00
Roland van Laar
9f1facb221 DIRECTOR: LINGO: TESTS: open FileIO test for win
Guard agains bug where the path is stripped incorrectly for:

    `openXLib("C:\fileio.dll")`

The `.dll` part isn't stripped correctly when trying to open the files.
2023-01-14 13:40:45 +01:00
Walter Agazzi
08e0f64f50 DIRECTOR: Add detection for Sinkha digital novels
Bugreport #12911
2023-01-11 17:22:57 +01:00
Misty De Meo
29673407d4
DIRECTOR: full shinshofukei app 2023-01-10 23:12:34 -08:00
Misty De Meo
f1d3cc24a5
DIRECTOR: Spaceship Warlock Mac JPN 2023-01-10 20:54:06 -08:00
Scott Percival
7bd9eb1728 DIRECTOR: Fix visual regression in D3 with bitmap compression detection 2023-01-11 00:41:55 +01:00
Walter Agazzi
aae245cc94 DIRECTOR: Improve detection for some D4 entries
* Who killed Taylor French?  | * Nikolai Knights
* Nile Passage to Egypt | * Nixon Watergate
* Noddy Toy Town
2023-01-10 21:21:22 +01:00