TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

struct  adt_MCVT
 
struct  adt_MCLQ
 
struct  adt_MCLQ::liquid_data
 
struct  adt_MCNK
 
struct  adt_liquid_header
 
struct  adt_MH2O
 
struct  adt_MH2O::adt_LIQUID
 
struct  adt_MFBO
 
struct  adt_MFBO::plane
 

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)
 
#define ADT_LIQUID_HEADER_FULL_LIGHT   0x01
 
#define ADT_LIQUID_HEADER_NO_HIGHT   0x02
 

Enumerations

enum  LiquidType { LIQUID_TYPE_WATER = 0, LIQUID_TYPE_OCEAN = 1, LIQUID_TYPE_MAGMA = 2, LIQUID_TYPE_SLIME = 3 }
 

Macro Definition Documentation

#define ADT_CELL_SIZE   8
#define ADT_CELLS_PER_GRID   16
#define ADT_GRID_SIZE   (ADT_CELLS_PER_GRID*ADT_CELL_SIZE)
#define ADT_LIQUID_HEADER_FULL_LIGHT   0x01
#define ADT_LIQUID_HEADER_NO_HIGHT   0x02
#define CHUNKSIZE   ((TILESIZE) / 16.0f)
#define TILESIZE   (533.33333f)
#define UNITSIZE   (CHUNKSIZE / 8.0f)

Enumeration Type Documentation

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