![]() |
TrinityCore
|
#include <wmo.h>
Public Member Functions | |
| WMORoot (std::string const &filename) | |
| bool | open () |
| bool | ConvertToVMAPRootWmo (FILE *output) |
Public Attributes | |
| unsigned int | color |
| uint32 | nTextures |
| uint32 | nGroups |
| uint32 | nPortals |
| uint32 | nLights |
| uint32 | nDoodadNames |
| uint32 | nDoodadDefs |
| uint32 | nDoodadSets |
| uint32 | RootWMOID |
| uint32 | flags |
| float | bbcorn1 [3] |
| float | bbcorn2 [3] |
| std::vector< char > | GroupNames |
| WMODoodadData | DoodadData |
| std::unordered_set< uint32 > | ValidDoodadNames |
Private Attributes | |
| std::string | filename |
| WMORoot::WMORoot | ( | std::string const & | filename | ) |
| bool WMORoot::ConvertToVMAPRootWmo | ( | FILE * | output | ) |
Definition at line 147 of file wmo.cpp.
References nGroups, VMAP::RAW_VMAP_MAGIC, and RootWMOID.
Referenced by ExtractSingleWmo().
| bool WMORoot::open | ( | ) |
Definition at line 39 of file wmo.cpp.
References bbcorn1, bbcorn2, MPQFile::close(), color, DoodadData, ExtractSingleModel(), filename, FixNameCase(), FixNameSpaces(), flags, flipcc(), GetPlainName(), MPQFile::getPointer(), MPQFile::getPos(), GroupNames, MPQFile::isEof(), nDoodadDefs, nDoodadNames, nDoodadSets, nGroups, nLights, nPortals, nTextures, WMODoodadData::Paths, MPQFile::read(), RootWMOID, MPQFile::seek(), WMODoodadData::Sets, WMODoodadData::Spawns, and ValidDoodadNames.
Referenced by ExtractSingleWmo().
| WMODoodadData WMORoot::DoodadData |
Definition at line 88 of file wmo.h.
Referenced by ExtractSingleWmo(), and open().
| uint32 WMORoot::flags |
Definition at line 83 of file wmo.h.
Referenced by open(), and WMOGroup::open().
| std::vector<char> WMORoot::GroupNames |
Definition at line 87 of file wmo.h.
Referenced by open(), and WMOGroup::ShouldSkip().
| uint32 WMORoot::nGroups |
Definition at line 83 of file wmo.h.
Referenced by ConvertToVMAPRootWmo(), ExtractSingleWmo(), and open().
| uint32 WMORoot::RootWMOID |
Definition at line 83 of file wmo.h.
Referenced by ConvertToVMAPRootWmo(), and open().
| std::unordered_set<uint32> WMORoot::ValidDoodadNames |
Definition at line 89 of file wmo.h.
Referenced by ExtractSingleWmo(), and open().