Do not include global.h

This commit is contained in:
Mateon1
2024-09-25 12:54:04 +02:00
parent f8acddc770
commit e9211e6bea
5 changed files with 4 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
#ifndef GUARD_CODE_801AFA4_H
#define GUARD_CODE_801AFA4_H
#include "global.h"
#include "constants/move.h"
#include "structs/menu.h"
#include "pokemon.h"
@@ -26,4 +25,4 @@ bool8 sub_801AFA4(u32 index);
u32 sub_801B00C(void);
void sub_801B048(void);
#endif // GUARD_CODE_801AFA4_H
#endif // GUARD_CODE_801AFA4_H

View File

@@ -1,7 +1,7 @@
#ifndef GUARD_MATH_H
#define GUARD_MATH_H
#include "global.h"
#include "gba/types.h"
/**
* This type represents a signed 24.8 fixed-point number, where the 24 most

View File

@@ -1,7 +1,6 @@
#ifndef GUARD_STR_DUNGEON_H
#define GUARD_STR_DUNGEON_H
#include "global.h"
#include "constants/monster.h"
#include "structs/dungeon_entity.h"
#include "file_system.h"

View File

@@ -1,7 +1,6 @@
#ifndef GUARD_TYPE_CHART_H
#define GUARD_TYPE_CHART_H
#include "global.h"
#include "constants/type.h"
#define NUM_EFFECTIVENESS 4
@@ -14,4 +13,4 @@
// [Attacking type][Defending type]
extern const s16 gTypeEffectivenessChart[NUM_TYPES][NUM_TYPES];
#endif
#endif

View File

@@ -1,3 +1,4 @@
#include "global.h"
#include "type_chart.h"
#define IMMUNE EFFECTIVENESS_IMMUNE