mirror of
https://github.com/zeldaret/tmc
synced 2026-05-24 07:11:07 -04:00
more renaming
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ CreateEntity: @ 0x0804ADF8
|
||||
b _0804AEAC
|
||||
_0804AE1C:
|
||||
adds r0, r6, #0
|
||||
bl GetEmptyEntityAny
|
||||
bl GetEmptyEntityByType
|
||||
adds r5, r0, #0
|
||||
cmp r5, #0
|
||||
beq _0804AEAA
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
// #include "global.h"
|
||||
|
||||
// extern Entity * FindEntityBySubtype(u32, u32);
|
||||
// extern Entity * GetEmptyEntityAny();
|
||||
// extern Entity * GetEmptyEntityByType();
|
||||
// extern void sub_0804AEB0(Entity *, EntityData *);
|
||||
// extern u32 sub_0804AF0C(Entity *, EntityData *);
|
||||
// extern void sub_08016A30(Entity *);
|
||||
@@ -21,7 +21,7 @@
|
||||
// entity = NULL;
|
||||
// }
|
||||
// else {
|
||||
// entity = GetEmptyEntityAny(); //Get empty entity
|
||||
// entity = GetEmptyEntityByType(); //Get empty entity
|
||||
// if (entity != NULL) {
|
||||
// (entity->entityType).type = type;
|
||||
// (entity->entityType).subtype = param_1->entitySubtype;
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ OtherEntity* GetEmptyManager();
|
||||
|
||||
typedef void* (*Getter)(void);
|
||||
|
||||
void* GetEmptyEntityAny(int type) {
|
||||
void* GetEmptyEntityByType(int type) {
|
||||
Getter getter = NULL;
|
||||
if (type == 9) {
|
||||
getter = (Getter)GetEmptyManager;
|
||||
|
||||
Reference in New Issue
Block a user