|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <iostream>#include <thread>#include <sys/stat.h>#include "PathCommon.h"#include "MapBuilder.h"Go to the source code of this file.
Functions | |
| bool | checkDirectories (bool debugOutput) |
| void | CreateDir (std::string const &path) |
| int | finish (const char *message, int returnValue) |
| bool | handleArgs (int argc, char **argv, int &mapnum, int &tileX, int &tileY, float &maxAngle, bool &skipLiquid, bool &skipContinents, bool &skipJunkMaps, bool &skipBattlegrounds, bool &debugOutput, bool &silent, bool &bigBaseUnit, char *&offMeshInputPath, char *&file, unsigned int &threads) |
| int | main (int argc, char **argv) |
| bool checkDirectories | ( | bool | debugOutput | ) |
Definition at line 29 of file PathGenerator.cpp.
References CreateDir(), MMAP::getDirContents(), and MMAP::LISTFILE_DIRECTORY_NOT_FOUND.
Referenced by main().
| void CreateDir | ( | std::string const & | path | ) |
Definition at line 20 of file PathGenerator.cpp.
Referenced by checkDirectories().
| int finish | ( | const char * | message, |
| int | returnValue ) |
Definition at line 245 of file PathGenerator.cpp.
Referenced by main().
| bool handleArgs | ( | int | argc, |
| char ** | argv, | ||
| int & | mapnum, | ||
| int & | tileX, | ||
| int & | tileY, | ||
| float & | maxAngle, | ||
| bool & | skipLiquid, | ||
| bool & | skipContinents, | ||
| bool & | skipJunkMaps, | ||
| bool & | skipBattlegrounds, | ||
| bool & | debugOutput, | ||
| bool & | silent, | ||
| bool & | bigBaseUnit, | ||
| char *& | offMeshInputPath, | ||
| char *& | file, | ||
| unsigned int & | threads ) |
Definition at line 72 of file PathGenerator.cpp.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 252 of file PathGenerator.cpp.
References MMAP::MapBuilder::buildAllMaps(), MMAP::MapBuilder::buildMap(), MMAP::MapBuilder::buildMeshFromFile(), MMAP::MapBuilder::buildSingleTile(), checkDirectories(), finish(), MMAP::getMSTime(), MMAP::GetMSTimeDiffToNow(), and handleArgs().