Initial version of enum extractor script

This commit is contained in:
Tal Hayon
2022-05-13 18:44:14 +03:00
parent b675bce0d1
commit 2062499f0c
14 changed files with 112 additions and 24 deletions
+3
View File
@@ -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;
+2
View File
@@ -1,6 +1,8 @@
#ifndef TMC_DROPTABLES_H
#define TMC_DROPTABLES_H
#include "global.h"
typedef union {
struct {
s16 none;
+3
View File
@@ -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;
+1
View File
@@ -2,6 +2,7 @@
#define KINSTONE_H
#include "global.h"
#include "entity.h"
extern void sub_08018C58(u32);
+2
View File
@@ -1,6 +1,8 @@
#ifndef PROJECTILE_H
#define PROJECTILE_H
#include "entity.h"
Entity* CreateProjectile(u32);
bool32 IsProjectileOffScreen(Entity*);