AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
adt.h File Reference
#include "loadlib.h"

Go to the source code of this file.

Classes

class  adt_MCVT
 
class  adt_MCLQ
 
struct  adt_MCLQ::liquid_data
 
class  adt_MCNK
 
class  adt_MCIN
 
struct  adt_MCIN::adt_CELLS
 
struct  adt_liquid_instance
 
struct  adt_liquid_attributes
 
class  adt_MH2O
 
struct  adt_MH2O::adt_LIQUID
 
class  adt_MFBO
 
struct  adt_MFBO::plane
 
class  adt_MHDR
 
class  ADT_file
 

Macros

#define TILESIZE   (533.33333f)
 
#define CHUNKSIZE   ((TILESIZE) / 16.0f)
 
#define UNITSIZE   (CHUNKSIZE / 8.0f)
 
#define ADT_CELLS_PER_GRID   16
 
#define ADT_CELL_SIZE   8
 
#define ADT_GRID_SIZE   (ADT_CELLS_PER_GRID*ADT_CELL_SIZE)
 

Enumerations

enum  LiquidType {
  LIQUID_TYPE_WATER = 0 ,
  LIQUID_TYPE_OCEAN = 1 ,
  LIQUID_TYPE_MAGMA = 2 ,
  LIQUID_TYPE_SLIME = 3
}
 
enum class  LiquidVertexFormatType : uint16 {
  HeightDepth = 0 ,
  HeightTextureCoord = 1 ,
  Depth = 2
}
 

Macro Definition Documentation

◆ ADT_CELL_SIZE

#define ADT_CELL_SIZE   8

◆ ADT_CELLS_PER_GRID

#define ADT_CELLS_PER_GRID   16

◆ ADT_GRID_SIZE

#define ADT_GRID_SIZE   (ADT_CELLS_PER_GRID*ADT_CELL_SIZE)

◆ CHUNKSIZE

#define CHUNKSIZE   ((TILESIZE) / 16.0f)

◆ TILESIZE

#define TILESIZE   (533.33333f)

◆ UNITSIZE

#define UNITSIZE   (CHUNKSIZE / 8.0f)

Enumeration Type Documentation

◆ LiquidType

enum LiquidType
Enumerator
LIQUID_TYPE_WATER 
LIQUID_TYPE_OCEAN 
LIQUID_TYPE_MAGMA 
LIQUID_TYPE_SLIME 
28{
33};
@ LIQUID_TYPE_WATER
Definition: adt.h:29
@ LIQUID_TYPE_SLIME
Definition: adt.h:32
@ LIQUID_TYPE_MAGMA
Definition: adt.h:31
@ LIQUID_TYPE_OCEAN
Definition: adt.h:30

◆ LiquidVertexFormatType

enum class LiquidVertexFormatType : uint16
strong
Enumerator
HeightDepth 
HeightTextureCoord 
Depth