|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <wmo.h>
Public Member Functions | |
| int | ConvertToVMAPGroupWmo (FILE *output, WMORoot *rootWMO, bool preciseVectorData) |
| bool | open () |
| WMOGroup (std::string const &filename) | |
| ~WMOGroup () | |
Public Attributes | |
| float | bbcorn1 [3] = { } |
| float | bbcorn2 [3] = { } |
| int | descGroupName |
| uint32 | fogIdx |
| int | groupName |
| uint32 | groupWMOID |
| WMOLiquidHeader * | hlq |
| char * | LiquBytes |
| WMOLiquidVert * | LiquEx |
| int | LiquEx_size |
| uint32 | liquflags |
| uint32 | liquidType |
| uint16 * | MOBA |
| int | moba_size |
| int * | MobaEx |
| int | mogpFlags |
| uint16 | moprIdx |
| uint16 | moprNItems |
| char * | MOPY |
| int | mopy_size |
| uint16 * | MOVI |
| uint16 * | MoviEx |
| float * | MOVT |
| uint16 | nBatchA |
| uint16 | nBatchB |
| uint32 | nBatchC |
| int | nTriangles |
| unsigned int | nVertices |
Private Attributes | |
| std::string | filename |
| WMOGroup::WMOGroup | ( | std::string const & | filename | ) |
Definition at line 132 of file wmo.cpp.
References bbcorn1, bbcorn2, descGroupName, filename, fogIdx, groupName, groupWMOID, hlq, LiquBytes, LiquEx, LiquEx_size, liquflags, liquidType, MOBA, moba_size, MobaEx, mogpFlags, moprIdx, moprNItems, MOPY, mopy_size, MOVI, MoviEx, MOVT, nBatchA, nBatchB, nBatchC, nTriangles, and nVertices.
| WMOGroup::~WMOGroup | ( | ) |
| int WMOGroup::ConvertToVMAPGroupWmo | ( | FILE * | output, |
| WMORoot * | rootWMO, | ||
| bool | preciseVectorData ) |
Definition at line 238 of file wmo.cpp.
References bbcorn1, bbcorn2, groupWMOID, hlq, LiquBytes, LiquEx, LiquEx_size, liquflags, liquidType, WMORoot::liquidType, MOBA, moba_size, MobaEx, mogpFlags, MOPY, MOVI, MoviEx, MOVT, nTriangles, nVertices, preciseVectorData, WMO_MATERIAL_COLLIDE_HIT, WMO_MATERIAL_HINT, and WMO_MATERIAL_NO_COLLISION.
Referenced by ExtractSingleWmo().
| bool WMOGroup::open | ( | ) |
Definition at line 143 of file wmo.cpp.
References bbcorn1, bbcorn2, MPQFile::close(), descGroupName, filename, flipcc(), fogIdx, MPQFile::getPos(), groupName, groupWMOID, hlq, MPQFile::isEof(), LiquBytes, LiquEx, LiquEx_size, liquflags, liquidType, MOBA, moba_size, mogpFlags, moprIdx, moprNItems, MOPY, mopy_size, MOVI, MOVT, nBatchA, nBatchB, nBatchC, nTriangles, nVertices, MPQFile::read(), MPQFile::seek(), and WorldMpq.
Referenced by ExtractSingleWmo().
| float WMOGroup::bbcorn1[3] = { } |
Definition at line 83 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| float WMOGroup::bbcorn2[3] = { } |
Definition at line 84 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| int WMOGroup::descGroupName |
Definition at line 81 of file wmo.h.
Referenced by open(), and WMOGroup().
|
private |
Definition at line 68 of file wmo.h.
Referenced by open(), and WMOGroup().
| uint32 WMOGroup::fogIdx |
Definition at line 89 of file wmo.h.
Referenced by open(), and WMOGroup().
| int WMOGroup::groupName |
Definition at line 81 of file wmo.h.
Referenced by open(), and WMOGroup().
| uint32 WMOGroup::groupWMOID |
Definition at line 89 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| WMOLiquidHeader* WMOGroup::hlq |
Definition at line 78 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), WMOGroup(), and ~WMOGroup().
| char* WMOGroup::LiquBytes |
Definition at line 80 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), WMOGroup(), and ~WMOGroup().
| WMOLiquidVert* WMOGroup::LiquEx |
Definition at line 79 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), WMOGroup(), and ~WMOGroup().
| int WMOGroup::LiquEx_size |
Definition at line 92 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| uint32 WMOGroup::liquflags |
Definition at line 95 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| uint32 WMOGroup::liquidType |
Definition at line 89 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| uint16* WMOGroup::MOBA |
Definition at line 76 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), WMOGroup(), and ~WMOGroup().
| int WMOGroup::moba_size |
Definition at line 91 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| int* WMOGroup::MobaEx |
Definition at line 77 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), and WMOGroup().
| int WMOGroup::mogpFlags |
Definition at line 82 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| uint16 WMOGroup::moprIdx |
Definition at line 85 of file wmo.h.
Referenced by open(), and WMOGroup().
| uint16 WMOGroup::moprNItems |
Definition at line 86 of file wmo.h.
Referenced by open(), and WMOGroup().
| char* WMOGroup::MOPY |
Definition at line 72 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), WMOGroup(), and ~WMOGroup().
| int WMOGroup::mopy_size |
Definition at line 91 of file wmo.h.
Referenced by open(), and WMOGroup().
| uint16* WMOGroup::MOVI |
Definition at line 73 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), WMOGroup(), and ~WMOGroup().
| uint16* WMOGroup::MoviEx |
Definition at line 74 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), and WMOGroup().
| float* WMOGroup::MOVT |
Definition at line 75 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), WMOGroup(), and ~WMOGroup().
| uint16 WMOGroup::nBatchA |
Definition at line 87 of file wmo.h.
Referenced by open(), and WMOGroup().
| uint16 WMOGroup::nBatchB |
Definition at line 88 of file wmo.h.
Referenced by open(), and WMOGroup().
| uint32 WMOGroup::nBatchC |
Definition at line 89 of file wmo.h.
Referenced by open(), and WMOGroup().
| int WMOGroup::nTriangles |
Definition at line 94 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().
| unsigned int WMOGroup::nVertices |
Definition at line 93 of file wmo.h.
Referenced by ConvertToVMAPGroupWmo(), open(), and WMOGroup().