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

@ -11,7 +11,7 @@
#define FLAGS ACTOR_FLAG_4
typedef enum {
typedef enum EnNbAction {
/* 0x00 */ NB_CHAMBER_INIT,
/* 0x01 */ NB_CHAMBER_UNDERGROUND,
/* 0x02 */ NB_CHAMBER_APPEAR,
@ -45,7 +45,7 @@ typedef enum {
/* 0x1E */ NB_ACTION_30
} EnNbAction;
typedef enum {
typedef enum EnNbDrawMode {
/* 0x00 */ NB_DRAW_NOTHING,
/* 0x01 */ NB_DRAW_DEFAULT,
/* 0x02 */ NB_DRAW_HIDE,

View file

@ -6,7 +6,7 @@
struct EnNb;
typedef enum {
typedef enum EnNbLimb {
/* 0x00 */ NB_LIMB_NONE,
/* 0x01 */ NB_LIMB_ROOT,
/* 0x02 */ NB_LIMB_L_THIGH,
@ -55,7 +55,7 @@ typedef struct EnNb {
/* 0x0300 */ NpcInteractInfo interactInfo;
} EnNb; // size = 0x0328
typedef enum {
typedef enum EnNbType {
/* 0x02 */ NB_TYPE_DEMO02 = 2,
/* 0x03 */ NB_TYPE_KIDNAPPED,
/* 0x04 */ NB_TYPE_KNUCKLE,