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:
Kuruyia
2025-03-19 17:12:08 +01:00
parent 8eda7bb52a
commit 00a7c5dd3d
18 changed files with 28 additions and 28 deletions

View File

@@ -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

View 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

View File

@@ -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

View File

@@ -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

View File

@@ -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;

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"