![]() |
TrinityCore
|
#include <Map.h>
Public Member Functions | |
| GridMap () | |
| ~GridMap () | |
| bool | loadData (const char *filename) |
| void | unloadData () |
| uint16 | getArea (float x, float y) const |
| float | getHeight (float x, float y) const |
| float | getMinHeight (float x, float y) const |
| float | getLiquidLevel (float x, float y) const |
| uint8 | getTerrainType (float x, float y) const |
| ZLiquidStatus | getLiquidStatus (float x, float y, float z, uint8 ReqLiquidType, LiquidData *data=0) |
Private Types | |
| typedef float(GridMap::* | GetHeightPtr )(float x, float y) const |
Private Member Functions | |
| bool | loadAreaData (FILE *in, uint32 offset, uint32 size) |
| bool | loadHeightData (FILE *in, uint32 offset, uint32 size) |
| bool | loadLiquidData (FILE *in, uint32 offset, uint32 size) |
| float | getHeightFromFloat (float x, float y) const |
| float | getHeightFromUint16 (float x, float y) const |
| float | getHeightFromUint8 (float x, float y) const |
| float | getHeightFromFlat (float x, float y) const |
Private Attributes | |
| uint32 | _flags |
| union { | |
| float * m_V9 | |
| uint16 * m_uint16_V9 | |
| uint8 * m_uint8_V9 | |
| }; | |
| union { | |
| float * m_V8 | |
| uint16 * m_uint16_V8 | |
| uint8 * m_uint8_V8 | |
| }; | |
| int16 * | _maxHeight |
| int16 * | _minHeight |
| float | _gridHeight |
| float | _gridIntHeightMultiplier |
| uint16 * | _areaMap |
| float | _liquidLevel |
| uint16 * | _liquidEntry |
| uint8 * | _liquidFlags |
| float * | _liquidMap |
| uint16 | _gridArea |
| uint16 | _liquidType |
| uint8 | _liquidOffX |
| uint8 | _liquidOffY |
| uint8 | _liquidWidth |
| uint8 | _liquidHeight |
| GetHeightPtr | _gridGetHeight |
|
private |
| GridMap::GridMap | ( | ) |
Here is the call graph for this function:| GridMap::~GridMap | ( | ) |
Here is the call graph for this function:| uint16 GridMap::getArea | ( | float | x, |
| float | y | ||
| ) | const |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:| float GridMap::getLiquidLevel | ( | float | x, |
| float | y | ||
| ) | const |
|
inline |
Here is the call graph for this function:| float GridMap::getMinHeight | ( | float | x, |
| float | y | ||
| ) | const |
Here is the call graph for this function:| uint8 GridMap::getTerrainType | ( | float | x, |
| float | y | ||
| ) | const |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:| void GridMap::unloadData | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| union { ... } |
| union { ... } |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| uint16* GridMap::m_uint16_V8 |
| uint16* GridMap::m_uint16_V9 |
| uint8* GridMap::m_uint8_V8 |
| uint8* GridMap::m_uint8_V9 |
| float* GridMap::m_V8 |
| float* GridMap::m_V9 |
1.8.8