more renaming

This commit is contained in:
theo3 2020-08-19 19:09:31 -07:00
parent 1e8334a6e9
commit e40ceb75a8
3 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ CreateEntity: @ 0x0804ADF8
b _0804AEAC b _0804AEAC
_0804AE1C: _0804AE1C:
adds r0, r6, #0 adds r0, r6, #0
bl GetEmptyEntityAny bl GetEmptyEntityByType
adds r5, r0, #0 adds r5, r0, #0
cmp r5, #0 cmp r5, #0
beq _0804AEAA beq _0804AEAA

View File

@ -3,7 +3,7 @@
// #include "global.h" // #include "global.h"
// extern Entity * FindEntityBySubtype(u32, u32); // extern Entity * FindEntityBySubtype(u32, u32);
// extern Entity * GetEmptyEntityAny(); // extern Entity * GetEmptyEntityByType();
// extern void sub_0804AEB0(Entity *, EntityData *); // extern void sub_0804AEB0(Entity *, EntityData *);
// extern u32 sub_0804AF0C(Entity *, EntityData *); // extern u32 sub_0804AF0C(Entity *, EntityData *);
// extern void sub_08016A30(Entity *); // extern void sub_08016A30(Entity *);
@ -21,7 +21,7 @@
// entity = NULL; // entity = NULL;
// } // }
// else { // else {
// entity = GetEmptyEntityAny(); //Get empty entity // entity = GetEmptyEntityByType(); //Get empty entity
// if (entity != NULL) { // if (entity != NULL) {
// (entity->entityType).type = type; // (entity->entityType).type = type;
// (entity->entityType).subtype = param_1->entitySubtype; // (entity->entityType).subtype = param_1->entitySubtype;

View File

@ -27,7 +27,7 @@ OtherEntity* GetEmptyManager();
typedef void* (*Getter)(void); typedef void* (*Getter)(void);
void* GetEmptyEntityAny(int type) { void* GetEmptyEntityByType(int type) {
Getter getter = NULL; Getter getter = NULL;
if (type == 9) { if (type == 9) {
getter = (Getter)GetEmptyManager; getter = (Getter)GetEmptyManager;