18 #ifndef INCLUDED_ICMPTERRAIN
19 #define INCLUDED_ICMPTERRAIN
74 #endif // INCLUDED_ICMPTERRAIN
A simple fixed-point number class.
virtual entity_pos_t GetGroundLevel(entity_pos_t x, entity_pos_t z)=0
virtual float GetExactGroundLevel(float x, float z)=0
virtual CVector3D CalcExactNormal(float x, float z)=0
virtual CFixedVector3D CalcNormal(entity_pos_t x, entity_pos_t z)=0
#define DECLARE_INTERFACE_TYPE(iname)
virtual u16 GetVerticesPerSide()=0
Returns number of vertices per side on the terrain.
virtual CTerrain * GetCTerrain()=0
virtual void ReloadTerrain()=0
Call when the underlying CTerrain has been modified behind our backs.
virtual bool IsLoaded()=0
virtual u16 GetTilesPerSide()=0
Returns number of tiles 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...