![]() |
TrinityCore
|
#include <wdtfile.h>
Public Member Functions | |
| WDTFile (char const *file_name, char const *file_name1) | |
| ~WDTFile (void) | |
| bool | init (uint32 mapId) |
| ADTFile * | GetMap (int x, int z) |
Public Attributes | |
| std::vector< std::string > | _wmoNames |
Private Attributes | |
| MPQFile | _file |
| std::string | filename |
| WDTFile::WDTFile | ( | char const * | file_name, |
| char const * | file_name1 | ||
| ) |
Definition at line 34 of file wdtfile.cpp.
References filename.
| WDTFile::~WDTFile | ( | void | ) |
Definition at line 118 of file wdtfile.cpp.
References _file, and MPQFile::close().
| ADTFile * WDTFile::GetMap | ( | int | x, |
| int | z | ||
| ) |
Definition at line 123 of file wdtfile.cpp.
References filename, and Trinity::StringFormat().
Referenced by ParsMapFiles().
| bool WDTFile::init | ( | uint32 | mapId | ) |
Definition at line 39 of file wdtfile.cpp.
References _file, _wmoNames, MPQFile::close(), MapObject::Extract(), Doodad::ExtractSet(), ExtractSingleWmo(), FixNameCase(), FixNameSpaces(), flipcc(), MPQFile::getPos(), ADT::MODF::Id, MPQFile::isEof(), MPQFile::read(), MPQFile::seek(), szWorkDirWmo, wdtGetPlainName(), and WmoDoodads.
Referenced by ParsMapFiles().
|
private |
Definition at line 38 of file wdtfile.h.
Referenced by init(), and ~WDTFile().
| std::vector<std::string> WDTFile::_wmoNames |
|
private |