summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-05-13 18:44:14 +0300
committerTal Hayon <talhayon1@gmail.com>2022-05-13 21:46:39 +0300
commit2062499f0c17e7564e30b4a9c7ae96a32491c5c1 (patch)
tree31962be30046c40c67b27ef14afed943466ff5fa /include
parentb675bce0d1d75cf2c703fb26e5e864e3ee789b8e (diff)
Initial version of enum extractor script
Diffstat (limited to 'include')
-rw-r--r--include/definitions.h3
-rw-r--r--include/droptables.h2
-rw-r--r--include/hitbox.h3
-rw-r--r--include/kinstone.h1
-rw-r--r--include/projectile.h2
5 files changed, 11 insertions, 0 deletions
diff --git a/include/definitions.h b/include/definitions.h
index 896e125b..7a18b709 100644
--- a/include/definitions.h
+++ b/include/definitions.h
@@ -1,6 +1,9 @@
#ifndef SPRITEDATA_H
#define SPRITEDATA_H
+#include "gba/types.h"
+#include "entity.h"
+
// Definition for enemies and projectiles
typedef struct EnemyDefinition {
u16 gfx;
diff --git a/include/droptables.h b/include/droptables.h
index f05ae94e..78d75970 100644
--- a/include/droptables.h
+++ b/include/droptables.h
@@ -1,6 +1,8 @@
#ifndef TMC_DROPTABLES_H
#define TMC_DROPTABLES_H
+#include "global.h"
+
typedef union {
struct {
s16 none;
diff --git a/include/hitbox.h b/include/hitbox.h
index 483c7e1d..0426c992 100644
--- a/include/hitbox.h
+++ b/include/hitbox.h
@@ -1,5 +1,8 @@
#ifndef HITBOX_H
#define HITBOX_H
+
+#include "entity.h"
+
extern const Hitbox gHitbox_0;
extern const Hitbox gHitbox_1;
extern const Hitbox gHitbox_2;
diff --git a/include/kinstone.h b/include/kinstone.h
index a293104a..987446e4 100644
--- a/include/kinstone.h
+++ b/include/kinstone.h
@@ -2,6 +2,7 @@
#define KINSTONE_H
#include "global.h"
+#include "entity.h"
extern void sub_08018C58(u32);
diff --git a/include/projectile.h b/include/projectile.h
index dd73d433..64df8ac4 100644
--- a/include/projectile.h
+++ b/include/projectile.h
@@ -1,6 +1,8 @@
#ifndef PROJECTILE_H
#define PROJECTILE_H
+#include "entity.h"
+
Entity* CreateProjectile(u32);
bool32 IsProjectileOffScreen(Entity*);