Commit Graph

83283 Commits

Author SHA1 Message Date
BLooperZ
0036ebe8df SAGA: support hebrew text rendering 2022-03-11 00:21:16 +02:00
neuromancer
9f87526f93 HYPNO: implemented basic saving and loading in wet 2022-03-10 20:58:56 +01:00
Walter Agazzi
8660bdcf75 AGS: Add detection/language for games U-Z 2022-03-10 19:38:39 +01:00
Roland van Laar
c223a8f883 Director: Remove framerate fallback
The framerate byte is now understood. A framerate byte of 0 means a
framerate of 3. Which is handled during framerate parsing.
The check for 0 is therefor redundant.
2022-03-10 17:50:24 +01:00
Roland van Laar
01e914d937 Revert "DIRECTOR: Buildbot to test for lightswitch bit"
This reverts commit 5709e19d98.
2022-03-10 17:44:16 +01:00
Roland van Laar
5709e19d98 DIRECTOR: Buildbot to test for lightswitch bit 2022-03-10 17:20:49 +01:00
Roland van Laar
20d2092045 DIRECTOR: Implement framerate 0x10
In Director 2 and 3 framerates are preset and referenced as: 0x0 to 0xF.
Some movies set a framerate of 0x10.

D2 and D3 interpret this as a framerate of 15.
Which was measured to be exactly the same as setting a framerate of 15.

In D4 it's shown as a framerate of 120.

Movies with a framerate of 0x10:
D2: DATA/WARLOCKSHIP/REUNION (spaceship warlock)
D4: ping.dir (chop suey)
2022-03-10 15:51:38 +01:00
sluicebox
1798fb5469 SCI32: Add detection entry for LSL6 Mac CD variant 2022-03-10 09:03:14 -05:00
Strangerke
b9f436ea86 CHEWY: Turn _tafName into a Common::String (fix coverity 1475961) 2022-03-09 23:01:41 +01:00
sluicebox
0ca9b1188b SCI: Saving from GMM now works on more Mac games 2022-03-09 16:23:26 -05:00
Strangerke
945030ae2c CHEWY: rework checks on TXT_MARK_LOOK in ats_get_txt (also fix coverity 1475955) 2022-03-09 22:17:07 +01:00
Strangerke
aa7e21d6c0 CHEWY: Fix coverity 1475951, 1475954 and 1475956 (out of bounds reads) 2022-03-09 21:38:41 +01:00
Roland van Laar
9142f4454f DIRECTOR: LINGO: Fix else statement
An else statement was missing to the if. All proper framerates < 16 were
generating warnings in buildbot.
2022-03-09 18:04:24 +01:00
Roland van Laar
b5fcdb561b DIRECTOR: LINGO: improve framerate handling
The framerate can be set to 1, 2 and 3 via the tempo channel.
These are the actual framerates, meaning 1 fps is 1 fps.
2022-03-09 17:35:59 +01:00
D G Turner
6d7663b1b1 AGS: Fix Redundant Declaration Warnings
These are emitted by GCC when -Wredundant-decls is passed.
2022-03-09 15:28:19 +00:00
D G Turner
f2cb975193 ICB: Fix Remaining Redundant Declaration Warning
This is emitted by GCC if -Wredundant-decls is passed.
2022-03-09 12:51:05 +00:00
D G Turner
5a7481141a DIRECTOR: Fix Redundant Declaration in Grammar Parser Code
This is emitted by GCC if -Wredundant-decls is passed.
2022-03-09 10:02:17 +00:00
D G Turner
600358f1cc HYPNO: Fix Redundant Declaration in Grammar Parser Code
This is emitted by GCC if -Wredundant-decls is passed.
2022-03-09 10:01:49 +00:00
D G Turner
6ac3d31f47 PRIVATE: Fix Redundant Declaration in Grammar Parser Code
This is emitted by GCC if -Wredundant-decls is passed.
2022-03-09 10:01:02 +00:00
Andrea Boscarino
c3ad8a5a94
SCUMM: DiMUSE: Add missing check for already loaded sound
The missing check can cause an issue in The Dig where the sound slots are being filled with the same sound file (background music) after causing a sequence of these two engine actions:
IMuseDigital::setDigMusicState(): Set music state: stateNoChange
IMuseDigital::setDigMusicState(): Set music state: <any valid state which corresponds to a loadable file>

As usual, thanks athrxx!
2022-03-09 09:33:34 +01:00
Strangerke
ddd632a051 CHEWY: More renaming 2022-03-09 09:12:51 +01:00
Torbjörn Andersson
51867690c4 SCUMM: Fix EGA Loom options in RTL mode
There is a special case for adjusting the padding in Widget::draw() that
is applied, among other things, to widgets whose name contains
"GameOptions". We want that special case to apply to the EGA Loom
options as well, so this is simply another renaming.

