sort out functions.h

This commit is contained in:
theo3
2022-01-04 20:17:46 -08:00
parent 7036ec73af
commit 48fa5b4618
111 changed files with 1482 additions and 1434 deletions
+1
View File
@@ -1,6 +1,7 @@
#include "save.h"
#include "object.h"
#include "functions.h"
#include "item.h"
extern void (*const gUnk_08123EC0[])(Entity*);
extern void (*const gUnk_08123EEC[])(Entity*);
+1
View File
@@ -1,6 +1,7 @@
#include "object.h"
#include "functions.h"
#include "message.h"
#include "item.h"
extern void (*const BookActionFuncs[])(Entity*);
extern s8 const gUnk_08123D94[];
+2
View File
@@ -2,6 +2,8 @@
#include "structures.h"
#include "functions.h"
void sub_0809F814(u32 r0);
extern void sub_0809F7BC(Entity*);
extern void sub_0809F7F4(Entity*);
extern void (*gUnk_08124798[])(Entity*);
+1 -1
View File
@@ -6,7 +6,7 @@
void GreatFairy_InitializeAnimation(Entity*);
Entity* GreatFairy_CreateForm(Entity*, u32, u32);
void sub_080873D0();
void sub_080873D0(Entity*);
extern void (*const GreatFairy_Main[])(Entity*);
extern void (*const GreatFairy_Behaviors[])(Entity*);
extern void (*const GreatFairy_WingsBehaviors[])(Entity*);
+1
View File
@@ -2,6 +2,7 @@
#include "entity.h"
#include "flags.h"
#include "functions.h"
#include "item.h"
static void sub_0808E6A0(Entity*);
static void sub_0808E6E4(Entity*);
+2 -1
View File
@@ -6,6 +6,7 @@ extern void sub_080A2CC0(Entity*, Entity**, u16*);
extern u16 gUnk_08123318[];
static void sub_08097B24(Entity* this);
static u32 sub_08097ADC(Entity* this);
void LilypadSmall(Entity* this) {
u32 rand;
@@ -30,7 +31,7 @@ void LilypadSmall(Entity* this) {
}
}
u32 sub_08097ADC(Entity* this) {
static u32 sub_08097ADC(Entity* this) {
if ((gPlayerState.flags & PL_MINISH) == 0) {
return 0;
} else if (EntityInRectRadius(this, &gPlayerEntity, 8, 8) == 0) {
+1 -1
View File
@@ -1,7 +1,7 @@
#include "object.h"
#include "functions.h"
extern void sub_08086A6C();
extern void sub_08086A6C(Entity*);
extern void (*gUnk_081206C4[99])(Entity*);
+1
View File
@@ -5,6 +5,7 @@
#include "message.h"
#include "functions.h"
#include "screen.h"
#include "item.h"
extern u8 gUnk_08114F30[];
extern u8 gUnk_08114F34[];
+1
View File
@@ -1,6 +1,7 @@
#include "entity.h"
#include "player.h"
#include "functions.h"
#include "item.h"
extern void (*gUnk_08124824[])(Entity*);
+1 -1
View File
@@ -14,5 +14,5 @@ void sub_0809F2A0(Entity* this) {
SetTile(0x4069, COORD_TO_TILE(this), this->collisionLayer);
}
void nullsub_537() {
void nullsub_537(Entity* this) {
}