pokeplatinum/include/dynamic_map_features.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

19 lines
854 B
C

#ifndef POKEPLATINUM_DYNAMIC_MAP_FEATURES_H
#define POKEPLATINUM_DYNAMIC_MAP_FEATURES_H
#include <nitro/fx/fx.h>
#include <nitro/types.h>
#include "field/field_system_decl.h"
typedef void (*DynamicMapFeaturesInitFunc)(FieldSystem *);
typedef void (*DynamicMapFeaturesFreeFunc)(FieldSystem *);
typedef BOOL (*DynamicMapFeaturesCheckCollisionFunc)(FieldSystem *, const int, const int, const fx32, BOOL *);
void DynamicMapFeatures_Init(FieldSystem *fieldSystem);
void DynamicMapFeatures_Free(FieldSystem *fieldSystem);
BOOL DynamicMapFeatures_CheckCollision(FieldSystem *fieldSystem, const int tileX, const int tileZ, const fx32 height, BOOL *isColliding);
BOOL DynamicMapFeatures_WillPlayerJumpEternaGymClock(FieldSystem *fieldSystem, const int tileX, const int tileZ, const fx32 unused3, int direction);
#endif // POKEPLATINUM_DYNAMIC_MAP_FEATURES_H