Matthew Jimenez
1e99ce9d43
GRAPHICS: Use constexpr for palette constants
2025-02-26 11:11:43 +02:00
Paul Gilbert
a289184b49
M4: RIDDLE: Minor cleanup of autosave
2025-01-29 18:49:24 -08:00
Paul Gilbert
7330b83396
M4: RIDDLE: Introduction is now completable
...
There seems to be an underlying issue with ws_walk at the
Odditorium that sees Ripley not fully reach the door. In this
scene, Mei also disappears, but I checked and that actually
happens in the original as well.
2024-10-13 12:24:06 -07:00
Paul Gilbert
cc6ecc9b3b
M4: RIDDLE: Add support for room specific savegame fields
...
Now it makes sense why all the rooms share the same memory
for temporary values. In Riddle, the savegame saves out this
memory block (Orion Burger doesn't). And in room 303,
for example, there's a flag for whether Feng Li should be
positioned at the left or right side of the room. It's only
set when the room is entered, and is persistent across saves.
It'd obviously become a major chore to support saving all the
fields in all the rooms, since in ScummVM each room class has
it's own separate fields. So as a compromise, I've added a Room
class syncGame method that individual rooms can override to
save critical fields to, on a case by case basis. So room 303
will just save out the _fengFlag flag, for example.
2024-10-13 09:34:02 -07:00
Paul Gilbert
0caa1711db
M4: Added syncSoundSettings method
2024-03-13 20:17:48 -07:00
Matthew Jimenez
5219c99400
GRAPHICS: Move PaletteManager definition to a separate header
2024-03-12 12:24:00 +02:00
Paul Gilbert
b5e47c8237
M4: Fix crashes opening dialogs from original game dialog
2024-02-24 11:09:59 -08:00
Paul Gilbert
fa10facb6e
M4: Add syncSoundSettings to engine initialization
2024-02-24 11:09:59 -08:00
Paul Gilbert
da5c1d33ed
M4: Implement saving from original save menu
2024-01-18 22:22:17 -08:00
Paul Gilbert
dee1a2fa9b
M4: Load dialog now showing ScummVM thumbnails
2024-01-18 21:11:41 -08:00
Paul Gilbert
1370071293
M4: Remove unused _screen global
2024-01-18 20:02:29 -08:00
Paul Gilbert
072355f870
M4: Fixes for crashes in Load menu
2024-01-18 19:27:29 -08:00
Paul Gilbert
fff714de9d
M4: Add better detection for non interactive Burger demo
2024-01-14 15:17:14 -08:00
Paul Gilbert
a3b65c812a
M4: Fix Burger demo startup
2024-01-12 18:38:14 -08:00
Paul Gilbert
219a3aefcc
M4: Add sub-directory scanning to properly detect Burger demo
2024-01-12 18:21:13 -08:00
Paul Gilbert
7648fd346f
M4: Beginnings of derived console class for Orion Burger
2023-12-23 23:01:22 -10:00
Paul Gilbert
0419b95287
M4: Resolving outstanding TODOs
2023-12-24 01:53:38 +01:00
Paul Gilbert
35bc3d1d52
M4: Hook up the ScummVM save/load dialogs
...
The engine has tenative code in place for original savegame
dialogs, but it's not yet working correctly.
2023-12-24 01:53:38 +01:00
Paul Gilbert
e9bb9c543c
M4: Added savegame version number
2023-12-24 01:53:38 +01:00
Paul Gilbert
f88fad64ef
M4: More Old Bridge fixes
2023-12-24 01:53:38 +01:00
Paul Gilbert
61ebfb2013
M4: Remove duplicate RESTORING_GAME constant
2023-12-24 01:53:38 +01:00
Paul Gilbert
e196872c38
M4: Implement InitializeSlotTables
2023-12-24 01:53:38 +01:00
Paul Gilbert
77c3a7c584
M4: Fix resuming game from main menu
2023-12-24 01:53:38 +01:00
Paul Gilbert
f1c70d7678
M4: RIDDLE: Savegame fix for game/kernel structure
2023-12-24 01:53:38 +01:00
Paul Gilbert
e1d5325a00
M4: game structure save differences for Riddle
2023-12-24 01:53:38 +01:00
Paul Gilbert
30811806ad
M4: In progress making savegame data match original
2023-12-24 01:53:38 +01:00
Paul Gilbert
2a96a63e8e
M4: Handle original save files outer file structure
2023-12-24 01:53:38 +01:00
Paul Gilbert
ae41287b2c
M4: Fixes for loading savegames
2023-12-24 01:53:38 +01:00
Paul Gilbert
7a8ac084d4
M4: Remove unused platform/sound.cpp
2023-12-24 01:53:38 +01:00
Paul Gilbert
b1a90c95e6
M4: RIDDLE: Fix accessing HAS file
2023-12-24 01:53:38 +01:00
Paul Gilbert
d1b26bfa99
M4: Hooked up console and added room command
2023-12-24 01:53:38 +01:00
Paul Gilbert
9e96f96e26
M4: Implementing basic action hotkey callbacks
2023-12-24 01:53:38 +01:00
Paul Gilbert
a7d940bbf5
M4: Added room 903 content
2023-12-24 01:53:38 +01:00
Paul Gilbert
521df4594c
M4: Implement changes for kernel_timing_trigger
2023-12-24 01:53:38 +01:00
Paul Gilbert
78104eea81
M4: Rename Burger GlobalVars to Flags
2023-12-24 01:53:38 +01:00
Paul Gilbert
e45e9b9f14
M4: Move the GlobalVars class to be in Burger namespace
...
There's some confusion in the outer M4 namespace, with
it having two global arrays. On review, it seems like
one of them was pretty much all Burger-specific apart
from in the saving code, so I'm moving it to
avoid long term confusion
2023-12-24 01:53:38 +01:00
Paul Gilbert
78330f24fb
M4: Fix closing down ScummVM
2023-12-24 01:53:38 +01:00
Paul Gilbert
6ec55d332e
M4: Remaining room 951 switch cases
2023-12-24 01:53:38 +01:00
Paul Gilbert
5398627229
M4: More switch cases for rooim 951
2023-12-24 01:53:38 +01:00
Paul Gilbert
66189df231
M4: Set kernel.going to enter inflight loop
2023-12-24 01:53:38 +01:00
Paul Gilbert
aceeb68f64
M4: More main inflight loop
2023-12-24 01:53:38 +01:00
Paul Gilbert
c6f2e79718
M4: Added scaling methods
2023-12-24 01:53:38 +01:00
Paul Gilbert
1836a2c3c9
M4: Added game_control_cycle
2023-12-24 01:53:38 +01:00
Paul Gilbert
9364fffa74
M4: More scene/room startup
2023-12-24 01:53:38 +01:00
Paul Gilbert
e5e3fd6f70
M4: Adding section preload code
2023-12-24 01:53:38 +01:00
Paul Gilbert
c3ee5acc5c
M4: Skeleton section/room classes
2023-12-24 01:53:38 +01:00
Paul Gilbert
7aa98e56ac
M4: Added inventory list sync
2023-12-24 01:53:38 +01:00
Paul Gilbert
47ed56069e
M4: Added conv data syncing
2023-12-24 01:53:38 +01:00
Paul Gilbert
fc50e95070
M4: Add syncing of player_been
2023-12-24 01:53:38 +01:00
Paul Gilbert
51ee74786b
M4: Change existingi Globals class to Vars class
...
The M4 engine has it's own globals array and constants,
so it was cleaner to have it remain as Globals, and change
the ScummVM Globals class to Vars to disambiguate it
2023-12-24 01:53:38 +01:00