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

@ -119,7 +119,7 @@ static ColliderQuadInit sQuadInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
typedef enum {
typedef enum DamageEffect {
/* 00 */ PEAHAT_DMG_EFF_ATTACK = 0,
/* 06 */ PEAHAT_DMG_EFF_LIGHT_ICE_ARROW = 6,
/* 12 */ PEAHAT_DMG_EFF_FIRE = 12,
@ -163,7 +163,7 @@ static DamageTable sDamageTable = {
/* Unknown 2 */ DMG_ENTRY(0, PEAHAT_DMG_EFF_ATTACK),
};
typedef enum {
typedef enum PeahatState {
/* 00 */ PEAHAT_STATE_DYING,
/* 01 */ PEAHAT_STATE_EXPLODE,
/* 03 */ PEAHAT_STATE_3 = 3,

View file

@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
typedef enum {
typedef enum PeahatType {
/* -1 */ PEAHAT_TYPE_GROUNDED = -1,
/* 0 */ PEAHAT_TYPE_FLYING = 0,
/* 1 */ PEAHAT_TYPE_LARVA = 1