19 #ifndef _MAP_BUILDER_H
20 #define _MAP_BUILDER_H
44 MapTiles(
uint32 id, std::set<uint32>* tiles) : m_mapId(id), m_tiles(tiles) {}
80 bool skipLiquid =
false,
81 bool skipContinents =
false,
82 bool skipJunkMaps =
true,
83 bool skipBattlegrounds =
false,
84 bool debugOutput =
false,
85 bool bigBaseUnit =
false,
86 const char* offMeshFilePath =
NULL);
91 void buildMap(
uint32 mapID);
92 void buildMeshFromFile(
char* name);
98 void buildAllMaps(
int threads);
104 void discoverTiles();
105 std::set<uint32>* getTileList(
uint32 mapID);
112 void buildMoveMapTile(
uint32 mapID,
121 float* verts,
int vertCount,
122 float* bmin,
float* bmax);
125 bool shouldSkipMap(
uint32 mapID);
126 bool isTransportMap(
uint32 mapID);
void rcFreeCompactHeightfield(rcCompactHeightfield *chf)
Definition: Recast.cpp:102
Definition: TerrainBuilder.h:78
TileList m_tiles
Definition: MapBuilder.h:130
MapTiles()
Definition: MapBuilder.h:42
uint32 m_mapId
Definition: MapBuilder.h:47
bool m_skipBattlegrounds
Definition: MapBuilder.h:137
arena_t NULL
Definition: jemalloc_internal.h:624
bool operator==(uint32 id)
Definition: MapBuilder.h:50
Definition: MMapFactory.cpp:22
void rcFreeHeightField(rcHeightfield *hf)
Definition: Recast.cpp:80
~Tile()
Definition: MapBuilder.h:61
std::list< MapTiles > TileList
Definition: MapBuilder.h:56
Definition: IVMapManager.h:31
~MapTiles()
Definition: MapBuilder.h:45
rcHeightfield * solid
Definition: MapBuilder.h:70
rcPolyMeshDetail * dmesh
Definition: MapBuilder.h:73
Definition: DetourNavMesh.h:323
rcContourSet * cset
Definition: MapBuilder.h:71
bool m_skipContinents
Definition: MapBuilder.h:135
bool m_skipJunkMaps
Definition: MapBuilder.h:136
std::atomic< bool > _cancelationToken
Definition: MapBuilder.h:147
MapTiles(uint32 id, std::set< uint32 > *tiles)
Definition: MapBuilder.h:44
uint32_t uint32
Definition: Define.h:150
Tile()
Definition: MapBuilder.h:60
bool m_bigBaseUnit
Definition: MapBuilder.h:140
Definition: MapBuilder.h:40
bool m_debugOutput
Definition: MapBuilder.h:132
float m_maxWalkableAngle
Definition: MapBuilder.h:139
Definition: MapBuilder.h:58
TerrainBuilder * m_terrainBuilder
Definition: MapBuilder.h:129
std::vector< std::thread > _workerThreads
Definition: MapBuilder.h:145
void rcFreePolyMeshDetail(rcPolyMeshDetail *dmesh)
Definition: Recast.cpp:178
Definition: TerrainBuilder.h:61
rcContext * m_rcContext
Definition: MapBuilder.h:143
ProducerConsumerQueue< uint32 > _queue
Definition: MapBuilder.h:146
rcPolyMesh * pmesh
Definition: MapBuilder.h:72
const char * m_offMeshFilePath
Definition: MapBuilder.h:134
void rcFreePolyMesh(rcPolyMesh *pmesh)
Definition: Recast.cpp:160
rcCompactHeightfield * chf
Definition: MapBuilder.h:69
Definition: MapBuilder.h:76
void rcFreeContourSet(rcContourSet *cset)
Definition: Recast.cpp:141
std::set< uint32 > * m_tiles
Definition: MapBuilder.h:48