Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
wmo.h File Reference
#include <string>
#include <set>
#include "vec3d.h"
#include "mpqfile.h"
Include dependency graph for wmo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WMOGroup
class  WMOInstance
struct  WMOLiquidHeader
struct  WMOLiquidVert
class  WMORoot

Macros

#define CHUNKSIZE   ((TILESIZE) / 16.0f)
#define TILESIZE   (533.33333f)
#define WMO_MATERIAL_COLLIDE_HIT   0x20
#define WMO_MATERIAL_DETAIL   0x02
#define WMO_MATERIAL_HINT   0x08
#define WMO_MATERIAL_NO_COLLISION   0x04
#define WMO_MATERIAL_NOCAMCOLLIDE   0x01
#define WMO_MATERIAL_RENDER   0x10
#define WMO_MATERIAL_WALL_SURFACE   0x40

Functions

static Vec3D fixCoords (const Vec3D &v)

Macro Definition Documentation

◆ CHUNKSIZE

#define CHUNKSIZE   ((TILESIZE) / 16.0f)

Definition at line 9 of file wmo.h.

◆ TILESIZE

#define TILESIZE   (533.33333f)

Definition at line 8 of file wmo.h.

◆ WMO_MATERIAL_COLLIDE_HIT

#define WMO_MATERIAL_COLLIDE_HIT   0x20

Definition at line 22 of file wmo.h.

Referenced by WMOGroup::ConvertToVMAPGroupWmo().

◆ WMO_MATERIAL_DETAIL

#define WMO_MATERIAL_DETAIL   0x02

Definition at line 18 of file wmo.h.

◆ WMO_MATERIAL_HINT

#define WMO_MATERIAL_HINT   0x08

Definition at line 20 of file wmo.h.

Referenced by WMOGroup::ConvertToVMAPGroupWmo().

◆ WMO_MATERIAL_NO_COLLISION

#define WMO_MATERIAL_NO_COLLISION   0x04

Definition at line 19 of file wmo.h.

Referenced by WMOGroup::ConvertToVMAPGroupWmo().

◆ WMO_MATERIAL_NOCAMCOLLIDE

#define WMO_MATERIAL_NOCAMCOLLIDE   0x01

Definition at line 17 of file wmo.h.

◆ WMO_MATERIAL_RENDER

#define WMO_MATERIAL_RENDER   0x10

Definition at line 21 of file wmo.h.

◆ WMO_MATERIAL_WALL_SURFACE

#define WMO_MATERIAL_WALL_SURFACE   0x40

Definition at line 23 of file wmo.h.

Function Documentation

◆ fixCoords()

Vec3D fixCoords ( const Vec3D & v)
inlinestatic

Definition at line 30 of file wmo.h.

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

Referenced by ModelInstance::ModelInstance(), and WMOInstance::WMOInstance().