Fix event object include guards and constant filenames

This commit is contained in:
GriffinR
2019-11-21 14:14:14 -05:00
committed by huderlem
parent 98ca62cf91
commit 667c53e25b
17 changed files with 28 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
#include "constants/flags.h"
#include "constants/items.h"
#include "constants/bg_event_constants.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_bg.h"
#include "constants/event_object_movement.h"
#include "constants/event_objects.h"
#include "constants/maps.h"
#include "constants/secret_bases.h"

View File

@@ -1,5 +1,5 @@
#ifndef GUARD_CONSTANTS_BG_EVENT_H
#define GUARD_CONSTANTS_BG_EVENT_H
#ifndef GUARD_CONSTANTS_EVENT_BG_H
#define GUARD_CONSTANTS_EVENT_BG_H
#define BG_EVENT_PLAYER_FACING_ANY 0
#define BG_EVENT_PLAYER_FACING_NORTH 1
@@ -10,4 +10,4 @@
#define BG_EVENT_HIDDEN_ITEM 7
#define BG_EVENT_SECRET_BASE 8
#endif // GUARD_CONSTANTS_BG_EVENT_H
#endif // GUARD_CONSTANTS_EVENT_BG_H

View File

@@ -1,5 +1,5 @@
#ifndef GUARD_CONSTANTS_EVENTOBJMV_H
#define GUARD_CONSTANTS_EVENTOBJMV_H
#ifndef GUARD_CONSTANTS_EVENT_OBJECT_MOVEMENT_H
#define GUARD_CONSTANTS_EVENT_OBJECT_MOVEMENT_H
#define MOVEMENT_TYPE_NONE 0x0
#define MOVEMENT_TYPE_LOOK_AROUND 0x1
@@ -218,4 +218,4 @@
#define MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_LEFT 0x88
#define MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_RIGHT 0x89
#endif // GUARD_CONSTANTS_EVENTOBJMV_H
#endif // GUARD_CONSTANTS_EVENT_OBJECT_MOVEMENT_H

View File

@@ -1,5 +1,5 @@
#ifndef GUARD_CONSTANTS_OBJECT_EVENTS_H
#define GUARD_CONSTANTS_OBJECT_EVENTS_H
#ifndef GUARD_CONSTANTS_EVENT_OBJECTS_H
#define GUARD_CONSTANTS_EVENT_OBJECTS_H
#define OBJ_EVENT_GFX_BRENDAN_NORMAL 0
#define OBJ_EVENT_GFX_BRENDAN_MACH_BIKE 1
@@ -252,4 +252,4 @@
#define TRACKS_FOOT 1
#define TRACKS_BIKE_TIRE 2
#endif // GUARD_CONSTANTS_OBJECT_EVENTS_H
#endif // GUARD_CONSTANTS_EVENT_OBJECTS_H

View File

@@ -1,5 +1,5 @@
#ifndef GUARD_OBJ_EVENT_LOCK_H
#define GUARD_OBJ_EVENT_LOCK_H
#ifndef GUARD_EVENT_OBJ_LOCK_H
#define GUARD_EVENT_OBJ_LOCK_H
bool8 walkrun_is_standing_still(void);
void sub_8064CDC(u8 taskId);
@@ -13,4 +13,4 @@ void unref_sub_8064E5C(void);
void sub_8064EAC(void);
void sub_8064ED4(void);
#endif // GUARD_OBJ_EVENT_LOCK_H
#endif // GUARD_EVENT_OBJ_LOCK_H

View File

@@ -1,5 +1,5 @@
#ifndef GUARD_EVENTOBJMV_H
#define GUARD_EVENTOBJMV_H
#ifndef GUARD_EVENT_OBJECT_MOVEMENT_H
#define GUARD_EVENT_OBJECT_MOVEMENT_H
#include "sprite.h"
@@ -463,4 +463,4 @@ u8 ZCoordToPriority(u8);
void ObjectEventUpdateZCoord(struct ObjectEvent *pObject);
void SetObjectSubpriorityByZCoord(u8, struct Sprite *, u8);
#endif // GUARD_EVENTOBJMV_H
#endif // GUARD_EVENT_OBJECT_MOVEMENT_H

View File

@@ -11,7 +11,7 @@
#include "random.h"
#include "task.h"
#include "text.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/items.h"
#ifdef ENGLISH

View File

@@ -15,7 +15,7 @@
#include "trainer_see.h"
#include "constants/field_effects.h"
#include "constants/maps.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/event_objects.h"
// this file was known as evobjmv.c in Game Freak's original source

View File

@@ -24,7 +24,7 @@
#include "trainer_see.h"
#include "constants/vars.h"
#include "wild_encounter.h"
#include "constants/bg_event_constants.h"
#include "constants/event_bg.h"
#include "constants/map_types.h"
struct Coords32

View File

@@ -24,7 +24,7 @@
#include "text.h"
#include "trig.h"
#include "util.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/field_effects.h"
#include "constants/songs.h"

View File

@@ -19,7 +19,7 @@
#include "sound.h"
#include "start_menu.h"
#include "task.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/songs.h"
void sub_8080B9C(u8);

View File

@@ -20,7 +20,7 @@
#include "task.h"
#include "tv.h"
#include "wild_encounter.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/event_objects.h"
#include "constants/field_effects.h"
#include "constants/moves.h"

View File

@@ -33,7 +33,7 @@
#include "pokemon_summary_screen.h"
#include "random.h"
#include "constants/abilities.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/metatile_labels.h"
#include "constants/moves.h"
#include "constants/species.h"

View File

@@ -34,7 +34,7 @@
#include "string_util.h"
#include "strings.h"
#include "task.h"
#include "constants/bg_event_constants.h"
#include "constants/event_bg.h"
#include "constants/map_types.h"
#include "constants/species.h"
#include "constants/vars.h"

View File

@@ -11,7 +11,7 @@
#include "sound.h"
#include "sprite.h"
#include "task.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/event_objects.h"
#include "constants/field_effects.h"
#include "constants/map_types.h"

View File

@@ -29,7 +29,7 @@
#include "strings.h"
#include "task.h"
#include "text.h"
#include "constants/bg_event_constants.h"
#include "constants/event_bg.h"
#include "constants/decorations.h"
#include "constants/items.h"
#include "constants/map_types.h"

View File

@@ -8,7 +8,7 @@
#include "sprite.h"
#include "task.h"
#include "util.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_object_movement.h"
#include "constants/field_effects.h"
static bool8 CheckTrainer(u8);