Rename managers

This commit is contained in:
octorock
2022-05-01 11:43:19 +02:00
parent 3afbd0e901
commit 60e33b636d
231 changed files with 4964 additions and 4235 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
extern u32 CheckRectOnScreen(s16, s16, u32, u32);
/*
This object is created by Manager13.
This object is created by HouseSignManager.
It checks whether the 0x10 x 0x10 rect at field_0x80, field_0x82 is still on the screen.
If not, then it deletes itselfs and unsets the this->type2 bit in the managers field_0x20 bitfield.
*/
+2 -2
View File
@@ -7,7 +7,7 @@ void sub_08099E10(Entity*);
void sub_08099E58(Entity*);
void sub_08099E8C(Entity*);
void nullsub_534(Entity*);
extern void sub_0805B390(u32);
extern void CreateHoleManager(u32);
void Object86(Entity* this) {
static void (*const actionFuncs[])(Entity*) = {
@@ -63,7 +63,7 @@ void sub_08099E8C(Entity* this) {
RequestPriorityDuration(this, 0x1e);
}
if (CheckLocalFlag(0x75)) {
sub_0805B390(0x7);
CreateHoleManager(0x7);
}
}
}
+2 -2
View File
@@ -5,7 +5,7 @@
#include "player.h"
#include "physics.h"
extern void sub_0805B390(u32);
extern void CreateHoleManager(u32);
void ObjectAB_Init(Entity*);
void ObjectAB_Action1(Entity*);
@@ -45,7 +45,7 @@ void ObjectAB_Action2(Entity* this) {
sub_080A0190(this);
RequestPriorityDuration(this, 0x1e);
if (EntityInRectRadius(this, &gPlayerEntity, 0x10, 0x10)) {
sub_0805B390(0x37);
CreateHoleManager(0x37);
}
}
}