Fix header guards
This commit is contained in:
+3
-3
@@ -2,8 +2,8 @@
|
|||||||
// Created by Scott Norton on 9/8/17.
|
// Created by Scott Norton on 9/8/17.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_DATA3_H
|
#ifndef GUARD_DATA3_H
|
||||||
#define POKEEMERALD_DATA3_H
|
#define GUARD_DATA3_H
|
||||||
|
|
||||||
struct PairedPalettes {
|
struct PairedPalettes {
|
||||||
u16 tag;
|
u16 tag;
|
||||||
@@ -38,4 +38,4 @@ extern bool8 (*const gUnknown_0850DA64[])(struct MapObject *, struct Sprite *, u
|
|||||||
|
|
||||||
extern const u8 gUnknown_0850DBA0[5];
|
extern const u8 gUnknown_0850DBA0[5];
|
||||||
|
|
||||||
#endif //POKEEMERALD_DATA3_H
|
#endif //GUARD_DATA3_H
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
// Created by scott on 9/12/2017.
|
// Created by scott on 9/12/2017.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_EVENT_SCRIPTS_H
|
#ifndef GUARD_EVENT_SCRIPTS_H
|
||||||
#define POKEEMERALD_EVENT_SCRIPTS_H
|
#define GUARD_EVENT_SCRIPTS_H
|
||||||
|
|
||||||
extern const u8 gUnknown_082766A2[];
|
extern const u8 gUnknown_082766A2[];
|
||||||
extern const u8 gUnknown_082766A6[];
|
extern const u8 gUnknown_082766A6[];
|
||||||
|
|
||||||
#endif //POKEEMERALD_EVENT_SCRIPTS_H
|
#endif //GUARD_EVENT_SCRIPTS_H
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
// Created by Scott Norton on 9/15/17.
|
// Created by Scott Norton on 9/15/17.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_FIELD_EFFECTS_H
|
#ifndef GUARD_FIELD_EFFECTS_H
|
||||||
#define POKEEMERALD_FIELD_EFFECTS_H
|
#define GUARD_FIELD_EFFECTS_H
|
||||||
|
|
||||||
enum FieldEffectScriptIdx
|
enum FieldEffectScriptIdx
|
||||||
{
|
{
|
||||||
@@ -77,4 +77,4 @@ extern u32 gFieldEffectSpawnParams[8];
|
|||||||
|
|
||||||
u8 FieldEffectStart(u8);
|
u8 FieldEffectStart(u8);
|
||||||
|
|
||||||
#endif //POKEEMERALD_FIELD_EFFECTS_H
|
#endif //GUARD_FIELD_EFFECTS_H
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
// Created by scott on 9/7/2017.
|
// Created by scott on 9/7/2017.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_FIELD_EFFECT_HELPERS_H
|
#ifndef GUARD_FIELD_EFFECT_HELPERS_H
|
||||||
#define POKEEMERALD_FIELD_EFFECT_HELPERS_H
|
#define GUARD_FIELD_EFFECT_HELPERS_H
|
||||||
|
|
||||||
// Exported type declarations
|
// Exported type declarations
|
||||||
|
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
// Exported ROM declarations
|
// Exported ROM declarations
|
||||||
u8 sub_8154228(void);
|
u8 sub_8154228(void);
|
||||||
|
|
||||||
#endif //POKEEMERALD_FIELD_EFFECT_HELPERS_H
|
#endif //GUARD_FIELD_EFFECT_HELPERS_H
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
// Created by scott on 9/6/2017.
|
// Created by scott on 9/6/2017.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_FIELD_GROUND_EFFECT_H
|
#ifndef GUARD_FIELD_GROUND_EFFECT_H
|
||||||
#define POKEEMERALD_FIELD_GROUND_EFFECT_H
|
#define GUARD_FIELD_GROUND_EFFECT_H
|
||||||
|
|
||||||
// Exported type declarations
|
// Exported type declarations
|
||||||
|
|
||||||
@@ -13,4 +13,4 @@
|
|||||||
void SetObjectSubpriorityByZCoord(u8, struct Sprite *, u8);
|
void SetObjectSubpriorityByZCoord(u8, struct Sprite *, u8);
|
||||||
void InitObjectPriorityByZCoord(struct Sprite *, u8);
|
void InitObjectPriorityByZCoord(struct Sprite *, u8);
|
||||||
|
|
||||||
#endif //POKEEMERALD_FIELD_GROUND_EFFECT_H
|
#endif //GUARD_FIELD_GROUND_EFFECT_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef POKEEMERALD_FIELD_MAP_OBJ_H
|
#ifndef GUARD_FIELD_MAP_OBJ_H
|
||||||
#define POKEEMERALD_FIELD_MAP_OBJ_H
|
#define GUARD_FIELD_MAP_OBJ_H
|
||||||
|
|
||||||
#define NUM_OBJECT_GRAPHICS_INFO 239
|
#define NUM_OBJECT_GRAPHICS_INFO 239
|
||||||
#define SPRITE_VAR 240
|
#define SPRITE_VAR 240
|
||||||
@@ -70,4 +70,4 @@ u8 npc_block_way(struct MapObject *, s16, s16, u32);
|
|||||||
|
|
||||||
extern const struct SpriteTemplate *const gFieldEffectObjectTemplatePointers[];
|
extern const struct SpriteTemplate *const gFieldEffectObjectTemplatePointers[];
|
||||||
|
|
||||||
#endif //POKEEMERALD_FIELD_MAP_OBJ_H
|
#endif //GUARD_FIELD_MAP_OBJ_H
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
// Created by Scott Norton on 9/6/17.
|
// Created by Scott Norton on 9/6/17.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_FIELD_PLAYER_AVATAR_H
|
#ifndef GUARD_FIELD_PLAYER_AVATAR_H
|
||||||
#define POKEEMERALD_FIELD_PLAYER_AVATAR_H
|
#define GUARD_FIELD_PLAYER_AVATAR_H
|
||||||
|
|
||||||
void ClearPlayerAvatarInfo(void);
|
void ClearPlayerAvatarInfo(void);
|
||||||
void SetPlayerAvatarExtraStateTransition(u8, u8);
|
void SetPlayerAvatarExtraStateTransition(u8, u8);
|
||||||
@@ -14,4 +14,4 @@ u8 player_get_direction_lower_nybble(void);
|
|||||||
u8 player_get_direction_upper_nybble(void);
|
u8 player_get_direction_upper_nybble(void);
|
||||||
u8 player_get_x22(void);
|
u8 player_get_x22(void);
|
||||||
|
|
||||||
#endif //POKEEMERALD_FIELD_PLAYER_AVATAR_H
|
#endif //GUARD_FIELD_PLAYER_AVATAR_H
|
||||||
|
|||||||
+3
-3
@@ -2,8 +2,8 @@
|
|||||||
// Created by scott on 9/16/2017.
|
// Created by scott on 9/16/2017.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_FIELDMAP_H
|
#ifndef GUARD_FIELDMAP_H
|
||||||
#define POKEEMERALD_FIELDMAP_H
|
#define GUARD_FIELDMAP_H
|
||||||
|
|
||||||
// Exported type declarations
|
// Exported type declarations
|
||||||
|
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
// Exported ROM declarations
|
// Exported ROM declarations
|
||||||
u8 MapGridGetMetatileBehaviorAt(s16, s16);
|
u8 MapGridGetMetatileBehaviorAt(s16, s16);
|
||||||
|
|
||||||
#endif //POKEEMERALD_FIELDMAP_H
|
#endif //GUARD_FIELDMAP_H
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
// Created by scott on 9/7/2017.
|
// Created by scott on 9/7/2017.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_MAP_OBJ_8097404_H
|
#ifndef GUARD_MAP_OBJ_8097404_H
|
||||||
#define POKEEMERALD_MAP_OBJ_8097404_H
|
#define GUARD_MAP_OBJ_8097404_H
|
||||||
|
|
||||||
// Exported type declarations
|
// Exported type declarations
|
||||||
|
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
// Exported ROM declarations
|
// Exported ROM declarations
|
||||||
void sub_8097AC8(struct Sprite *);
|
void sub_8097AC8(struct Sprite *);
|
||||||
|
|
||||||
#endif //POKEEMERALD_MAP_OBJ_8097404_H
|
#endif //GUARD_MAP_OBJ_8097404_H
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#ifndef POKEEMERALD_ROM4_H
|
#ifndef GUARD_ROM4_H
|
||||||
#define POKEEMERALD_ROM4_H
|
#define GUARD_ROM4_H
|
||||||
|
|
||||||
struct UnkPlayerStruct
|
struct UnkPlayerStruct
|
||||||
{
|
{
|
||||||
@@ -28,4 +28,4 @@ void strange_npc_table_clear(void);
|
|||||||
const struct MapHeader *get_mapheader_by_bank_and_number(u8, u8);
|
const struct MapHeader *get_mapheader_by_bank_and_number(u8, u8);
|
||||||
void FieldObjectMoveDestCoords(struct MapObject *, u32, s16 *, s16 *);
|
void FieldObjectMoveDestCoords(struct MapObject *, u32, s16 *, s16 *);
|
||||||
|
|
||||||
#endif //POKEEMERALD_ROM4_H
|
#endif //GUARD_ROM4_H
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
// Created by Scott Norton on 9/6/17.
|
// Created by Scott Norton on 9/6/17.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_ROM_818CFC8_H
|
#ifndef GUARD_ROM_818CFC8_H
|
||||||
#define POKEEMERALD_ROM_818CFC8_H
|
#define GUARD_ROM_818CFC8_H
|
||||||
|
|
||||||
bool8 InBattlePyramid(void);
|
bool8 InBattlePyramid(void);
|
||||||
u8 sub_81AAA40(void);
|
u8 sub_81AAA40(void);
|
||||||
|
|
||||||
#endif //POKEEMERALD_ROM_818CFC8_H
|
#endif //GUARD_ROM_818CFC8_H
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
// Created by Scott Norton on 9/6/17.
|
// Created by Scott Norton on 9/6/17.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef POKEEMERALD_ROM_81BE66C_H
|
#ifndef GUARD_ROM_81BE66C_H
|
||||||
#define POKEEMERALD_ROM_81BE66C_H
|
#define GUARD_ROM_81BE66C_H
|
||||||
|
|
||||||
bool32 InTrainerHill(void);
|
bool32 InTrainerHill(void);
|
||||||
bool8 FieldObjectIsFarawayIslandMew(struct MapObject *);
|
bool8 FieldObjectIsFarawayIslandMew(struct MapObject *);
|
||||||
u32 sub_81D427C(void);
|
u32 sub_81D427C(void);
|
||||||
|
|
||||||
#endif //POKEEMERALD_ROM_81BE66C_H
|
#endif //GUARD_ROM_81BE66C_H
|
||||||
|
|||||||
Reference in New Issue
Block a user