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

@ -30,7 +30,7 @@ when set, gets cleared next EnBox_Update call and clip to the floor
*/
#define ENBOX_MOVE_STICK_TO_GROUND (1 << 4)
typedef enum {
typedef enum EnBoxStateUnk1FB {
ENBOX_STATE_0, // waiting for player near / player available / player ? (IDLE)
ENBOX_STATE_1, // used only temporarily, maybe "player is ready" ?
ENBOX_STATE_2 // waiting for something message context-related

View file

@ -11,7 +11,7 @@ struct EnBox;
typedef void (*EnBoxActionFunc)(struct EnBox*, PlayState*);
typedef enum {
typedef enum EnBoxType {
/*
only values 1-11 are used explicitly, other values (like 0) default to another separate behavior
*/