1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-20 14:01:15 +00:00

Add names to all typedef'd structs, unions, and enums (#2028)

* Add names to all typedef'd structs, unions, and enums

* wtf vs code

* Use a better regex
This commit is contained in:
cadmic 2024-08-12 00:07:48 -07:00 committed by GitHub
parent 672728455d
commit e6bc4bd8cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
426 changed files with 1417 additions and 1417 deletions

View file

@ -197,7 +197,7 @@ static ColliderQuadInit sSwordColliderInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
typedef enum {
typedef enum StalfosDamageEffect {
/* 0x0 */ STALFOS_DMGEFF_NORMAL,
/* 0x1 */ STALFOS_DMGEFF_STUN,
/* 0x6 */ STALFOS_DMGEFF_FIREMAGIC = 6,

View file

@ -8,7 +8,7 @@ struct EnTest;
typedef void (*EnTestActionFunc)(struct EnTest*, PlayState*);
typedef enum {
typedef enum StalfosLimb {
/* 0x00 */ STALFOS_LIMB_NONE,
/* 0x01 */ STALFOS_LIMB_ROOT,
/* 0x02 */ STALFOS_LIMB_UPPERBODY_ROOT,
@ -102,7 +102,7 @@ typedef struct EnTest {
/* 0x8DC */ ColliderCylinder shieldCollider;
} EnTest; // size = 0x928
typedef enum {
typedef enum StalfosType {
/* 0 */ STALFOS_TYPE_INVISIBLE,
/* 1 */ STALFOS_TYPE_1,
/* 2 */ STALFOS_TYPE_2,