#include <MapBuilder.h>
|
| | MapBuilder (boost::filesystem::path const &inputDirectory, boost::filesystem::path const &outputDirectory, Optional< float > maxWalkableAngle, Optional< float > maxWalkableAngleNotSteep, bool skipLiquid, bool skipContinents, bool skipJunkMaps, bool skipBattlegrounds, bool debugOutput, bool bigBaseUnit, int mapid, char const *offMeshFilePath, unsigned int threads) |
| |
| | ~MapBuilder () |
| |
| void | buildMeshFromFile (char const *name) |
| |
| void | buildSingleTile (uint32 mapID, uint32 tileX, uint32 tileY) |
| |
| void | buildMaps (Optional< uint32 > mapID) |
| |
Definition at line 76 of file MapBuilder.h.
◆ MapBuilder()
| MMAP::MapBuilder::MapBuilder |
( |
boost::filesystem::path const & |
inputDirectory, |
|
|
boost::filesystem::path const & |
outputDirectory, |
|
|
Optional< float > |
maxWalkableAngle, |
|
|
Optional< float > |
maxWalkableAngleNotSteep, |
|
|
bool |
skipLiquid, |
|
|
bool |
skipContinents, |
|
|
bool |
skipJunkMaps, |
|
|
bool |
skipBattlegrounds, |
|
|
bool |
debugOutput, |
|
|
bool |
bigBaseUnit, |
|
|
int |
mapid, |
|
|
char const * |
offMeshFilePath, |
|
|
unsigned int |
threads |
|
) |
| |
◆ ~MapBuilder()
| MMAP::MapBuilder::~MapBuilder |
( |
| ) |
|
◆ buildMap()
| void MMAP::MapBuilder::buildMap |
( |
uint32 |
mapID | ) |
|
|
private |
◆ buildMaps()
◆ buildMeshFromFile()
| void MMAP::MapBuilder::buildMeshFromFile |
( |
char const * |
name | ) |
|
◆ buildNavMesh()
| void MMAP::MapBuilder::buildNavMesh |
( |
uint32 |
mapID, |
|
|
dtNavMesh *& |
navMesh |
|
) |
| |
|
private |
*** calculate number of bits needed to store tiles & polys ***/
Definition at line 401 of file MapBuilder.cpp.
◆ buildSingleTile()
◆ currentPercentageDone()
| uint32 MMAP::MapBuilder::currentPercentageDone |
( |
| ) |
const |
|
private |
◆ discoverTiles()
| void MMAP::MapBuilder::discoverTiles |
( |
| ) |
|
|
private |
◆ getTileList()
| std::span< uint32 const > MMAP::MapBuilder::getTileList |
( |
uint32 |
mapID | ) |
const |
|
private |
◆ isBattlegroundMap()
| bool MMAP::MapBuilder::isBattlegroundMap |
( |
uint32 |
mapID | ) |
const |
|
private |
◆ isContinentMap()
| bool MMAP::MapBuilder::isContinentMap |
( |
uint32 |
mapID | ) |
const |
|
private |
◆ isDevMap()
| bool MMAP::MapBuilder::isDevMap |
( |
uint32 |
mapID | ) |
const |
|
private |
◆ isTransportMap()
| bool MMAP::MapBuilder::isTransportMap |
( |
uint32 |
mapID | ) |
const |
|
private |
◆ ParseOffMeshConnectionsFile()
| void MMAP::MapBuilder::ParseOffMeshConnectionsFile |
( |
char const * |
offMeshFilePath | ) |
|
|
private |
◆ percentageDone()
| uint32 MMAP::MapBuilder::percentageDone |
( |
uint32 |
totalTiles, |
|
|
uint32 |
totalTilesDone |
|
) |
| const |
|
private |
◆ shouldSkipMap()
| bool MMAP::MapBuilder::shouldSkipMap |
( |
uint32 |
mapID | ) |
const |
|
private |
◆ MapTileBuilder
◆ TileBuilder
◆ _cancelationToken
| std::atomic<bool> MMAP::MapBuilder::_cancelationToken |
|
private |
◆ _queue
◆ m_bigBaseUnit
| bool MMAP::MapBuilder::m_bigBaseUnit |
|
private |
◆ m_debugOutput
| bool MMAP::MapBuilder::m_debugOutput |
|
private |
◆ m_inputDirectory
| boost::filesystem::path MMAP::MapBuilder::m_inputDirectory |
|
private |
◆ m_mapid
| int32 MMAP::MapBuilder::m_mapid |
|
private |
◆ m_maxWalkableAngle
| Optional<float> MMAP::MapBuilder::m_maxWalkableAngle |
|
private |
◆ m_maxWalkableAngleNotSteep
| Optional<float> MMAP::MapBuilder::m_maxWalkableAngleNotSteep |
|
private |
◆ m_offMeshConnections
| std::vector<OffMeshData> MMAP::MapBuilder::m_offMeshConnections |
|
private |
◆ m_outputDirectory
| boost::filesystem::path MMAP::MapBuilder::m_outputDirectory |
|
private |
◆ m_skipBattlegrounds
| bool MMAP::MapBuilder::m_skipBattlegrounds |
|
private |
◆ m_skipContinents
| bool MMAP::MapBuilder::m_skipContinents |
|
private |
◆ m_skipJunkMaps
| bool MMAP::MapBuilder::m_skipJunkMaps |
|
private |
◆ m_skipLiquid
| bool MMAP::MapBuilder::m_skipLiquid |
|
private |
◆ m_threads
| unsigned int MMAP::MapBuilder::m_threads |
|
private |
◆ m_tileBuilders
| std::vector<std::unique_ptr<TileBuilder> > MMAP::MapBuilder::m_tileBuilders |
|
private |
◆ m_tiles
◆ m_totalTiles
| uint32 MMAP::MapBuilder::m_totalTiles |
|
private |
◆ m_totalTilesProcessed
| std::atomic<uint32> MMAP::MapBuilder::m_totalTilesProcessed |
|
private |
The documentation for this class was generated from the following files: