mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-06-14 04:32:32 -05:00
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>
21 lines
567 B
C
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
|