diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-09-19 17:56:32 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-09-19 17:56:32 -0500 |
commit | 4abad1211c302f1dd3694d3169820840cbec7b88 (patch) | |
tree | 3932099bd0b5d333542ab829bf343364b2831a95 /include | |
parent | 83e05c158bf780ab3bb49394cfad0860b52d6905 (diff) |
Add defines for tile, metatile, and palette count
Diffstat (limited to 'include')
-rw-r--r-- | include/fieldmap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index e77342b72..cc2a29914 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -2,6 +2,13 @@ #define GUARD_FIELDMAP2_H #include "event_object_movement.h" +#define NUM_TILES_IN_PRIMARY 512 +#define NUM_TILES_TOTAL 1024 +#define NUM_METATILES_IN_PRIMARY 512 +#define NUM_METATILES_TOTAL 1024 +#define NUM_PALS_IN_PRIMARY 6 +#define NUM_PALS_TOTAL 12 + extern struct BackupMapLayout gUnknown_03004870; struct MapHeader *mapconnection_get_mapheader(struct MapConnection *connection); int GetMapBorderIdAt(int x, int y); |