Commit Graph
50 Commits
Author SHA1 Message Date
Donovan Watteau b978c7c2b6 GOT: Prefix _Z and _B defines to avoid OS clash
`_B` may already be defined in OpenBSD ctype.h, for example.
2025-04-14 11:38:13 +02:00
Strangerke 3eb0b52ea3 GOT: Add some const, remove unused parameters from boss2CheckHit 2025-01-27 08:52:01 +01:00
Strangerke a2f0db9840 GOT: remove more unused variables, renaming 2025-01-26 00:21:31 +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 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 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 3dc4ee2860 GOT: Renaming and small cleanups in object and script 2025-01-20 07:04:52 +01:00
D G Turner 0b3ee09ee4 GOT: Fix GCC Compiler Warning 2025-01-18 22:47:52 +00: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 2ebc6240e7 GOT: Rename Header and Level 2025-01-17 23:37:38 +01:00
Strangerke bad74a45c0 GOT: Start renaming ACTOR 2025-01-17 08:59:28 +01:00
Strangerke 2f3d4fa0d2 GOT: Move some code from header to source file, small cleanup 2025-01-16 23:22:32 +01:00
Strangerke f1c14cec16 GOT: small cleanup 2025-01-16 23:22:31 +01:00
Strangerke f52eff6b38 GOT: Fix PVS Studio issue (V769) in script 2025-01-16 07:28:14 +01:00
Strangerke 5e075ffefe GOT: Fix several PVS-Studio issues (V547, V522, V768, V557) in script 2025-01-15 23:29:32 +01:00
Strangerke c55ee04199 GOT: Fix various CppCheck issues 2025-01-14 08:31:02 +01:00
Strangerke db13f1a990 GOT: Fix out of range access to arrays is script, and 2 other small issues 2025-01-14 01:37:33 +01:00
Strangerke f02b714768 GOT: Join declaration and assignment when possible in script, shot_movement and shot_pattern 2025-01-12 18:11:27 +02:00
Strangerke c9c9f22705 GOT: Code formatting in script, shot_movement, shot_pattern and special_tile 2025-01-12 18:11:27 +02:00
Strangerke 9bbfd746df GOT: modify access to global arrays in 3 more source files 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 b3564a1d74 GOT: Janitorial for script.cpp 2025-01-12 18:11:27 +02:00
Paul Gilbert dc3e8055fb GOT: Cleaner implementation of bitflags & saving 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 81af9bd23d GOT: Implemented cmd_itemgive 2025-01-12 18:11:27 +02:00
Paul Gilbert c6a99b4093 GOT: Fixes for getting arrested 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 c3228c293c GOT: Simplify scrn load/saving 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 8b2f503361 GOT: Fix under-run error in script parser 2025-01-12 18:11:27 +02:00
Paul Gilbert debfe267f0 GOT: Renaming fields of Script class 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 b008c82d71 GOT: Fix Say dialog crash when talking to NPCs 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 4591c4e432 GOT: Compilation fixes 2025-01-12 18:11:27 +02:00
Paul Gilbert 20873350f8 GOT: Added Say dialog 2025-01-12 18:11:27 +02:00
Paul Gilbert d5e79f30e1 GOT: Adding Ask view for script-based queries 2025-01-12 18:11:27 +02:00
Paul Gilbert d14c5bec8b GOT: Add support for script parser to be paused
This will be used for opcodes like ASK, where it displays
a dialog prompting the user to pick an option. The script
parser will be paused when the dialog is shown, and then
resumed once the option is chosen.
2025-01-12 18:11:27 +02:00
Paul Gilbert 17dc5a72d2 GOT: Clean up constant arrays in script.cpp 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 c8701c98d5 GOT: Added lots of files 2025-01-12 18:11:27 +02:00