Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
PathGenerator.cpp File Reference
#include <iostream>
#include <thread>
#include <sys/stat.h>
#include "PathCommon.h"
#include "MapBuilder.h"
Include dependency graph for PathGenerator.cpp:

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)

Function Documentation

◆ checkDirectories()

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().

◆ CreateDir()

void CreateDir ( std::string const & path)

Definition at line 20 of file PathGenerator.cpp.

Referenced by checkDirectories().

◆ finish()

int finish ( const char * message,
int returnValue )

Definition at line 245 of file PathGenerator.cpp.

Referenced by main().

◆ handleArgs()

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().

◆ main()