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