Name overworld tilemaps for their bg, add layer type constants

This commit is contained in:
GriffinR
2022-01-19 09:37:12 -05:00
parent 69759b2d12
commit f127e64a3c
5 changed files with 73 additions and 76 deletions

View File

@@ -9,6 +9,12 @@
#define METATILE_COLLISION_SHIFT 10
#define METATILE_ELEVATION_MASK 0xF000
enum {
METATILE_LAYER_TYPE_NORMAL, // Metatile uses middle and top bg layers
METATILE_LAYER_TYPE_COVERED, // Metatile uses bottom and middle bg layers
METATILE_LAYER_TYPE_SPLIT, // Metatile uses bottom and top bg layers
};
#define METATILE_ID(tileset, name) (METATILE_##tileset##_##name)
// Rows of metatiles do not actually have a strict width.