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

@ -20,7 +20,7 @@
#define BOSS_MO_EFFECT_COUNT 300
typedef struct {
typedef struct BossMoEffect {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f vel;
/* 0x18 */ Vec3f accel;
@ -59,7 +59,7 @@ void BossMo_Tentacle(BossMo* this, PlayState* play);
void BossMo_Unknown(void);
typedef enum {
typedef enum BossMoEffectType {
/* 0 */ MO_FX_NONE,
/* 1 */ MO_FX_SMALL_RIPPLE,
/* 2 */ MO_FX_BIG_RIPPLE,
@ -70,7 +70,7 @@ typedef enum {
/* 7 */ MO_FX_BUBBLE
} BossMoEffectType;
typedef enum {
typedef enum BossMoTentState {
/* 0 */ MO_TENT_READY,
/* 1 */ MO_TENT_SWING,
/* 2 */ MO_TENT_ATTACK,
@ -90,7 +90,7 @@ typedef enum {
/* 206 */ MO_TENT_DEATH_6
} BossMoTentState;
typedef enum {
typedef enum BossMoCoreState {
/* -11 */ MO_CORE_UNUSED = -11,
/* 0 */ MO_CORE_MOVE = 0,
/* 1 */ MO_CORE_MAKE_TENT,
@ -102,7 +102,7 @@ typedef enum {
/* 21 */ MO_CORE_INTRO_REVEAL
} BossMoCoreState;
typedef enum {
typedef enum BossMoCsState {
/* 0 */ MO_BATTLE,
/* 1 */ MO_INTRO_WAIT,
/* 2 */ MO_INTRO_START,

View file

@ -8,7 +8,7 @@ struct BossMo;
typedef void (*BossMoActionFunc)(struct BossMo*, PlayState*);
typedef enum {
typedef enum BossMoTentS16Var {
/* 0 */ MO_TENT_ACTION_STATE,
/* 1 */ MO_TENT_MOVE_TIMER,
/* 2 */ MO_TENT_VAR_TIMER,
@ -21,7 +21,7 @@ typedef enum {
/* 9 */ MO_TENT_SHORT_MAX
} BossMoTentS16Var;
typedef enum {
typedef enum BossMoCoreS16Var {
/* 0 */ MO_CORE_ACTION_STATE,
/* 1 */ MO_CORE_MOVE_TIMER,
/* 2 */ MO_CORE_VAR_TIMER,
@ -34,7 +34,7 @@ typedef enum {
/* 9 */ MO_CORE_SHORT_MAX
} BossMoCoreS16Var;
typedef enum {
typedef enum BossMoTentF32Var {
/* 0 */ MO_TENT_SWING_LAG_X,
/* 1 */ MO_TENT_SWING_SIZE_X,
/* 2 */ MO_TENT_SWING_RATE_X,
@ -45,7 +45,7 @@ typedef enum {
/* 7 */ MO_TENT_FLOAT_MAX
} BossMoTentF32Var;
typedef enum {
typedef enum BossMoCoreF32Var {
/* 0 */ MO_CORE_INTRO_WATER_ALPHA,
/* 1 */ MO_CORE_FLOAT_MAX
} BossMoCoreF32Var;