mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-10-07 02:24:01 +00:00
d638afdb49
I'm going through to find uses of Multi structs and remove them since they are bloated. ObjInit2 was using a Multi16 on its unk4 member. Surprisingly, there was no ObjInit already, so I made the following changes: 1. ObjInit2 is renamed to ObjInit, and uses a u16 in its unk4 position. Since this gets assigned to unk5A in an entity, it's called unk5A (we should really figure out what Entity.unk5A is...) 2. We create a NEW ObjInit2 which instead splits up unk4 into the two fields of facingLeft and unk5A. This version is very rarely used in the repo. 3. We cleanup some init data which is used as the new ObjInit2 struct. |
||
---|---|---|
.. | ||
psxsdk | ||
saturn | ||
bios.h | ||
common.h | ||
disk.h | ||
entity.h | ||
game.h | ||
gte.inc | ||
include_asm.h | ||
items.h | ||
lba.h | ||
log.h | ||
macro.inc | ||
macros.h | ||
main.inc | ||
memcard.h | ||
objects.h | ||
player.h | ||
primitive.h | ||
servant.h | ||
settings.h | ||
sfx.h | ||
stage.h | ||
types.h | ||
unkstruct.h | ||
weapon.h |