At some point, it would probably be a good idea for this special case to
go away.
2022-03-09 08:53:14 +01:00
Torbjörn Andersson
fe09c9ad4f SCUMM: Rename EGA Loom settings elements
Because if I constantly have to double-check which is which, even though
there are only three of them, I clearly made a mistake when I first
named them.
2022-03-09 08:35:22 +01:00
neuromancer
5aef420c43 HYPNO: refactored hard coded functions of wet 2022-03-08 20:30:53 +01:00
neuromancer
860cc60f1b HYPNO: added menu for level selection in wet 2022-03-08 20:30:53 +01:00
neuromancer
f725f3d8bf HYPNO: added difficulty selection in wet 2022-03-08 20:30:53 +01:00
Torbjörn Andersson
1212930938 SCUMM: Rename EgaLoomOptionsiWidget to LoomEgaOptionsWidget
This is ito be more consistent with LoomTownsDifficultyDialog.
2022-03-08 18:21:04 +01:00
Torbjörn Andersson
b5a93d9d67 SCUMM: Fix some more bugs with Loom replacement tracks
Don't try to update the _musicTimer in saveLoadWithSerializer(), because
we haven't yet loaded all of the savegame. Instead, do that in a new
restoreAfterLoad() method.

As an extra bonus, if an audio track was playing when the game was
saved, try to resume it from approximately that point.

Unfortunately, it turns out that _currentCDSound was not properly reset
when the song ended so loading a savegame made with an earlier version
of this feature may cause it to play music that it shouldn't. But that's
the kind of thing you should count on on the bleeding edge. Savegames
made after this change should be fine.
2022-03-08 11:19:39 +01:00
D G Turner
47e4c3c10c GLK: TADS: Fix Redundant Declarations
These cause GCC Warnings when -Wredundant-decls is passed.
2022-03-08 09:54:22 +00:00
D G Turner
a8cbc397af GLK: ALAN2: Fix Redundant Declarations
These cause GCC Warnings when -Wredundant-decls is passed.
2022-03-08 09:53:42 +00:00
D G Turner
43087f3a61 GLK: AGT: Fix Redundant Declarations
These warnings are reported by GCC if -Wredundant-decls is passed.
2022-03-08 06:46:56 +00:00
Paul Gilbert
a3ee505a61 CHEWY: Fix Howard not appearing when leaving house 2022-03-07 20:39:05 -08:00
Paul Gilbert
f99be29c16 CHEWY: Fix inventory look wrapping for paper stack 2022-03-07 19:54:55 -08:00
Filippos Karapetis
247074d92c CHEWY: Fix regression when using items 2022-03-08 03:23:41 +02:00
Filippos Karapetis
287f5d0217 CHEWY: Refactor and simplify keyboard key handling code 2022-03-08 01:34:11 +02:00
Filippos Karapetis
0dd48bf87a CHEWY: Remove unused palette save/load code 2022-03-08 00:59:13 +02:00
Filippos Karapetis
f2df7376b9 CHEWY: Move ssi out of globals.h and into atds.h 2022-03-08 00:47:10 +02:00
sluicebox
9f45ba1e59 SCI: Fix some SQ3 detection table flags 2022-03-07 17:06:17 -05:00
sluicebox
13fbaf794c SCI32: Fix QFG4 crashes when pressing direction keys
Now that we correctly pass direction key events to QFG4,
we need to patch the script bugs that they trigger.
These crashes also occur in the original game.

See: 1b4660a508
2022-03-07 17:06:17 -05:00
D G Turner
77a05a4d32 GLK: QUEST: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 20:24:37 +00:00
D G Turner
3fcd89c1ce GLK: JACL: Fix Redundant Declaration Warnings
These are emitted from GCC if -Wredundant-decls is enabled.
2022-03-07 20:23:15 +00:00
D G Turner
35438cde82 CHEWY: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 20:11:55 +00:00
D G Turner
6197a0da3d GRIM: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 19:57:34 +00:00
D G Turner
bee3506514 HDB: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 19:49:20 +00:00
D G Turner
027f85f612 ICB: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 19:43:11 +00:00
D G Turner
894813870e SAGA2: Fix Redundant Declaration Warnings
These warnings are generated by GCC if -Wredundant-decls is enabled.
2022-03-07 18:30:58 +00:00
D G Turner
b3f98810a2 SWORD25: Fix Redundant Declarations
These cause GCC Warnings when -Wredundant-decls is enabled.
2022-03-07 13:27:14 +00:00
Filippos Karapetis
1fbf587117 CHEWY: Renaming 2022-03-07 14:35:02 +02:00
Pragyansh Chaturvedi
34bc417d12
SCUMM: Fix bug #13196 - Invalid phrase with GIVE crashes Monkey EGA Demo
* SCUMM: Fix Invalid phrase with GIVE crashes Monkey Island EGA Demo
* SCUMM: Suggested changes on Pull #3731
* SCUMM: specify game id in Pull #3731
* SCUMM: seperated AMIGA monkey VGA and VGA Demo variants. Assigned GF_DEMO flags
2022-03-07 12:28:09 +02:00
D G Turner
c569f4b40d ULTIMA: Remove Redundant Declarations
These cause GCC Warnings when -Wredundant-decls is enabled.
2022-03-07 10:20:55 +00:00