TrinityCore
Loading...
Searching...
No Matches
adt.h File Reference
#include "loadlib.h"
+ Include dependency graph for adt.h:
+ This graph shows which files directly or indirectly include this file:

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

Definition at line 39 of file adt.h.

◆ ADT_CELLS_PER_GRID

#define ADT_CELLS_PER_GRID   16

Definition at line 38 of file adt.h.

◆ ADT_GRID_SIZE

#define ADT_GRID_SIZE   (ADT_CELLS_PER_GRID*ADT_CELL_SIZE)

Definition at line 40 of file adt.h.

◆ CHUNKSIZE

#define CHUNKSIZE   ((TILESIZE) / 16.0f)

Definition at line 24 of file adt.h.

◆ TILESIZE

#define TILESIZE   (533.33333f)

Definition at line 23 of file adt.h.

◆ UNITSIZE

#define UNITSIZE   (CHUNKSIZE / 8.0f)

Definition at line 25 of file adt.h.

Enumeration Type Documentation

◆ LiquidType

enum LiquidType
Enumerator
LIQUID_TYPE_WATER 
LIQUID_TYPE_OCEAN 
LIQUID_TYPE_MAGMA 
LIQUID_TYPE_SLIME 

Definition at line 27 of file adt.h.

◆ LiquidVertexFormatType

enum class LiquidVertexFormatType : uint16
strong
Enumerator
HeightDepth 
HeightTextureCoord 
Depth 

Definition at line 176 of file adt.h.