AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Functions | |
void | Extract (ADT::MDDF const &doodadDef, char const *ModelInstName, uint32 mapID, uint32 tileX, uint32 tileY, FILE *pDirfile) |
void | ExtractSet (WMODoodadData const &doodadData, ADT::MODF const &wmo, uint32 mapID, uint32 tileX, uint32 tileY, FILE *pDirfile) |
void Doodad::Extract | ( | ADT::MDDF const & | doodadDef, |
char const * | ModelInstName, | ||
uint32 | mapID, | ||
uint32 | tileX, | ||
uint32 | tileY, | ||
FILE * | pDirfile | ||
) |
References fixCoords(), GenerateUniqueObjectId(), MOD_M2, MOD_WORLDSPAWN, ADT::MDDF::Position, ADT::MDDF::Rotation, ADT::MDDF::Scale, szWorkDirWmo, and ADT::MDDF::UniqueId.
Referenced by ADTFile::init().
void Doodad::ExtractSet | ( | WMODoodadData const & | doodadData, |
ADT::MODF const & | wmo, | ||
uint32 | mapID, | ||
uint32 | tileX, | ||
uint32 | tileY, | ||
FILE * | pDirfile | ||
) |
References WMO::MODS::Count, ADT::MODF::DoodadSet, fixname2(), fixnamen(), GenerateUniqueObjectId(), GetPlainName(), MOD_M2, MOD_WORLDSPAWN, WMO::MODD::NameIndex, WMODoodadData::Paths, ADT::MODF::Position, WMO::MODD::Position, WMODoodadData::References, ADT::MODF::Rotation, WMO::MODD::Rotation, WMO::MODD::Scale, WMODoodadData::Sets, WMODoodadData::Spawns, WMO::MODS::StartIndex, szWorkDirWmo, ADT::MODF::UniqueId, Quaternion::W, Vec3D::x, Quaternion::X, Vec3D::y, Quaternion::Y, Vec3D::z, and Quaternion::Z.
Referenced by ADTFile::init(), and WDTFile::init().