mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-28 13:15:23 -05:00
15 lines
554 B
C
15 lines
554 B
C
#ifndef POKEPLATINUM_TERRAIN_COLLISION_MANAGER_DECL_H
|
|
#define POKEPLATINUM_TERRAIN_COLLISION_MANAGER_DECL_H
|
|
|
|
#include "field/field_system_decl.h"
|
|
|
|
typedef const fx32 (*GetTerrainHeightFunc)(const FieldSystem *, const fx32, const fx32, const fx32, u8 *);
|
|
typedef BOOL (*GetTerrainAttributeFunc)(const FieldSystem *, const int, const int, u16 *);
|
|
|
|
typedef struct TerrainCollisionManager_t {
|
|
GetTerrainHeightFunc getHeightFunc;
|
|
GetTerrainAttributeFunc getAttrFunc;
|
|
} TerrainCollisionManager;
|
|
|
|
#endif // POKEPLATINUM_TERRAIN_COLLISION_MANAGER_DECL_H
|