diff options
author | scnorton <scnorton@biociphers.org> | 2019-01-07 15:32:11 -0500 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2019-01-07 15:32:11 -0500 |
commit | e1bd043bf3049b8a91b718ca1e4416711f0b8646 (patch) | |
tree | 173f05393fc2f4d4bb9eb886d98356a67a0c44e4 /include/fieldmap.h | |
parent | b4f57a6c265af82f7ae222a5ae2d66450aea512c (diff) |
through sub_8059250
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r-- | include/fieldmap.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index e6a1e944a..38f1d30d0 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -3,6 +3,12 @@ #include "global.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 13 #define VIRTUAL_MAP_SIZE 0x2800 extern struct MapCoords { @@ -18,6 +24,6 @@ void GetCameraCoords(u16*, u16*); bool8 MapGridIsImpassableAt(s32, s32); s32 GetMapBorderIdAt(s16, s16); bool32 CanCameraMoveInDirection(u8); -u16 GetBehaviorByMetatileId(u16 metatileId); +u32 GetBehaviorByMetatileIdAndMapData(struct MapData *mapData, u16 metatile, u8 attr); #endif //GUARD_FIELDMAP_H |