Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include "BiomeDef.h"
Go to the source code of this file.
Classes | |
class | cChunkCoordCallback |
Interface class used as a callback for operations that involve chunk coords. More... | |
class | cChunkCoords |
Wraps the chunk coords into a single structure. More... | |
class | cChunkCoordsHash |
A simple hash function for chunk coords, we assume that chunk coords won't use more than 16 bits, so the hash is almost an identity. More... | |
class | cChunkDef |
Constants used throughout the code, useful typedefs and utility functions. More... | |
class | cClientDiffCallback |
Interface class used for comparing clients of two chunks. More... | |
class | cCoordWithData< X > |
Generic template that can store any kind of data together with a triplet of 3 coords. More... | |
struct | fmt::formatter< cChunkCoords > |
struct | sSetBlock |
Namespaces | |
fmt | |
Implements custom fmtlib formatting for cChunkCoords. | |
Macros | |
#define | AXIS_ORDER AXIS_ORDER_XZY |
#define | AXIS_ORDER_XZY 2 |
#define | AXIS_ORDER_YZX 1 |
Typedefs | |
typedef unsigned char | BLOCKTYPE |
The datatype used by blockdata. More... | |
typedef std::list< cChunkCoords > | cChunkCoordsList |
typedef std::vector< cChunkCoords > | cChunkCoordsVector |
typedef cCoordWithData< int > | cCoordWithInt |
typedef std::list< cCoordWithInt > | cCoordWithIntList |
typedef std::vector< cCoordWithInt > | cCoordWithIntVector |
using | cEntityList = std::vector< OwnedEntity > |
typedef unsigned char | HEIGHTTYPE |
The type used by the heightmap. More... | |
typedef unsigned char | NIBBLETYPE |
The datatype used by nibbledata (meta, light, skylight) More... | |
using | OwnedEntity = std::unique_ptr< cEntity > |
typedef std::vector< sSetBlock > | sSetBlockVector |
#define AXIS_ORDER AXIS_ORDER_XZY |
Definition at line 19 of file ChunkDef.h.
#define AXIS_ORDER_XZY 2 |
Definition at line 18 of file ChunkDef.h.
#define AXIS_ORDER_YZX 1 |
Definition at line 17 of file ChunkDef.h.
typedef unsigned char BLOCKTYPE |
The datatype used by blockdata.
Definition at line 41 of file ChunkDef.h.
typedef std::list<cChunkCoords> cChunkCoordsList |
Definition at line 443 of file ChunkDef.h.
typedef std::vector<cChunkCoords> cChunkCoordsVector |
Definition at line 444 of file ChunkDef.h.
typedef cCoordWithData<int> cCoordWithInt |
Definition at line 500 of file ChunkDef.h.
typedef std::list<cCoordWithInt> cCoordWithIntList |
Definition at line 502 of file ChunkDef.h.
typedef std::vector<cCoordWithInt> cCoordWithIntVector |
Definition at line 503 of file ChunkDef.h.
using cEntityList = std::vector<OwnedEntity> |
Definition at line 33 of file ChunkDef.h.
typedef unsigned char HEIGHTTYPE |
The type used by the heightmap.
Definition at line 47 of file ChunkDef.h.
typedef unsigned char NIBBLETYPE |
The datatype used by nibbledata (meta, light, skylight)
Definition at line 44 of file ChunkDef.h.
using OwnedEntity = std::unique_ptr<cEntity> |
Definition at line 32 of file ChunkDef.h.
typedef std::vector<sSetBlock> sSetBlockVector |
Definition at line 441 of file ChunkDef.h.