AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
wmo.h File Reference
#include <memory>
#include <string>
#include <unordered_set>
#include <vector>
#include "vec3d.h"
#include "loadlib/loadlib.h"

Go to the source code of this file.

Classes

struct  WMO::MODS
 
struct  WMO::MODD
 
struct  WMODoodadData
 
class  WMORoot
 
struct  WMOLiquidHeader
 
struct  WMOLiquidVert
 
class  WMOGroup
 

Namespaces

namespace  ADT
 
namespace  WMO
 
namespace  MapObject
 

Enumerations

enum  MopyFlags {
  WHO_MATERIAL_UNK01 = 0x01 ,
  WMO_MATERIAL_NOCAMCOLLIDE = 0x02 ,
  WMO_MATERIAL_DETAIL = 0x04 ,
  WMO_MATERIAL_COLLISION = 0x08 ,
  WMO_MATERIAL_HINT = 0x10 ,
  WMO_MATERIAL_RENDER = 0x20 ,
  WMO_MATERIAL_WALL_SURFACE = 0x40 ,
  WMO_MATERIAL_COLLIDE_HIT = 0x80
}
 

Functions

static Vec3D fixCoords (const Vec3D &v)
 
void MapObject::Extract (ADT::MODF const &mapObjDef, char const *WmoInstName, uint32 mapID, uint32 tileX, uint32 tileY, FILE *pDirfile)
 

Enumeration Type Documentation

◆ MopyFlags

enum MopyFlags
Enumerator
WHO_MATERIAL_UNK01 
WMO_MATERIAL_NOCAMCOLLIDE 
WMO_MATERIAL_DETAIL 
WMO_MATERIAL_COLLISION 
WMO_MATERIAL_HINT 
WMO_MATERIAL_RENDER 
WMO_MATERIAL_WALL_SURFACE 
WMO_MATERIAL_COLLIDE_HIT 
31{
32 WHO_MATERIAL_UNK01 = 0x01,
36 WMO_MATERIAL_HINT = 0x10,
38 WMO_MATERIAL_WALL_SURFACE = 0x40, // Guessed
40};
@ WMO_MATERIAL_DETAIL
Definition: wmo.h:34
@ WMO_MATERIAL_COLLISION
Definition: wmo.h:35
@ WHO_MATERIAL_UNK01
Definition: wmo.h:32
@ WMO_MATERIAL_RENDER
Definition: wmo.h:37
@ WMO_MATERIAL_WALL_SURFACE
Definition: wmo.h:38
@ WMO_MATERIAL_COLLIDE_HIT
Definition: wmo.h:39
@ WMO_MATERIAL_NOCAMCOLLIDE
Definition: wmo.h:33
@ WMO_MATERIAL_HINT
Definition: wmo.h:36

Function Documentation

◆ fixCoords()

static Vec3D fixCoords ( const Vec3D v)
inlinestatic
68{ return Vec3D(v.z, v.x, v.y); }
Definition: vec3d.h:25
float x
Definition: vec3d.h:27
float y
Definition: vec3d.h:27
float z
Definition: vec3d.h:27

References Vec3D::x, Vec3D::y, and Vec3D::z.

Referenced by Doodad::Extract(), and MapObject::Extract().