1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-23 07:21:19 +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

@ -5,7 +5,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_5)
typedef enum {
typedef enum TwEffType {
/* 0 */ TWEFF_NONE,
/* 1 */ TWEFF_DOT,
/* 2 */ TWEFF_2,
@ -19,13 +19,13 @@ typedef enum {
/* 10 */ TWEFF_SHLD_HIT
} TwEffType;
typedef enum {
typedef enum EffectWork {
/* 0 */ EFF_ARGS,
/* 1 */ EFF_UNKS1,
/* 2 */ EFF_WORK_MAX
} EffectWork;
typedef enum {
typedef enum EffectFWork {
/* 0 */ EFF_SCALE,
/* 1 */ EFF_DIST,
/* 2 */ EFF_ROLL,
@ -33,7 +33,7 @@ typedef enum {
/* 4 */ EFF_FWORK_MAX
} EffectFWork;
typedef enum {
typedef enum TwinrovaType {
/* 0x00 */ TW_KOTAKE,
/* 0x01 */ TW_KOUME,
/* 0x02 */ TW_TWINROVA,
@ -47,7 +47,7 @@ typedef enum {
#define BOSS_TW_EFFECT_COUNT 150
typedef struct {
typedef struct BossTwEffect {
/* 0x0000 */ u8 type;
/* 0x0001 */ u8 frame;
/* 0x0004 */ Vec3f pos;

View file

@ -8,7 +8,7 @@ struct BossTw;
typedef void (*BossTwActionFunc)(struct BossTw* this, PlayState* play);
typedef enum {
typedef enum TwWork {
/* 0 */ CS_TIMER_1,
/* 1 */ CS_TIMER_2,
/* 2 */ TW_PLLR_IDX,
@ -25,7 +25,7 @@ typedef enum {
/* 13 */ WORK_MAX
} TwWork;
typedef enum {
typedef enum TwFwork {
/* 0 */ OUTR_CRWN_TX_X1,
/* 1 */ OUTR_CRWN_TX_X2,
/* 2 */ INNR_CRWN_TX_X1,
@ -55,7 +55,7 @@ typedef enum {
/* 26 */ FWORK_MAX
} TwFwork;
typedef enum {
typedef enum TwinrovaKotakeKoumeLimb {
/* 0 */ TWINROVA_KOTAKE_KOUME_LIMB_NONE,
/* 1 */ TWINROVA_KOTAKE_KOUME_LIMB_PELVIS,
/* 2 */ TWINROVA_KOTAKE_KOUME_LIMB_LEFT_THIGH,
@ -86,7 +86,7 @@ typedef enum {
/* 27 */ TWINROVA_KOTAKE_KOUME_LIMB_MAX
} TwinrovaKotakeKoumeLimb;
typedef enum {
typedef enum TwinrovaLimb {
/* 0 */ TWINROVA_LIMB_NONE,
/* 1 */ TWINROVA_LIMB_PELVIS,
/* 2 */ TWINROVA_LIMB_SASH_1,