mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +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:
parent
672728455d
commit
e6bc4bd8cb
426 changed files with 1417 additions and 1417 deletions
|
@ -8,7 +8,7 @@ struct ObjSwitch;
|
|||
|
||||
typedef void (*ObjSwitchActionFunc)(struct ObjSwitch*, PlayState*);
|
||||
|
||||
typedef enum {
|
||||
typedef enum ObjSwitchType {
|
||||
/* 0 */ OBJSWITCH_TYPE_FLOOR,
|
||||
/* 1 */ OBJSWITCH_TYPE_FLOOR_RUSTY,
|
||||
/* 2 */ OBJSWITCH_TYPE_EYE,
|
||||
|
@ -16,7 +16,7 @@ typedef enum {
|
|||
/* 4 */ OBJSWITCH_TYPE_CRYSTAL_TARGETABLE
|
||||
} ObjSwitchType;
|
||||
|
||||
typedef enum {
|
||||
typedef enum ObjSwitchSubType {
|
||||
/* 0 */ OBJSWITCH_SUBTYPE_ONCE, // Switches that can only be turned on (On -> Flag Set)
|
||||
/* 1 */ OBJSWITCH_SUBTYPE_TOGGLE, // Switches that can be turned on and off (On -> Flag Set, Off -> Flag Cleared)
|
||||
/* 2 */ OBJSWITCH_SUBTYPE_HOLD, // Floor Types only, released when not stood on (Down -> Flag Set, Up -> Flag Cleared)
|
||||
|
@ -24,12 +24,12 @@ typedef enum {
|
|||
/* 4 */ OBJSWITCH_SUBTYPE_SYNC // Crystal Types only, syncs with the Switch Flag (On -> Flag Set, Off -> Flag Cleared)
|
||||
} ObjSwitchSubType;
|
||||
|
||||
typedef struct {
|
||||
typedef struct ObjSwitchJntSph {
|
||||
/* 0x00 */ ColliderJntSph col;
|
||||
/* 0x20 */ ColliderJntSphElement items[1];
|
||||
} ObjSwitchJntSph;
|
||||
|
||||
typedef struct {
|
||||
typedef struct ObjSwitchTris {
|
||||
/* 0x00 */ ColliderTris col;
|
||||
/* 0x20 */ ColliderTrisElement items[2];
|
||||
} ObjSwitchTris;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue