|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <string>Go to the source code of this file.
Enumerations | |
| enum | ModelFlags { MOD_M2 = 1 , MOD_WORLDSPAWN = 1<<1 , MOD_HAS_BOUND = 1<<2 } |
Functions | |
| void | ExtractGameobjectModels () |
| bool | ExtractSingleModel (std::string &fname) |
| bool | ExtractSingleWmo (std::string &fname) |
| bool | FileExists (const char *file) |
| void | strToLower (char *str) |
Variables | |
| const char * | szRawVMAPMagic |
| const char * | szWorkDirWmo |
| enum ModelFlags |
| Enumerator | |
|---|---|
| MOD_M2 | |
| MOD_WORLDSPAWN | |
| MOD_HAS_BOUND | |
Definition at line 11 of file vmapexport.h.
| void ExtractGameobjectModels | ( | ) |
Definition at line 44 of file gameobject_extract.cpp.
References DBCFile::begin(), DBCFile::end(), ExtractSingleModel(), ExtractSingleWmo(), FixNameCase(), FixNameSpaces(), GetExtension(), GetPlainName(), model_list, DBCFile::open(), strToLower(), szWorkDirWmo, and WorldMpq.
Referenced by main().
| bool ExtractSingleModel | ( | std::string & | fname | ) |
Definition at line 14 of file gameobject_extract.cpp.
References Model::ConvertToVMAPModel(), FileExists(), FixNameCase(), FixNameSpaces(), GetPlainName(), Model::open(), and szWorkDirWmo.
Referenced by ExtractGameobjectModels(), and ADTFile::init().
| bool ExtractSingleWmo | ( | std::string & | fname | ) |
Definition at line 327 of file vmapexport.cpp.
References WMOGroup::ConvertToVMAPGroupWmo(), WMORoot::ConvertToVMAPRootWmo(), FileExists(), FixNameCase(), GetPlainName(), WMORoot::nGroups, WMOGroup::open(), WMORoot::open(), preciseVectorData, and szWorkDirWmo.
Referenced by ExtractGameobjectModels(), and ExtractWmo().
| bool FileExists | ( | const char * | file | ) |
Definition at line 234 of file vmapexport.cpp.
Referenced by ExtractSingleWmo(), and ReadLiquidTypeTableDBC().
| void strToLower | ( | char * | str | ) |
Definition at line 244 of file vmapexport.cpp.
Referenced by ExtractGameobjectModels().
|
extern |
Definition at line 116 of file vmapexport.cpp.
Referenced by Model::ConvertToVMAPModel(), and WMORoot::ConvertToVMAPRootWmo().
|
extern |
Definition at line 115 of file vmapexport.cpp.
Referenced by ExtractGameobjectModels(), ExtractSingleModel(), ExtractSingleWmo(), ADTFile::init(), WDTFile::init(), main(), ModelInstance::ModelInstance(), and WMOInstance::WMOInstance().