![]() |
TrinityCore
|
#include "Banner.h"#include "DBCFileLoader.h"#include "Locales.h"#include "MapBuilder.h"#include "PathCommon.h"#include "Timer.h"#include "Util.h"#include <boost/filesystem.hpp>#include <unordered_map>#include "Info/readme.txt"#include "WheatyExceptionReport.h"
Include dependency graph for PathGenerator.cpp:Go to the source code of this file.
Functions | |
| uint32 | GetLiquidFlags (uint32 liquidId) |
| bool | checkDirectories (bool debugOutput) |
| int | finish (char const *message, int returnValue) |
| bool | handleArgs (int argc, char **argv, int &mapnum, int &tileX, int &tileY, Optional< float > &maxAngle, Optional< float > &maxAngleNotSteep, bool &skipLiquid, bool &skipContinents, bool &skipJunkMaps, bool &skipBattlegrounds, bool &debugOutput, bool &silent, bool &bigBaseUnit, char *&offMeshInputPath, char *&file, unsigned int &threads) |
| std::unordered_map< uint32, uint8 > | LoadLiquid () |
| int | main (int argc, char **argv) |
| INIT_CRASH_HANDLER () | |
Variables | |
| constexpr char | Readme [] |
| bool checkDirectories | ( | bool | debugOutput | ) |
Definition at line 46 of file PathGenerator.cpp.
References MMAP::getDirContents(), and MMAP::LISTFILE_DIRECTORY_NOT_FOUND.
Referenced by main().
| int finish | ( | char const * | message, |
| int | returnValue | ||
| ) |
Definition at line 80 of file PathGenerator.cpp.
Referenced by handleArgs(), and main().
Definition at line 40 of file PathGenerator.cpp.
| bool handleArgs | ( | int | argc, |
| char ** | argv, | ||
| int & | mapnum, | ||
| int & | tileX, | ||
| int & | tileY, | ||
| Optional< float > & | maxAngle, | ||
| Optional< float > & | maxAngleNotSteep, | ||
| bool & | skipLiquid, | ||
| bool & | skipContinents, | ||
| bool & | skipJunkMaps, | ||
| bool & | skipBattlegrounds, | ||
| bool & | debugOutput, | ||
| bool & | silent, | ||
| bool & | bigBaseUnit, | ||
| char *& | offMeshInputPath, | ||
| char *& | file, | ||
| unsigned int & | threads | ||
| ) |
Definition at line 87 of file PathGenerator.cpp.
References finish(), and Readme.
Referenced by main().
| INIT_CRASH_HANDLER | ( | ) |
Definition at line 293 of file PathGenerator.cpp.
References DBCFileLoader::GetNumRows(), DBCFileLoader::getRecord(), DBCFileLoader::Record::getUInt(), and DBCFileLoader::Load().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 310 of file PathGenerator.cpp.
References MMAP::MapBuilder::buildMaps(), MMAP::MapBuilder::buildMeshFromFile(), MMAP::MapBuilder::buildSingleTile(), checkDirectories(), finish(), getMSTime(), GetMSTimeDiffToNow(), handleArgs(), Trinity::Locale::Init(), LoadLiquid(), secsToTimeString(), Trinity::Banner::Show(), and Trinity::VerifyOsVersion().
|
constexpr |