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
3eb0b52ea3
GOT: Add some const, remove unused parameters from boss2CheckHit
2025-01-27 08:52:01 +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
4104d8718a
GOT: More renaming in var.h (still WIP)
2025-01-24 06:41:50 +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
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
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
0dd4345e41
GOT: Refactor use_shield to remove a useless flag (PVS-Studio V547)
2025-01-15 09:08:52 +01:00
Strangerke
15d7f29f5a
GOT: Fix 2 PVS-Studio issues (V1037) in move_patterns, refactor movement_forty (fixes a PVS-Studio V1048)
2025-01-15 09:04:24 +01:00
Strangerke
f8d6222b2c
GOT: After a check in the original sources, remove two useless checks in mov_patterns
2025-01-15 07:45:59 +01:00
Strangerke
de8f789902
GOT: Fix several CppCheck issues in move_patterns
2025-01-14 00:30:45 +01:00
Strangerke
58f88bcf29
GOT: Remove the obsolete panel.h
2025-01-13 12:32:16 -08:00
D G Turner
a16a36e47d
GOT: Fix Various GCC Compiler Warnings
2025-01-12 20:09:44 +00:00
Strangerke
807e103261
GOT: Some more cleanup in move and move_patterns
2025-01-12 18:11:27 +02:00
Strangerke
a44be565ae
GOT: Code formatting in move and move_patterns
2025-01-12 18:11:27 +02:00
Strangerke
14df0afe1a
GOT: modify access to global arrays in move and move_patterns to avoid formatting issues
2025-01-12 18:11:27 +02:00
Strangerke
370c72e268
GOT: Some cleanup in move_patterns()
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
0fd2b98620
GOT: Some more work on booleans in vars.h
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
cd42ea6fb7
GOT: Hooking up part 3 boss and game logic
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
146274c587
GOT: Implement part 2 slipping movement
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
7ae8ce87ca
GOT: Flying console command
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
ba58536de0
GOT: Move the fire/select actions to Game view msgAction
2025-01-12 18:11:27 +02:00
Paul Gilbert
dd3542fb14
GOT: Thor and enemy are moving!
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
dc6b1724ed
GOT: Change key variables into an enum
2025-01-12 18:11:27 +02:00