Go to the source code of this file.
|
| dtTileCacheContourSet * | dtAllocTileCacheContourSet (dtTileCacheAlloc *alloc) |
| |
| dtTileCachePolyMesh * | dtAllocTileCachePolyMesh (dtTileCacheAlloc *alloc) |
| |
| dtStatus | dtBuildTileCacheContours (dtTileCacheAlloc *alloc, dtTileCacheLayer &layer, const int walkableClimb, const float maxError, dtTileCacheContourSet &lcset) |
| |
| dtStatus | dtBuildTileCacheLayer (dtTileCacheCompressor *comp, dtTileCacheLayerHeader *header, const unsigned char *heights, const unsigned char *areas, const unsigned char *cons, unsigned char **outData, int *outDataSize) |
| |
| dtStatus | dtBuildTileCachePolyMesh (dtTileCacheAlloc *alloc, dtTileCacheContourSet &lcset, dtTileCachePolyMesh &mesh) |
| |
| dtStatus | dtBuildTileCacheRegions (dtTileCacheAlloc *alloc, dtTileCacheLayer &layer, const int walkableClimb) |
| |
| dtStatus | dtDecompressTileCacheLayer (dtTileCacheAlloc *alloc, dtTileCacheCompressor *comp, unsigned char *compressed, const int compressedSize, dtTileCacheLayer **layerOut) |
| |
| void | dtFreeTileCacheContourSet (dtTileCacheAlloc *alloc, dtTileCacheContourSet *cset) |
| |
| void | dtFreeTileCacheLayer (dtTileCacheAlloc *alloc, dtTileCacheLayer *layer) |
| |
| void | dtFreeTileCachePolyMesh (dtTileCacheAlloc *alloc, dtTileCachePolyMesh *lmesh) |
| |
| dtStatus | dtMarkCylinderArea (dtTileCacheLayer &layer, const float *orig, const float cs, const float ch, const float *pos, const float radius, const float height, const unsigned char areaId) |
| |
| bool | dtTileCacheHeaderSwapEndian (unsigned char *data, const int dataSize) |
| | Swaps the endianess of the compressed tile data's header (dtTileCacheLayerHeader). Tile layer data does not need endian swapping as it consits only of bytes. More...
|
| |
| bool dtTileCacheHeaderSwapEndian |
( |
unsigned char * |
data, |
|
|
const int |
dataSize |
|
) |
| |
Swaps the endianess of the compressed tile data's header (dtTileCacheLayerHeader). Tile layer data does not need endian swapping as it consits only of bytes.
- Parameters
-
| [in,out] | data | The tile data array. |
| [in] | dataSize | The size of the data array. |
| const int DT_TILECACHE_MAGIC = 'D'<<24 | 'T'<<16 | 'L'<<8 | 'R' |
|
static |
| const unsigned char DT_TILECACHE_NULL_AREA = 0 |
|
static |
| const unsigned short DT_TILECACHE_NULL_IDX = 0xffff |
|
static |
| const int DT_TILECACHE_VERSION = 1 |
|
static |
| const unsigned char DT_TILECACHE_WALKABLE_AREA = 63 |
|
static |