From f1f420954b461bd827b1768a9a21c9998821f5e5 Mon Sep 17 00:00:00 2001 From: garak Date: Tue, 11 Jun 2019 12:07:31 -0400 Subject: [PATCH] add METATILE_ID macro --- include/global.fieldmap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index 3aa44ec9a..b5a86e311 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -8,6 +8,8 @@ #define METATILE_COLLISION_SHIFT 10 #define METATILE_ELEVATION_MASK 0xF000 +#define METATILE_ID(tileset, name) (METATILE_##tileset##_##name) + enum { CONNECTION_SOUTH = 1,