Commit Graph

153301 Commits

Author SHA1 Message Date
Scott Percival
4d438a808d DIRECTOR: LINGO: Track all arguments to a function, even unnamed
Fixes the collision detection in Jungle Park.
2024-07-07 22:11:03 +02:00
Scott Percival
23a6f49e74 DIRECTOR: LINGO: Lists WIP 2024-07-07 22:11:03 +02:00
Scott Percival
b7d55c157d DIRECTOR: XOBJ: Have FileIO XObject return error codes from constructor
Fixes crash when loading the config file for Jungle Park.
2024-07-07 22:11:03 +02:00
Scott Percival
e96bdca165 DIRECTOR: Persist sprite dimensions when _stretched flag is set
Fixes most of the character and diorama animations in Jungle Park.
2024-07-07 22:11:03 +02:00
Scott Percival
6cf9272bbf DIRECTOR: XOBJ: Add modded version of MoveMouse from Jungle Park 2024-07-07 22:11:03 +02:00
Scott Percival
97f0c94a17 DIRECTOR: Add nikolaipharaohs to detection table 2024-07-07 22:11:03 +02:00
Scott Percival
079e86c3d5 DIRECTOR: LINGO: Fix behaviour of c_procret
c_procret is equivalent to the "exit" command in Lingo, and must
clear any new stack items. The proper way to return values is with
b_return.

Fixes start sequence in Gus Goes to CyberStone Park.
2024-07-07 22:11:03 +02:00
AndywinXp
5924b3810b SCUMM: HE: Fix file handling opcodes issues
Unsurprisingly SPUTM handles files via integer file
handles, instead of SeekableStream objects :-P
This means that scripts can (and will!) occasionally
send out a -1 file handle which means that:
- Write operations will result in NOP
- Read operations will result in reading the value 0

Closes #13863:

"SCUMM/HE: Blue's Treasure Hunt - Breakout
Minigame Editor crashes the program"

This game was trying to open the -1 file handle,
and therefore it crashed while trying to access
position -1 in our array of file streams :'(
2024-07-07 17:51:51 +02:00
Filippos Karapetis
eca3f1f6df DGDS: Implement option toggle buttons 2024-07-07 17:38:53 +03:00
Filippos Karapetis
2ad5cf099e DGDS: Add more globals for HoC 2024-07-07 17:38:53 +03:00
SupSuper
3a0d79dedd CREATE_PROJECT: Fix compiler error 2024-07-07 13:15:36 +01:00
SupSuper
9147a8ad99 CREATE_PROJECT: Check IMGUI feature dependencies 2024-07-07 13:09:31 +01:00
Filippos Karapetis
34b9afb6db DGDS: Add "global" command to console, to debug globals 2024-07-07 14:22:19 +03:00
SupSuper
306d3fb2f6 DIRECTOR: Fix uninitialized variable 2024-07-07 12:19:01 +01:00
SupSuper
2e8a2a841f DIRECTOR: Fix truncation of double to float 2024-07-07 12:18:36 +01:00
Filippos Karapetis
5ce61cc982 DGDS: Hide the intro skip menu when jumping to the main game 2024-07-07 13:33:27 +03:00
Filippos Karapetis
5cb955e34e DGDS: Add character-related globals for HoC 2024-07-07 13:33:27 +03:00
Lothar Serra Mari
6b38f74ae8 I18N: Update translation (German)
Currently translated at 92.9% (2123 of 2284 strings)
2024-07-07 10:20:33 +00:00
Einar Johan Trøan Sømåen
d099ff71dc
CREATE_PROJECT: Add ImgUi support in create_project 2024-07-07 10:17:20 +02:00
AndywinXp
fc5c3dbe21 SCUMM: DIG: Add detection for Super Sampler Demo
This demo does NOT use the "demo" flag, as it has to
use the final version of the engine and its subsystems.
2024-07-07 09:17:00 +02:00
AndywinXp
4bb2ef46fc SCUMM: HE: Add detection for early version of AIRPORT
This comes from a first press of the game named:
"The Airport - Junior Field Trips"
Reported by PaulPfenning-
2024-07-07 09:00:17 +02:00
Matthew Duggan
ec8a35dc5d DGDS: Update TTM opcodes slightly 2024-07-07 16:37:09 +10:00
Matthew Duggan
76a2745922 DGDS: Small cleanups 2024-07-07 16:35:58 +10:00
Matthew Duggan
e3b13b3c62 DGDS: Remove unused variable 2024-07-07 16:35:05 +10:00
Matthew Duggan
e1d41e84cc DGDS: Fix compile error from bad merge 2024-07-07 16:20:18 +10:00
ScummVM-Translations
850b2dc4ef I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2024-07-07 06:16:52 +00:00
Matthew Duggan
eeecc8dc5b DGDS: Add various heart of china features
Most dialogs now render correctly and the game is partly playable.  Still a
bunch of work to do for inventory and menus to render correctly.

