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

@ -83,12 +83,12 @@ sEnFrPointers.flags = 12
- Deactivate frogs, frogs will jump back into the water
*/
typedef struct {
typedef struct EnFrPointers {
u8 flags;
EnFr* frogs[5];
} EnFrPointers;
typedef struct {
typedef struct LogSpotToFromWater {
f32 xzDist;
f32 yaw;
f32 yDist;

View file

@ -9,7 +9,7 @@ struct EnFr;
typedef void (*EnFrActionFunc)(struct EnFr*, PlayState*);
typedef void (*EnFrBlinkFunc)(struct EnFr*);
typedef enum {
typedef enum FrogType {
/* 0 */ FROG_YELLOW, // Middle
/* 1 */ FROG_BLUE, // Front Left
/* 2 */ FROG_RED, // Front Right
@ -17,7 +17,7 @@ typedef enum {
/* 4 */ FROG_WHITE // Back Right
} FrogType;
typedef enum {
typedef enum FrogSongType {
/* 0 */ FROG_ZL,
/* 1 */ FROG_EPONA,
/* 2 */ FROG_SARIA,