Cuberite
A lightweight, fast and extensible game server for Minecraft
Macros | Functions
FinishGen.cpp File Reference
#include "Globals.h"
#include "FinishGen.h"
#include "../Simulator/FluidSimulator.h"
#include "../Simulator/FireSimulator.h"
#include "../IniFile.h"
#include "../MobSpawner.h"
#include "../BlockInfo.h"
Include dependency graph for FinishGen.cpp:

Go to the source code of this file.

Macros

#define DEF_ANIMAL_SPAWN_PERCENT   10
 
#define DEF_END_LAVA_SPRINGS   "0, 1; 255, 1"
 
#define DEF_END_WATER_SPRINGS   "0, 1; 255, 1"
 
#define DEF_NETHER_LAVA_SPRINGS   "0, 0; 30, 0; 31, 50; 120, 50; 127, 0"
 
#define DEF_NETHER_WATER_SPRINGS   "0, 1; 255, 1"
 
#define DEF_NO_ANIMALS   0
 
#define DEF_OVERWORLD_LAVA_SPRINGS   "0, 0; 10, 5; 11, 45; 48, 2; 64, 1; 255, 0"
 
#define DEF_OVERWORLD_WATER_SPRINGS   "0, 0; 10, 10; 11, 75; 16, 83; 20, 83; 24, 78; 32, 62; 40, 40; 44, 15; 48, 7; 56, 2; 64, 1; 255, 0"
 

Functions

static bool IsWater (BLOCKTYPE a_BlockType)
 

Macro Definition Documentation

◆ DEF_ANIMAL_SPAWN_PERCENT

#define DEF_ANIMAL_SPAWN_PERCENT   10

Definition at line 29 of file FinishGen.cpp.

◆ DEF_END_LAVA_SPRINGS

#define DEF_END_LAVA_SPRINGS   "0, 1; 255, 1"

Definition at line 28 of file FinishGen.cpp.

◆ DEF_END_WATER_SPRINGS

#define DEF_END_WATER_SPRINGS   "0, 1; 255, 1"

Definition at line 27 of file FinishGen.cpp.

◆ DEF_NETHER_LAVA_SPRINGS

#define DEF_NETHER_LAVA_SPRINGS   "0, 0; 30, 0; 31, 50; 120, 50; 127, 0"

Definition at line 24 of file FinishGen.cpp.

◆ DEF_NETHER_WATER_SPRINGS

#define DEF_NETHER_WATER_SPRINGS   "0, 1; 255, 1"

Definition at line 23 of file FinishGen.cpp.

◆ DEF_NO_ANIMALS

#define DEF_NO_ANIMALS   0

Definition at line 30 of file FinishGen.cpp.

◆ DEF_OVERWORLD_LAVA_SPRINGS

#define DEF_OVERWORLD_LAVA_SPRINGS   "0, 0; 10, 5; 11, 45; 48, 2; 64, 1; 255, 0"

Definition at line 26 of file FinishGen.cpp.

◆ DEF_OVERWORLD_WATER_SPRINGS

#define DEF_OVERWORLD_WATER_SPRINGS   "0, 0; 10, 10; 11, 75; 16, 83; 20, 83; 24, 78; 32, 62; 40, 40; 44, 15; 48, 7; 56, 2; 64, 1; 255, 0"

Definition at line 25 of file FinishGen.cpp.

Function Documentation

◆ IsWater()

static bool IsWater ( BLOCKTYPE  a_BlockType)
inlinestatic

Definition at line 36 of file FinishGen.cpp.