1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-16 21:05:12 +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

@ -59,7 +59,7 @@ CutsceneHandler sScriptedCutsceneHandlers[] = {
CutsceneHandler_RunScript, // CS_STATE_RUN_UNSTOPPABLE
};
typedef enum {
typedef enum TitleDemoDestination {
/* 0 */ TITLE_DEMO_SPIRIT_TEMPLE,
/* 1 */ TITLE_DEMO_DEATH_MOUNTAIN_CRATER,
/* 2 */ TITLE_DEMO_GANONDORF_HORSE
@ -67,7 +67,7 @@ typedef enum {
u8 sTitleDemoDestination = TITLE_DEMO_SPIRIT_TEMPLE;
typedef struct {
typedef struct EntranceCutscene {
/* 0x00 */ u16 entrance; // entrance index upon which the cutscene should trigger
/* 0x02 */ u8 ageRestriction; // 0 for adult only, 1 for child only, 2 for both ages
/* 0x03 */ u8 flag; // eventChkInf flag bound to the entrance cutscene