TrinityCore
Loading...
Searching...
No Matches
VMAP::TileAssembler Class Reference

#include <TileAssembler.h>

Public Member Functions

 TileAssembler (std::string const &srcDirName, std::string const &destDirName, uint32 threads)
 
bool convertWorld2 ()
 
bool convertMap (MapSpawns &data) const
 
bool calculateTransformedBound (ModelSpawn &spawn) const
 
void exportGameobjectModels ()
 
bool convertRawFile (const std::string &pModelFilename) const
 

Static Public Member Functions

static bool readMapSpawns (FILE *dirf, MapSpawns *data)
 

Private Attributes

boost::filesystem::path iSrcDir
 
boost::filesystem::path iDestDir
 
uint32 iThreads
 
std::set< std::string > spawnedModelFiles
 

Detailed Description

Definition at line 93 of file TileAssembler.h.

Constructor & Destructor Documentation

◆ TileAssembler()

VMAP::TileAssembler::TileAssembler ( std::string const &  srcDirName,
std::string const &  destDirName,
uint32  threads 
)

Definition at line 55 of file TileAssembler.cpp.

Member Function Documentation

◆ calculateTransformedBound()

bool VMAP::TileAssembler::calculateTransformedBound ( ModelSpawn spawn) const

Definition at line 335 of file TileAssembler.cpp.

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

◆ convertMap()

bool VMAP::TileAssembler::convertMap ( MapSpawns data) const

Definition at line 169 of file TileAssembler.cpp.

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

◆ convertRawFile()

bool VMAP::TileAssembler::convertRawFile ( const std::string &  pModelFilename) const

Definition at line 372 of file TileAssembler.cpp.

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

◆ convertWorld2()

bool VMAP::TileAssembler::convertWorld2 ( )

Definition at line 60 of file TileAssembler.cpp.

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

◆ exportGameobjectModels()

void VMAP::TileAssembler::exportGameobjectModels ( )

Definition at line 405 of file TileAssembler.cpp.

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

◆ readMapSpawns()

bool VMAP::TileAssembler::readMapSpawns ( FILE *  dirf,
MapSpawns data 
)
static

Definition at line 314 of file TileAssembler.cpp.

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

Member Data Documentation

◆ iDestDir

boost::filesystem::path VMAP::TileAssembler::iDestDir
private

Definition at line 97 of file TileAssembler.h.

◆ iSrcDir

boost::filesystem::path VMAP::TileAssembler::iSrcDir
private

Definition at line 96 of file TileAssembler.h.

◆ iThreads

uint32 VMAP::TileAssembler::iThreads
private

Definition at line 98 of file TileAssembler.h.

◆ spawnedModelFiles

std::set<std::string> VMAP::TileAssembler::spawnedModelFiles
private

Definition at line 99 of file TileAssembler.h.


The documentation for this class was generated from the following files: