Commit graph

344 commits

Author SHA1 Message Date
Paul Gilbert
c5c816eab8 GOT: Restrict eyeballs mode to only part 2 shovel maze 2025-03-21 20:19:58 -07:00
Paul Gilbert
0c5d73fd29 GOT: Properly reset everything pick-upable after starting new game 2025-03-21 20:10:30 -07:00
Paul Gilbert
2b003aaecb GOT: Fix flags getting reset after loading savegame 2025-03-21 19:51:27 -07:00
Strangerke
1e504b98bc GOT: Add NMIError to credits 2025-03-02 21:15:41 +01:00
Strangerke
dc24d54370 GOT: Add a safeguard to avoid a potential null dereferencing (CID 1589453) 2025-03-02 11:19:57 +01:00
Coen Rampen
a6a095716a GOT: Add music playback 2025-03-01 21:31:15 +01:00
Matthew Jimenez
1e99ce9d43 GRAPHICS: Use constexpr for palette constants 2025-02-26 11:11:43 +02:00
blowfist
0f338b21ae
GOT: Add eyeballs mode for chapter 2 shovel maze (#6451)
In chapter 2, there is a section where you enter in a pitch dark room
and Thor is replaced with eyeballs. This is all you can see while
you move around in the invisible maze to find the shovel.

This patch fully implements this mode and also adds these additional
related features :
	* bruised eye animation that happens after the shovel is
	  found, with Thor's face.
	* Saving and loading preserves the eyeball effect in
	  the room 105.
	* Thor's spinning animation takes the eyeballs mode in
	  consideration. Although the only way the user can
	  die in that room is to explicitely use the "die"
	  feature/command.

The original code was used as a guideline to implement this feature.
2025-02-23 08:46:30 +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
Paul Gilbert
2db6e2ffc8 GOT: Fix hard-coded flag references 2025-02-20 18:19:06 -08:00
Strangerke
62da6d657c GOT: Revert accidental change in f0bb3d51fa 2025-02-20 11:28:18 +01:00
Strangerke
f0bb3d51fa M4: Simplify memory allocation code, remove useless memory functions, remove unused file and access modes 2025-02-20 10:34:26 +01:00
Paul Gilbert
e6ea75c317 GOT: Properly don't draw shovel maze in part 2 2025-02-19 18:28:38 -08:00
Paul Gilbert
19a3968a48 GOT: Properly reset flags and area when restarting game from title screen 2025-02-16 21:35:09 -08:00
Strangerke
15d6b77c84 M4: RIDDLE: Modify the music parser to match the definition of the doc on moddingwiki 2025-02-13 01:21:56 +01:00
Paul Gilbert
5da9ba491f GOT: Add support for playing shareware version
Note that technically the shareware version has a different
splash screen that isn't implemented, plus it shows some
ordering screens on exit that likewise isn't supported.
2025-02-10 21:37:11 -08:00
Paul Gilbert
dfdcc4b3de GOT: Turn on build by default 2025-02-10 07:53:19 -08:00
Paul Gilbert
636a751c6d GOT: Mark detections as testing 2025-02-10 07:48:40 -08:00
Strangerke
3eb0b52ea3 GOT: Add some const, remove unused parameters from boss2CheckHit 2025-01-27 08:52:01 +01:00
Strangerke
5faba666ba GOT: Add some (disabled) code to dump music files 2025-01-26 11:01:21 +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
78354f11d6 GOT: Fix typo in variable name 2025-01-25 08:23:51 +01:00
Strangerke
0c9f074d72 GOT: Rewrite the sound code for the boss sounds as it wasn't working in the previous implementation (only partially tested, waiting to progress in a playthrough for a validation) 2025-01-25 08:19:07 +01:00
Strangerke
3801b1a30d GOT: Remove useless code in setupBoss, remove related global variables 2025-01-25 08:19:07 +01:00
Strangerke
4104d8718a GOT: More renaming in var.h (still WIP) 2025-01-24 06:41:50 +01:00
Strangerke
636bfaadc9 GOT: Remove several useless variables in var.h, fix "bugprone-branch-clone" warnings 2025-01-24 06:11:27 +01:00
Strangerke
9fd9a96e7c GOT: More renaming in vars.h 2025-01-23 23:03:06 +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
be65945699 GOT: Update copyright 2025-01-22 10:39:08 +01:00
Strangerke
adee10d0b4 GOT: More renaming in the Views folder 2025-01-22 04:36:56 +01:00
Strangerke
5526295267 GOT: More renaming 2025-01-21 22:58:24 +01:00
Strangerke
0f3990e13a GOT: Renaming in the gfx folder, remove some unused includes 2025-01-21 09:03:29 +01:00
Strangerke
687091e219 GOT: Finish renaming in the game sub-folder 2025-01-21 08:45:29 +01:00
Strangerke
d37b7918e1 GOT: Fix several issues reported by Coverity 2025-01-21 08:36:14 +01:00
Strangerke
982a747001 GOT: More renaming in shot_movement, shot_pattern and special_tile 2025-01-21 07:09:17 +01:00
Strangerke
3dc4ee2860 GOT: Renaming and small cleanups in object and script 2025-01-20 07:04:52 +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
D G Turner
0b3ee09ee4 GOT: Fix GCC Compiler Warning 2025-01-18 22:47:52 +00:00
Strangerke
3e66ccbe4b GOT: small refactoring, renaming in boss1 and boss2 2025-01-18 20:14:13 +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
Eugene Sandulenko
c589d628d5
JANITORIAL: Indetation fixes 2025-01-18 14:57:47 +01:00
Paul Gilbert
fd2dd9253f GOT: Add missing Skill Level dialog
Thanks for Strangerke pointing out I'd completely overlooked it.
2025-01-18 01:15:27 -08:00