Rename TILESET_WIDTH to METATILE_ROW_WIDTH

This commit is contained in:
sphericalice
2021-10-25 20:51:04 +01:00
parent 5bce17cbce
commit 7b5267c799
3 changed files with 11 additions and 11 deletions

View File

@@ -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;