18#ifndef TRINITY_GRID_MAP_H
19#define TRINITY_GRID_MAP_H
28namespace G3D {
class Plane; }
72 bool isHole(
int row,
int col)
const;
75 typedef float (
GridMap::* GetHeightPtr) (
float x,
float y)
const;
77 float getHeightFromFloat(
float x,
float y)
const;
78 float getHeightFromUint16(
float x,
float y)
const;
79 float getHeightFromUint8(
float x,
float y)
const;
80 float getHeightFromFlat(
float x,
float y)
const;
96 uint16 getArea(
float x,
float y)
const;
97 float getHeight(
float x,
float y)
const {
return (this->*_gridGetHeight)(x, y); }
98 float getMinHeight(
float x,
float y)
const;
99 float getLiquidLevel(
float x,
float y)
const;
map_liquidHeaderTypeFlags
std::optional< T > Optional
Optional helper class to wrap optional values within.
map_liquidHeaderTypeFlags * _liquidFlags
uint16 _liquidGlobalEntry
map_liquidHeaderTypeFlags _liquidGlobalFlags
float _gridIntHeightMultiplier
G3D::Plane * _minHeightPlanes
float getHeight(float x, float y) const
GetHeightPtr _gridGetHeight
constexpr std::size_t size()