|
| CTerrain () |
|
| ~CTerrain () |
|
bool | Initialize (ssize_t patchesPerSide, const u16 *ptr) |
|
ssize_t | GetVerticesPerSide () const |
|
ssize_t | GetTilesPerSide () const |
|
ssize_t | GetPatchesPerSide () const |
|
float | GetMinX () const |
|
float | GetMinZ () const |
|
float | GetMaxX () const |
|
float | GetMaxZ () const |
|
bool | IsOnMap (float x, float z) const |
|
CStr8 | GetMovementClass (ssize_t i, ssize_t j) const |
|
float | GetVertexGroundLevel (ssize_t i, ssize_t j) const |
|
fixed | GetVertexGroundLevelFixed (ssize_t i, ssize_t j) const |
|
float | GetExactGroundLevel (float x, float z) const |
|
fixed | GetExactGroundLevelFixed (fixed x, fixed z) const |
|
float | GetFilteredGroundLevel (float x, float z, float radius) const |
|
fixed | GetSlopeFixed (ssize_t i, ssize_t j) const |
|
fixed | GetExactSlopeFixed (fixed x, fixed z) const |
|
bool | GetTriangulationDir (ssize_t i, ssize_t j) const |
|
void | Resize (ssize_t size) |
|
void | SetHeightMap (u16 *heightmap) |
|
u16 * | GetHeightMap () const |
|
CPatch * | GetPatch (ssize_t i, ssize_t j) const |
|
CMiniPatch * | GetTile (ssize_t i, ssize_t j) const |
|
void | CalcPosition (ssize_t i, ssize_t j, CVector3D &pos) const |
|
void | CalcPositionFixed (ssize_t i, ssize_t j, CFixedVector3D &pos) const |
|
void | CalcNormal (ssize_t i, ssize_t j, CVector3D &normal) const |
|
void | CalcNormalFixed (ssize_t i, ssize_t j, CFixedVector3D &normal) const |
|
CVector3D | CalcExactNormal (float x, float z) const |
|
void | MakeDirty (ssize_t i0, ssize_t j0, ssize_t i1, ssize_t j1, int dirtyFlags) |
|
void | MakeDirty (int dirtyFlags) |
|
CBoundingBoxAligned | GetVertexesBound (ssize_t i0, ssize_t j0, ssize_t i1, ssize_t j1) |
| Returns a 3D bounding box encompassing the given vertex range (inclusive) More...
|
|
SColor4ub | GetBaseColor () const |
|
void | SetBaseColor (SColor4ub color) |
|
const CHeightMipmap & | GetHeightMipmap () const |
|