mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-21 17:55:13 -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>
19 lines
854 B
C
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
|