Xeeynamo / sotn-decomp

Decompilation of Castlevania: Symphony of the Night (PSX+Saturn)
https://sotn.xee.dev/
GNU Affero General Public License v3.0
480 stars 55 forks source link

Minor Weapon Cleanup #1663

Closed hohle closed 2 days ago

hohle commented 3 days ago

w_030 expects an s16 at entity offset 0x90. All of the existing uses of unk90 were already using specific extension structs which declare that offset to be an s16. unk90 was changed from an s32 to an s16 a new s16 unk92 field was added.

It turned out that ET_WeaponUnk044 was only split because it was expecting an s16 at offset 0x90 and could use ET_Weapon now.

A few other extension structures were modified for clarity while trying to fit them into one of the more generic structs.