![]() |
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 |
| float | bbcorn1 [3] |
| float | bbcorn2 [3] |
| uint16 | flags |
| uint16 | numLod |
| std::vector< char > | GroupNames |
| WMODoodadData | DoodadData |
| std::unordered_set< uint32 > | ValidDoodadNames |
| std::vector< uint32 > | groupFileDataIDs |
Private Attributes | |
| std::string | filename |
| WMORoot::WMORoot | ( | std::string const & | filename | ) |
| bool WMORoot::ConvertToVMAPRootWmo | ( | FILE * | output | ) |
Definition at line 189 of file wmo.cpp.
References nGroups, None, VMAP::RAW_VMAP_MAGIC, and RootWMOID.
Referenced by ExtractSingleWmo().
| bool WMORoot::open | ( | ) |
Definition at line 40 of file wmo.cpp.
References ASSERT, bbcorn1, bbcorn2, CascStorage, CStringSentinel_T::Checked(), CASCFile::close(), color, CStringSentinel, DoodadData, ExtractSingleModel(), WMODoodadData::FileDataIds, filename, flags, CASCFile::getPos(), groupFileDataIDs, GroupNames, CASCFile::isEof(), nDoodadDefs, nDoodadNames, nDoodadSets, nGroups, nLights, nPortals, nTextures, numLod, WMODoodadData::Paths, CASCFile::read(), RootWMOID, CASCFile::seek(), WMODoodadData::Sets, WMODoodadData::Spawns, Trinity::StringFormat(), and ValidDoodadNames.
Referenced by ExtractSingleWmo().
| WMODoodadData WMORoot::DoodadData |
Definition at line 91 of file wmo.h.
Referenced by ExtractSingleWmo(), and open().
| uint16 WMORoot::flags |
Definition at line 88 of file wmo.h.
Referenced by open(), and WMOGroup::open().
| std::vector<uint32> WMORoot::groupFileDataIDs |
Definition at line 93 of file wmo.h.
Referenced by ExtractSingleWmo(), and open().
| std::vector<char> WMORoot::GroupNames |
Definition at line 90 of file wmo.h.
Referenced by open(), and WMOGroup::ShouldSkip().
| uint32 WMORoot::nGroups |
Definition at line 85 of file wmo.h.
Referenced by ConvertToVMAPRootWmo(), and open().
| uint32 WMORoot::RootWMOID |
Definition at line 85 of file wmo.h.
Referenced by ConvertToVMAPRootWmo(), and open().
| std::unordered_set<uint32> WMORoot::ValidDoodadNames |
Definition at line 92 of file wmo.h.
Referenced by ExtractSingleWmo(), and open().