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

@ -125,7 +125,7 @@ static f32 sPlayerTrackingYOffsets[14][2] = {
{ 20.0f, 20.0f }, { 20.0f, 20.0f }, { 20.0f, 20.0f }, { 20.0f, 20.0f },
};
typedef enum {
typedef enum EnGo2Animation {
/* 0 */ ENGO2_ANIM_0,
/* 1 */ ENGO2_ANIM_1,
/* 2 */ ENGO2_ANIM_2,

View file

@ -9,7 +9,7 @@ struct EnGo2;
typedef void (*EnGo2ActionFunc)(struct EnGo2*, PlayState*);
typedef enum {
typedef enum GoronType {
/* 0x00 */ GORON_CITY_ROLLING_BIG,
/* 0x01 */ GORON_CITY_LINK,
/* 0x02 */ GORON_DMT_BIGGORON,
@ -41,7 +41,7 @@ typedef enum {
// /* 0x0B */ GORON_FIRE_HIGHEST
typedef struct {
typedef struct EnGo2DataStruct1 {
s16 unused;
s16 yDist;
s16 xzDist;
@ -49,14 +49,14 @@ typedef struct {
s16 height;
} EnGo2DataStruct1; // size = 0xA
typedef struct {
typedef struct EnGo2DataStruct2 {
f32 shape_unk_10;
f32 scale;
s8 actor_unk_1F;
f32 interactRange;
} EnGo2DataStruct2; // size = 0x10
typedef struct {
typedef struct EnGo2DustEffectData {
u8 initialTimer;
f32 scale;
f32 scaleStep;