Commit Graph
50 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
Coen Rampen a6a095716a GOT: Add music playback 2025-03-01 21:31:15 +01: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
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 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 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 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
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
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 4f04ead64d GOT: Rename Actor class, remove padding fields 2025-01-17 09:09:18 +01:00
Strangerke bad74a45c0 GOT: Start renaming ACTOR 2025-01-17 08:59:28 +01:00
Strangerke c4b52862e8 GOT: Fix PVS-Studio issue (V519), remove everal GOTOs, fix erroneously reported uninitialized member 2025-01-15 07:45:59 +01:00
Strangerke f29d7099d7 GOT: fix several CppCheck issues in setup, events, back and boss2 2025-01-13 23:50:36 +01:00
Strangerke 58f88bcf29 GOT: Remove the obsolete panel.h 2025-01-13 12:32:16 -08:00
Strangerke b94e80a198 GOT: code formatting in back and boss1 2025-01-12 18:11:27 +02:00
Strangerke 943918a029 GOT: Modify access to global arrays in back.cpp and boss1.cpp 2025-01-12 18:11:27 +02:00
Strangerke d2639d4e72 GOT: more work n vars.h - Remove unused variables, more work on booleans 2025-01-12 18:11:27 +02:00
Strangerke 99302bd8e9 GOT: Reduce some variable scopes (CppCheck), enforce the use of boolean with play_sound() 2025-01-12 18:11:27 +02:00
Paul Gilbert 2e578f8c83 GOT: Removed unneeded arrays, variables assigned to themselves 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 c91e38ddb3 GOT: Janitorial 2025-01-12 18:11:27 +02:00
Paul Gilbert 3f7c7b4e19 GOT: Various endgame fixes 2025-01-12 18:11:27 +02:00
Paul Gilbert ff48ca3c7d GOT: Hooking up boss 2 logic 2025-01-12 18:11:27 +02:00
Paul Gilbert e8989c6845 GOT: Fix adding dynamic objects and displaying them
This fixes a bug where digging with the shovel wasn't
displaying the resulting objects, so the Hypno-Stone
couldn't be obtained.
2025-01-12 18:11:27 +02:00
Paul Gilbert 146274c587 GOT: Implement part 2 slipping movement 2025-01-12 18:11:27 +02:00
Paul Gilbert c3228c293c GOT: Simplify scrn load/saving 2025-01-12 18:11:27 +02:00
Paul Gilbert 38e6cb1d6a GOT: Kill Thor if spiked by a stake 2025-01-12 18:11:27 +02:00
Paul Gilbert ba1ee75b19 GOT: Hooking up boss 1 logic 2025-01-12 18:11:27 +02:00
Paul Gilbert e39e3e9e12 GOT: Fix object_name field for loaded savegames 2025-01-12 18:11:27 +02:00
Paul Gilbert d82cc58cfc GOT: Callbacks for script ending 2025-01-12 18:11:27 +02:00
Paul Gilbert d0b2e0fb84 GOT: Implement phased scene transitions 2025-01-12 18:11:27 +02:00
Paul Gilbert b008c82d71 GOT: Fix Say dialog crash when talking to NPCs 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 4591c4e432 GOT: Compilation fixes 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 e2b7cbd035 GOT: Adding in script parser 2025-01-12 18:11:27 +02:00
Paul Gilbert 1d11468a14 GOT: Encapsulate sd data as it's own class 2025-01-12 18:11:27 +02:00
Paul Gilbert c8701c98d5 GOT: Added lots of files 2025-01-12 18:11:27 +02:00
Paul Gilbert 6b4ecbf61e GOT: More level setup 2025-01-12 18:11:27 +02:00
Paul Gilbert 6fa83a28f9 GOT: In progress enemies loading 2025-01-12 18:11:27 +02:00