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

@ -21,14 +21,14 @@
#define TALON_STATE_FLAG_RAISING_HANDS (1 << 8)
#define TALON_STATE_FLAG_RESTORE_BGM_ON_DESTROY (1 << 9)
typedef enum {
typedef enum TalonEyeIndex {
/* 0 */ TALON_EYE_INDEX_OPEN,
/* 1 */ TALON_EYE_INDEX_HALF,
/* 2 */ TALON_EYE_INDEX_CLOSED,
/* 3 */ TALON_EYE_INDEX_MAX
} TalonEyeIndex;
typedef enum {
typedef enum TalonCanBuyMilkResult {
/* 0 */ TALON_CANBUYMILK_NOT_ENOUGH_RUPEES,
/* 1 */ TALON_CANBUYMILK_NO_EMPTY_BOTTLE,
/* 2 */ TALON_CANBUYMILK_SUCCESS

View file

@ -12,13 +12,13 @@ typedef void (*EnTaActionFunc)(struct EnTa*, PlayState*);
typedef void (*EnTaBlinkFunc)(struct EnTa*);
typedef void (*EnTaAnimFunc)(struct EnTa*);
typedef enum {
typedef enum EnTaType {
/* 0xFFFF */ ENTA_CHILD_ERA = -1,
/* 0x0001 */ ENTA_IN_KAKARIKO = 1,
/* 0x0002 */ ENTA_RETURNED_FROM_KAKARIKO
} EnTaType;
typedef enum {
typedef enum EnTaLimb {
/* 0x00 */ ENTA_LIMB_NONE,
/* 0x01 */ ENTA_LIMB_ROOT,
/* 0x02 */ ENTA_LIMB_LEFT_THIGH,