Add defines for tile, metatile, and palette count

This commit is contained in:
Diegoisawesome
2018-09-18 10:03:24 -05:00
parent 3303c416d4
commit 899ae7a59a
3 changed files with 21 additions and 14 deletions

View File

@@ -1,6 +1,13 @@
#ifndef GUARD_FIELDMAP_H
#define GUARD_FIELDMAP_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
extern struct BackupMapLayout gUnknown_03005DC0;
u32 MapGridGetMetatileIdAt(int, int);