Commit graph

56 commits

Author SHA1 Message Date
Paul Gilbert
2b003aaecb GOT: Fix flags getting reset after loading savegame 2025-03-21 19:51:27 -07:00
Coen Rampen
a6a095716a GOT: Add music playback 2025-03-01 21:31:15 +01:00
blowfist
f147f4af4c
GOT: Fix the starting armor for area > 1 (#6448)
* GOT: Fix the starting armor for area > 1

* GOT: Fix armor state during game loads
2025-02-23 08:45:03 +01:00
Strangerke
6ad27a3268 GOT: finish renaming stuff in vars.h 2025-01-26 09:17:50 +01:00
Strangerke
a2f0db9840 GOT: remove more unused variables, renaming 2025-01-26 00:21:31 +01:00
Strangerke
a703f0c959 GOT: remove bomb_flag, more renaming in global vars 2025-01-25 08:58:45 +01:00
Strangerke
9628f7f9f9 GOT: Remove another useless variable, renaming 2025-01-25 08:49:54 +01:00
Strangerke
df3008752f GOT: Remove residual code related (in the original code) to use_hourglass() 2025-01-25 08:42:28 +01:00
Strangerke
4104d8718a GOT: More renaming in var.h (still WIP) 2025-01-24 06:41:50 +01:00
Strangerke
9a5374898f GOT: Check _slowMode usage, simplify some checks on keyFlag 2025-01-23 08:55:33 +01:00
Strangerke
47e2e347e2 GOT: Some renaming in vars.h (WIP) 2025-01-23 08:43:02 +01:00
Strangerke
97a3f61fc3 GOT: Rename sound, some cleanup 2025-01-22 10:39:08 +01:00
Strangerke
0f3990e13a GOT: Renaming in the gfx folder, remove some unused includes 2025-01-21 09:03:29 +01:00
Strangerke
7f64ddfbb1 GOT: renaming and constness in game and views folders, add some missing default cases in switches 2025-01-19 10:21:58 +01:00
Strangerke
27573e74fa GOT: Renaming in boss3, init, main 2025-01-19 01:43:41 +01:00
Strangerke
4a1c737a7f GOT: Some more renaming 2025-01-18 18:21:20 +01:00
Strangerke
53cf022b62 GOT: Small refactoring in Setup, start renaming thor_info 2025-01-18 18:20:15 +01:00
Strangerke
9a681b3ada GOT: Rename Setup members 2025-01-18 08:24:26 +01:00
Strangerke
2ebc6240e7 GOT: Rename Header and Level 2025-01-17 23:37:38 +01:00
Strangerke
2b9156ed45 GOT: Turn two members to boolean in Actor, remove an unused one 2025-01-17 22:40:36 +01:00
Strangerke
bad74a45c0 GOT: Start renaming ACTOR 2025-01-17 08:59:28 +01:00
Strangerke
daf07e95af GOT: Fix PVS-Studio issues in got.cpp (V562) 2025-01-15 23:42:14 +01:00
Strangerke
fda732830d GOT: Remove some useless includes, format remaining code 2025-01-13 22:39:21 +01:00
Strangerke
b8fe361e47 GOT: Fix handling of slow_mode and _setup.speed 2025-01-13 12:32:17 -08:00
Strangerke
d2639d4e72 GOT: more work n vars.h - Remove unused variables, more work on booleans 2025-01-12 18:11:27 +02:00
Paul Gilbert
59abcd5176 GOT: Janitorial provided by eientei 2025-01-12 18:11:27 +02:00
Paul Gilbert
ea3845e87c GOT: Adding HighScores class 2025-01-12 18:11:27 +02:00
Paul Gilbert
b51f535e54 GOT: Implement shield magic 2025-01-12 18:11:27 +02:00
Paul Gilbert
cd42ea6fb7 GOT: Hooking up part 3 boss and game logic 2025-01-12 18:11:27 +02:00
Paul Gilbert
7b9a9cf67d GOT: Loading, correct area must be set before sd_data loaded 2025-01-12 18:11:27 +02:00
Paul Gilbert
483257d9a0 GOT: Yet more can save fixes 2025-01-12 18:11:27 +02:00
Paul Gilbert
acb2013a57 GOT: More magic disablement after using Ctrl+F5 2025-01-12 18:11:27 +02:00
Paul Gilbert
4a530c7e25 GOT: Fix saving yet again
Lightning power gets triggered by Ctrl key, so using Ctrl+F5
to open GMM requires turning the triggered mode off
2025-01-12 18:11:27 +02:00
Paul Gilbert
d7fdfe6252 GOT: Throw lightning implemented 2025-01-12 18:11:27 +02:00
Paul Gilbert
a0f7887884 GOT: Workaround for Ctrl+F5 triggering indefinite magic
The Left Control key is mapped by default to use magic
so long as it's held down. Unfortunately, Ctrl+F5 is
also the key for the GMM. I was having issues with,
for example, opening the GMM and loading a savegame
where the end action for magic wouldn't fire, and it
would keep draining magic away. Now, I use the
pauseEngineIntern to explicitly disable all key flags
when the GMM is opened, ensuring magic is turned off.
2025-01-12 18:11:27 +02:00
Paul Gilbert
a72628e20c GOT: Fix loading savegames directly from launcher 2025-01-12 18:11:27 +02:00
Paul Gilbert
1454c1bba5 GOT: Startup cleanups for going in-game demo vs non-demo 2025-01-12 18:11:27 +02:00
Paul Gilbert
a7e9e78cbc GOT: Startup/save fixes for demo mode 2025-01-12 18:11:27 +02:00
Paul Gilbert
f4fa535677 GOT: Be more permissive for loading than for saving 2025-01-12 18:11:27 +02:00
Paul Gilbert
4e0d3d98b8 GOT: Include player name in ScummVM savegames 2025-01-12 18:11:27 +02:00
Paul Gilbert
9d9cb5a573 GOT: Opening title, sound, and escape action 2025-01-12 18:11:27 +02:00
Paul Gilbert
c8476b51b7 GOT: Sound/music toggle dialogs 2025-01-12 18:11:27 +02:00
Paul Gilbert
a2b084b73d GOT: Fixes for savegame loading 2025-01-12 18:11:27 +02:00
Paul Gilbert
f2dd139e74 GOT: Hooking up savegame loading 2025-01-12 18:11:27 +02:00
Paul Gilbert
b83e3abb0e GOT: Added Thor death animation 2025-01-12 18:11:27 +02:00
Paul Gilbert
4177952ff8 GOT: Move game mode enum/value into global vars 2025-01-12 18:11:27 +02:00
Paul Gilbert
8a3a368532 GOT: Beginnings of select item dialog 2025-01-12 18:11:27 +02:00
Paul Gilbert
8c99d99f0e GOT: Further savegame loading code 2025-01-12 18:11:27 +02:00
Paul Gilbert
54f629fc68 GOT: Adding console load command 2025-01-12 18:11:27 +02:00
Paul Gilbert
848f9d104b GOT: Setting up sync methods for classes stored in savegames 2025-01-12 18:11:27 +02:00