Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
VMAP::TileAssembler Class Reference

#include <TileAssembler.h>

Public Member Functions

bool calculateTransformedBound (ModelSpawn &spawn)
bool convertRawFile (const std::string &pModelFilename)
bool convertWorld2 ()
void exportGameobjectModels ()
std::string getDirEntryNameFromModName (unsigned int pMapId, const std::string &pModPosName)
bool readMapSpawns ()
void setModelNameFilterMethod (bool(*pFilterMethod)(char *pName))
 TileAssembler (const std::string &pSrcDirName, const std::string &pDestDirName)
virtual ~TileAssembler ()

Private Attributes

unsigned int iCurrentUniqueNameId
std::string iDestDir
bool(* iFilterMethod )(char *pName)
std::string iSrcDir
G3D::Table< std::string, unsigned int > iUniqueNameIds
MapData mapData
std::set< std::string > spawnedModelFiles

Detailed Description

Definition at line 80 of file TileAssembler.h.

Constructor & Destructor Documentation

◆ TileAssembler()

VMAP::TileAssembler::TileAssembler ( const std::string & pSrcDirName,
const std::string & pDestDirName )

Definition at line 43 of file TileAssembler.cpp.

References iCurrentUniqueNameId, iDestDir, iFilterMethod, and iSrcDir.

◆ ~TileAssembler()

VMAP::TileAssembler::~TileAssembler ( )
virtual

Definition at line 50 of file TileAssembler.cpp.

Member Function Documentation

◆ calculateTransformedBound()

◆ convertRawFile()

◆ convertWorld2()

◆ exportGameobjectModels()

void VMAP::TileAssembler::exportGameobjectModels ( )

◆ getDirEntryNameFromModName()

std::string VMAP::TileAssembler::getDirEntryNameFromModName ( unsigned int pMapId,
const std::string & pModPosName )

◆ readMapSpawns()

◆ setModelNameFilterMethod()

void VMAP::TileAssembler::setModelNameFilterMethod ( bool(* pFilterMethod )(char *pName))
inline

Definition at line 101 of file TileAssembler.h.

References iFilterMethod.

Member Data Documentation

◆ iCurrentUniqueNameId

unsigned int VMAP::TileAssembler::iCurrentUniqueNameId
private

Definition at line 87 of file TileAssembler.h.

Referenced by TileAssembler().

◆ iDestDir

std::string VMAP::TileAssembler::iDestDir
private

◆ iFilterMethod

bool(* VMAP::TileAssembler::iFilterMethod) (char *pName)
private

Definition at line 85 of file TileAssembler.h.

Referenced by setModelNameFilterMethod(), and TileAssembler().

◆ iSrcDir

std::string VMAP::TileAssembler::iSrcDir
private

◆ iUniqueNameIds

G3D::Table<std::string, unsigned int > VMAP::TileAssembler::iUniqueNameIds
private

Definition at line 86 of file TileAssembler.h.

◆ mapData

MapData VMAP::TileAssembler::mapData
private

Definition at line 88 of file TileAssembler.h.

Referenced by convertWorld2(), and readMapSpawns().

◆ spawnedModelFiles

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

Definition at line 89 of file TileAssembler.h.

Referenced by convertWorld2(), and exportGameobjectModels().


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