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:
parent
672728455d
commit
e6bc4bd8cb
426 changed files with 1417 additions and 1417 deletions
|
@ -1602,12 +1602,12 @@ s32 CollisionCheck_SwordHitAudio(Collider* atCol, ColliderElement* acElem) {
|
|||
return true;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
typedef struct HitInfo {
|
||||
/* 0x0 */ u8 blood;
|
||||
/* 0x1 */ u8 effect;
|
||||
} HitInfo; // size = 0x2
|
||||
|
||||
typedef enum {
|
||||
typedef enum ColChkBloodType {
|
||||
/* 0 */ BLOOD_NONE,
|
||||
/* 1 */ BLOOD_BLUE,
|
||||
/* 2 */ BLOOD_GREEN,
|
||||
|
@ -1616,7 +1616,7 @@ typedef enum {
|
|||
/* 5 */ BLOOD_RED2
|
||||
} ColChkBloodType;
|
||||
|
||||
typedef enum {
|
||||
typedef enum ColChkHitType {
|
||||
/* 0 */ HIT_WHITE,
|
||||
/* 1 */ HIT_DUST,
|
||||
/* 2 */ HIT_RED,
|
||||
|
@ -2687,7 +2687,7 @@ void CollisionCheck_AT(PlayState* play, CollisionCheckContext* colChkCtx) {
|
|||
CollisionCheck_SetHitEffects(play, colChkCtx);
|
||||
}
|
||||
|
||||
typedef enum {
|
||||
typedef enum ColChkMassType {
|
||||
/* 0 */ MASSTYPE_IMMOVABLE,
|
||||
/* 1 */ MASSTYPE_HEAVY,
|
||||
/* 2 */ MASSTYPE_NORMAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue