mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-10-07 02:24:01 +00:00
80d9bd8cc5
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. |
||
---|---|---|
.. | ||
psxsdk | ||
saturn | ||
bios.h | ||
common.h | ||
cutscene.h | ||
disk.h | ||
entity.h | ||
game.h | ||
gte.inc | ||
include_asm.h | ||
items.h | ||
lba.h | ||
log.h | ||
macro.inc | ||
main.inc | ||
memcard.h | ||
objects.h | ||
player.h | ||
primitive.h | ||
servant.h | ||
settings.h | ||
sfx.h | ||
stage.h | ||
types.h | ||
unkstruct.h | ||
weapon.h |