Added loading for TDS (talking head) data structures too, but they are not yet
used.
2024-07-07 16:15:30 +10:00
Matthew Duggan
71bd37ece7 DGDS: Add detection for another willy beamish demo 2024-07-07 16:12:51 +10:00
ScummVM-Translations
8cf77f1c09 I18N: Update translations templates 2024-07-07 06:01:14 +00:00
sluicebox
ed8682dfba SCI: Fix issues with SCI16 save/restore UI patching
Game object save methods were being patched out by default, while
their restore methods weren't. This suppressed some game-specific
behavior and created a mismatch that could corrupt saves.

- PEPPER saves at start of game no longer crash
- KQ5 FM Towns now works with ScummVM restore UI
- LSL6 auto save timer no longer launches ScummVM save UI
- QFG3 no longer requires special handling

Fixes bug #15212
2024-07-06 22:57:41 -07:00
Filippos Karapetis
9e1fd0e70b DGDS: Hook up the jump to game button for HoC, in the intro skip menu 2024-07-07 05:30:55 +03:00
Filippos Karapetis
5da28d3549 DGDS: Add another global for HoC 2024-07-07 05:26:29 +03:00
Filippos Karapetis
d308c4cbae DGDS: Split game-specific globals 2024-07-07 03:27:39 +03:00
Filippos Karapetis
679e34ca70 DGDS: Remove unnecessary casts for game globals 2024-07-07 03:27:39 +03:00
Filippos Karapetis
3e6f6b7fae DGDS: Rename game IDs to match the internal game names 2024-07-07 03:27:38 +03:00
AndywinXp
67705a216e SCUMM: HE: Remove accidental debug code 2024-07-06 21:59:35 +02:00
AndywinXp
9a4b75c4db SCUMM: Remove whitespace 2024-07-06 21:14:20 +02:00
AndywinXp
4353765c32 SCUMM: HE: Relabel and clean-up arrays subsystem
I wanted to do this for a very long time. This is helping me
debugging some very hard to understand remaining bugs
on some SCUMM HE games.

I tested this for several hours with several games,
including Moonbase and some Backyard games
ensuring there were no obvious regressions.
2024-07-06 21:12:04 +02:00
Filippos Karapetis
a32db8c396 DGDS: Fix ordering of globals 2024-07-06 22:00:55 +03:00
Filippos Karapetis
edcf052896 DGDS: More work on menus (intro and options) for HoC and Beamish 2024-07-06 21:59:53 +03:00
Filippos Karapetis
6615b64451 DGDS: Enable the HoC start intro opcode
It still doesn't work, but it can aid in debugging
2024-07-06 21:58:27 +03:00
Filippos Karapetis
998a1af483 DGDS: Add another global for HoC 2024-07-06 21:52:32 +03:00
Filippos Karapetis
d6bc7eb5cf DGDS: Add new game globals for HoC and Beamish 2024-07-06 18:15:38 +03:00
Filippos Karapetis
4962920694 DGDS: Fix reading mouse hotspots
The functions that were passed to the constructor would not be called
in the order that they appear, causing the hotspot list to be initialized
incorrectly

This is the same fix as the one applied for per-scene globals in b2e6bc545a
2024-07-06 17:50:14 +03:00
Filippos Karapetis
3a0ecdb2f7 DGDS: Add safeguards against undefined behavior in scene globals
Guard against potential cases where a scene global isn't correctly
set, and we fall back to game globals. This essentially resulted in
undefined behavior, so now we properly try to handle such cases, or
error out to detect potential game-breaking bugs
2024-07-06 17:40:05 +03:00
Filippos Karapetis
8459c6f277 DGDS: Fix reading per-scene globals
The functions that were passed to the constructor would not be called
in the order that they appear, causing the globals list to be initialized
incorrectly
2024-07-06 17:40:05 +03:00
Walter Agazzi
5ddc825c2c XEEN: Add detection entries for non-interactive demos
Fix #15200
2024-07-06 16:15:16 +02:00
Walter Agazzi
d2034010d4 GLK: Add detection entries for new releases
Reported on TRAC
2024-07-06 11:22:01 +02:00
Cameron Cawley
b0707aeb34 TITANIC: Use ADGF_NO_FLAGS instead of 0 in detection entries 2024-07-06 08:03:32 +03:00
Cameron Cawley
10eb8e96c0 SCI: Use ADGF_NO_FLAGS instead of 0 in detection entries 2024-07-06 08:03:32 +03:00