sotn-decomp/include
bismurphy 80d9bd8cc5
Refactor some stuff with subweapons (#1702)
Primary goal here was to eliminate `ext.generic.unkB0`. It turns out
that the only entity that reaches up into this unkB0 region is the
Subweapon entity.

I went through and changed these all to `ext.subweapon.subweaponId`, but
also did some analysis on all the uses to make sure this was an accurate
change to make.

Other highlights:

- Naming CheckSubwpnChainLimit and its RIC counterpart
- Moving the RIC version of that function to the next file, split makes
more sense this way.
- Made both versions of that function `static`
- renamed subweapondef's unk6 to be chainLimit
- Changed g_unkGraphicsStruct.unk0 to be called `pauseEnemies`. It's
true when the stopwatch subweapon is used, and in cutscenes. Found this
due to looking at the stopwatch subweapon setting this value. Also made
it a bool since it's only ever used as a bool.
- Added some playersteps enum uses where they were still using hex
values
- Studied RicEntityStopwatchCrashLightning in order to give it that name

I think that's about it. Overall just some modest cleanup, but continues
to make the game code more readable.
2024-09-30 21:19:51 +01:00
..
psxsdk Decompile remaining functions in libgte reg03.c (#1599) 2024-09-13 10:39:42 -07:00
saturn Decompile func_06010008 (#366) 2023-07-17 21:22:21 +01:00
bios.h Replace BIOS Trampolines (#1133) 2024-05-17 08:45:26 +01:00
common.h RIC blueprint docs (#1577) 2024-09-07 01:29:56 +01:00
cutscene.h Extract cutscene scripts, portraits and normalize code (#1686) 2024-09-28 19:56:35 -07:00
disk.h Decompile PrologueScroll (#1358) 2024-06-27 19:52:31 -07:00
entity.h Refactor some stuff with subweapons (#1702) 2024-09-30 21:19:51 +01:00
game.h Refactor some stuff with subweapons (#1702) 2024-09-30 21:19:51 +01:00
gte.inc Update splat (#247) 2023-06-12 06:04:25 +01:00
include_asm.h Add BOSS/MAR.BIN (#1608) 2024-09-15 21:49:56 +01:00
items.h Add AGPL license (#1565) 2024-09-06 16:14:55 -04:00
lba.h Add AGPL license (#1565) 2024-09-06 16:14:55 -04:00
log.h Update clang-format as self-contained binary (#1257) 2024-06-04 21:07:50 +01:00
macro.inc Use allegrex assembler for PSP (#1424) 2024-07-22 15:36:28 -04:00
main.inc Upload disassembly 2022-01-02 13:35:44 +00:00
memcard.h Add AGPL license (#1565) 2024-09-06 16:14:55 -04:00
objects.h MAD quick matches (#1287) 2024-06-08 23:02:00 +01:00
player.h Update clang-format as self-contained binary (#1257) 2024-06-04 21:07:50 +01:00
primitive.h Decompile EntityMariaCutscene of boss/mar (#1649) 2024-09-22 10:20:23 +01:00
servant.h Decompile-func_us_80171864 (#1692) 2024-09-29 21:27:15 -07:00
settings.h Update clang-format as self-contained binary (#1257) 2024-06-04 21:07:50 +01:00
sfx.h More sfxIDs (#1665) 2024-09-24 09:45:53 -07:00
stage.h Move Some cen Data to Logical Compile Unit (#1492) 2024-08-09 10:30:12 +01:00
types.h Enable spu init (#1344) 2024-06-19 09:37:07 -07:00
unkstruct.h Refactor some stuff with subweapons (#1702) 2024-09-30 21:19:51 +01:00
weapon.h Decompile w58 (Alucart Shield) Shield Spell (#1439) 2024-07-26 19:13:51 +01:00