mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-13 04:28:05 -05:00
Move some map-related constant files to the field sub-directory
This moves the files holding constants for the BDHC, map matrix and map prop subsystems to the `include/constants/field` directory. Signed-off-by: Kuruyia <github@kuruyia.net>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#ifndef POKEPLATINUM_CONSTANTS_BDHC_H
|
||||
#define POKEPLATINUM_CONSTANTS_BDHC_H
|
||||
|
||||
#define BDHC_BUFFER_SIZE 0x9000
|
||||
|
||||
#define BDHC_MAGIC_LENGTH 4
|
||||
|
||||
#endif // POKEPLATINUM_CONSTANTS_BDHC_H
|
||||
8
include/constants/field/bdhc.h
Normal file
8
include/constants/field/bdhc.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef POKEPLATINUM_CONSTANTS_FIELD_BDHC_H
|
||||
#define POKEPLATINUM_CONSTANTS_FIELD_BDHC_H
|
||||
|
||||
#define BDHC_BUFFER_SIZE 0x9000
|
||||
|
||||
#define BDHC_MAGIC_LENGTH 4
|
||||
|
||||
#endif // POKEPLATINUM_CONSTANTS_FIELD_BDHC_H
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef POKEPLATINUM_CONSTANTS_MAP_MATRIX_H
|
||||
#define POKEPLATINUM_CONSTANTS_MAP_MATRIX_H
|
||||
#ifndef POKEPLATINUM_CONSTANTS_FIELD_MAP_MATRIX_H
|
||||
#define POKEPLATINUM_CONSTANTS_FIELD_MAP_MATRIX_H
|
||||
|
||||
#define MAP_MATRIX_MAX_WIDTH 30
|
||||
#define MAP_MATRIX_MAX_HEIGHT 30
|
||||
@@ -7,4 +7,4 @@
|
||||
|
||||
#define MAP_MATRIX_MAX_NAME_LENGTH 16
|
||||
|
||||
#endif // POKEPLATINUM_CONSTANTS_MAP_MATRIX_H
|
||||
#endif // POKEPLATINUM_CONSTANTS_FIELD_MAP_MATRIX_H
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef POKEPLATINUM_CONSTANTS_MAP_PROP_H
|
||||
#define POKEPLATINUM_CONSTANTS_MAP_PROP_H
|
||||
#ifndef POKEPLATINUM_CONSTANTS_FIELD_MAP_PROP_H
|
||||
#define POKEPLATINUM_CONSTANTS_FIELD_MAP_PROP_H
|
||||
|
||||
enum MapPropModelId {
|
||||
// Model name: treeeff
|
||||
@@ -78,4 +78,4 @@ enum MapPropModelId {
|
||||
MAP_PROP_MODEL_HOTEL_GRAND_LAKE_DOOR = 527,
|
||||
};
|
||||
|
||||
#endif // POKEPLATINUM_CONSTANTS_MAP_PROP_H
|
||||
#endif // POKEPLATINUM_CONSTANTS_FIELD_MAP_PROP_H
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef POKEPLATINUM_MAP_MATRIX_H
|
||||
#define POKEPLATINUM_MAP_MATRIX_H
|
||||
|
||||
#include "constants/map_matrix.h"
|
||||
#include "constants/field/map_matrix.h"
|
||||
|
||||
typedef struct MapMatrixData {
|
||||
u8 height;
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/field/map_matrix.h"
|
||||
#include "constants/heap.h"
|
||||
#include "constants/map_matrix.h"
|
||||
|
||||
#include "heap.h"
|
||||
#include "map_header.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/bdhc.h"
|
||||
#include "constants/field/bdhc.h"
|
||||
#include "constants/heap.h"
|
||||
|
||||
#include "fx_util.h"
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/field/map_prop.h"
|
||||
#include "constants/map_object.h"
|
||||
#include "constants/map_prop.h"
|
||||
#include "generated/map_headers.h"
|
||||
|
||||
#include "struct_defs/struct_02055130.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/bdhc.h"
|
||||
#include "constants/field/bdhc.h"
|
||||
#include "constants/heap.h"
|
||||
|
||||
#include "heap.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "struct_decls/struct_02061AB4_decl.h"
|
||||
#include "struct_defs/struct_02055130.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "struct_decls/struct_02027860_decl.h"
|
||||
#include "struct_decls/struct_02061AB4_decl.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "field/field_system.h"
|
||||
#include "overlay005/area_data.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "field/field_system.h"
|
||||
#include "overlay005/area_data.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "struct_defs/struct_02055130.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "field/field_system.h"
|
||||
#include "overlay005/area_data.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "struct_decls/struct_02027860_decl.h"
|
||||
#include "struct_decls/struct_0205E884_decl.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "struct_defs/struct_02055130.h"
|
||||
#include "struct_defs/struct_0206C8D4.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "constants/map_prop.h"
|
||||
#include "constants/field/map_prop.h"
|
||||
|
||||
#include "struct_decls/struct_02027860_decl.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user