diff options
| author | theo3 <arisstephenson2@gmail.com> | 2021-12-20 02:02:33 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2021-12-20 10:31:02 -0800 |
| commit | 6cff332e57b5cc723d9243c2d4667be7c7ca0273 (patch) | |
| tree | abfb5dfbbf116cef3f6776df3e242fe37ee0fc8e /include/entity.h | |
| parent | 0d5eae8696a70323c0712233913d73ee67823ca4 (diff) | |
header overhaul
Diffstat (limited to 'include/entity.h')
| -rw-r--r-- | include/entity.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/entity.h b/include/entity.h index 83c3a6c5..43c3b721 100644 --- a/include/entity.h +++ b/include/entity.h @@ -41,9 +41,9 @@ typedef struct { u8 unknown2[3]; } Hitbox3D; -typedef struct Entity { - /*0x00*/ struct Entity* prev; - /*0x04*/ struct Entity* next; +typedef struct Entity_ { + /*0x00*/ struct Entity_* prev; + /*0x04*/ struct Entity_* next; /*0x08*/ u8 kind; /*0x09*/ u8 id; /*0x0a*/ u8 type; @@ -118,9 +118,9 @@ typedef struct Entity { /*0x45*/ u8 health; /*0x46*/ u16 field_0x46; /*0x48*/ Hitbox* hitbox; - /*0x4c*/ struct Entity* field_0x4c; - /*0x50*/ struct Entity* parent; - /*0x54*/ struct Entity* child; + /*0x4c*/ struct Entity_* field_0x4c; + /*0x50*/ struct Entity_* parent; + /*0x54*/ struct Entity_* child; /*0x58*/ u8 animIndex; /*0x59*/ u8 frameDuration; /*0x5a*/ u8 frame; @@ -275,6 +275,7 @@ Entity* FindNextDuplicateID(Entity* ent, int listIndex); */ Entity* FindEntity(u32 kind, u32 id, u32 listIndex, u32 type, u32 type2); +void DeleteManager(void*); void DeleteEntityAny(Entity* ent); void UpdateEntities(void); |
