pokeplatinum/include/constants/field/map.h
Kuruyia 7596c9c676 Rename 2D Y coordinate component to Z
This simply renames the `y` component in 2D coordinates to `z` in
the names of variables, constants, function parameters and struct
members.

Most common examples include:
- `tileY` -> `tileZ`
- `mapMatrixY` -> `mapMatrixZ`
- `sizeY` -> `sizeZ`

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-31 20:01:11 +02:00

21 lines
567 B
C

#ifndef POKEPLATINUM_CONSTANTS_FIELD_MAP_H
#define POKEPLATINUM_CONSTANTS_FIELD_MAP_H
#include <nitro/fx/fx_const.h>
#include <nitro/types.h>
#define MAP_OBJECT_TILE_SIZE (16 * FX32_ONE)
#define MAP_TILES_COUNT_X 32
#define MAP_TILES_COUNT_Z 32
#define INVALID_LAND_DATA_ID 0xFFFF
#define INVALID_TERRAIN_ATTRIBUTES -1
#define INVALID_MAP_MATRIX_INDEX -1
#define TERRAIN_ATTRIBUTES_OFFSET 0x10
#define TERRAIN_ATTRIBUTES_SIZE 0x800
#define TERRAIN_ATTRIBUTES_COUNT (TERRAIN_ATTRIBUTES_SIZE / sizeof(u16))
#endif // POKEPLATINUM_CONSTANTS_FIELD_MAP_H