18#ifndef INCLUDED_ICMPTERRAIN
19#define INCLUDED_ICMPTERRAIN
#define DECLARE_INTERFACE_TYPE(iname)
Definition: Interface.h:23
Definition: FixedVector3D.h:25
A simple fixed-point number class.
Definition: Fixed.h:120
Definition: Vector3D.h:31
Definition: ICmpTerrain.h:31
virtual CFixedVector3D CalcNormal(entity_pos_t x, entity_pos_t z) const =0
virtual float GetExactGroundLevel(float x, float z) const =0
virtual u32 GetMapSize() const =0
Returns the map size in metres (world space units).
virtual u16 GetTilesPerSide() const =0
Returns number of tiles per side on the terrain.
virtual void ReloadTerrain(bool ReloadWater=true)=0
Call when the underlying CTerrain has been modified behind our backs.
virtual CVector3D CalcExactNormal(float x, float z) const =0
virtual entity_pos_t GetGroundLevel(entity_pos_t x, entity_pos_t z) const =0
virtual bool IsLoaded() const =0
virtual CTerrain * GetCTerrain()=0
virtual u16 GetVerticesPerSide() const =0
Returns number of vertices per side on the terrain.
virtual void MakeDirty(i32 i0, i32 j0, i32 i1, i32 j1)=0
Indicate that terrain tiles within the given region (inclusive lower bound, exclusive upper bound) ha...
Definition: IComponent.h:33
int32_t i32
Definition: types.h:34
uint16_t u16
Definition: types.h:38
uint32_t u32
Definition: types.h:39