summaryrefslogtreecommitdiff
path: root/include/global.fieldmap.h
diff options
context:
space:
mode:
authorsphericalice <sphericalice@outlook.com>2021-10-25 20:51:04 +0100
committersphericalice <sphericalice@outlook.com>2021-10-25 20:51:04 +0100
commit7b5267c799579047ac012928024ce92918c541fe (patch)
tree887f63bde2a06cd8871913b79b880a3138811d12 /include/global.fieldmap.h
parent5bce17cbcee66842b33e1c46c2a71684ee8093fb (diff)
Rename TILESET_WIDTH to METATILE_ROW_WIDTH
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r--include/global.fieldmap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h
index 5c673fc45..5d788ddf7 100644
--- a/include/global.fieldmap.h
+++ b/include/global.fieldmap.h
@@ -11,6 +11,11 @@
#define METATILE_ID(tileset, name) (METATILE_##tileset##_##name)
+// Rows of metatiles do not actually have a strict width.
+// This constant is used for calculations for finding the next row of metatiles
+// for constructing large tiles, such as the Battle Pike's curtain tile.
+#define METATILE_ROW_WIDTH 8
+
enum
{
CONNECTION_INVALID = -1,
@@ -36,11 +41,6 @@ struct Tileset
/*0x14*/ TilesetCB callback;
};
-// Tilesets do not actually have a strict width.
-// This constant is simply used for the offset between rows of metatiles for
-// large tiles, such as the Battle Pike's curtain tile.
-#define TILESET_WIDTH 8
-
struct MapLayout
{
/*0x00*/ s32 width;