TrinityCore
PathGenerator.cpp File Reference
#include "Banner.h"
#include "DB2FileLoader.h"
#include "DB2FileSystemSource.h"
#include "ExtractorDB2LoadInfo.h"
#include "Locales.h"
#include "MapBuilder.h"
#include "PathCommon.h"
#include "Timer.h"
#include "Util.h"
#include "VMapManager2.h"
#include <boost/filesystem/operations.hpp>
#include <unordered_map>
#include <vector>
#include "Info/readme.txt"
+ Include dependency graph for PathGenerator.cpp:

Go to the source code of this file.

Namespaces

namespace  MMAP
 
namespace  MMAP::VMapFactory
 

Functions

std::unique_ptr< VMAP::VMapManager2MMAP::VMapFactory::CreateVMapManager ()
 
bool checkDirectories (bool debugOutput, std::vector< std::string > &dbcLocales)
 
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, uint8LoadLiquid (std::string const &locale, bool silent, int32 errorExitCode)
 
std::unordered_map< uint32, std::vector< uint32 > > LoadMap (std::string const &locale, bool silent, int32 errorExitCode)
 
int main (int argc, char **argv)
 

Variables

constexpr char Readme []
 

Function Documentation

◆ checkDirectories()

bool checkDirectories ( bool  debugOutput,
std::vector< std::string > &  dbcLocales 
)

Definition at line 65 of file PathGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ finish()

int finish ( char const *  message,
int  returnValue 
)

Definition at line 114 of file PathGenerator.cpp.

+ Here is the caller graph for this function:

◆ handleArgs()

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 121 of file PathGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadLiquid()

std::unordered_map< uint32, uint8 > LoadLiquid ( std::string const &  locale,
bool  silent,
int32  errorExitCode 
)

Definition at line 327 of file PathGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadMap()

std::unordered_map< uint32, std::vector< uint32 > > LoadMap ( std::string const &  locale,
bool  silent,
int32  errorExitCode 
)

Definition at line 355 of file PathGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 394 of file PathGenerator.cpp.

+ Here is the call graph for this function:

Variable Documentation

◆ Readme

constexpr char Readme[]
constexpr
Initial value:
=
{
}

Definition at line 32 of file PathGenerator.cpp.