Cuberite
A lightweight, fast and extensible game server for Minecraft
Macros | Variables
FireSimulator.cpp File Reference
#include "Globals.h"
#include "FireSimulator.h"
#include "../BlockInfo.h"
#include "../World.h"
#include "../Defines.h"
#include "../Chunk.h"
#include "../Root.h"
#include "../Bindings/PluginManager.h"
Include dependency graph for FireSimulator.cpp:

Go to the source code of this file.

Macros

#define CHANCE_AGE_M_RAIN_EXTINGUISH   0.03
 
#define CHANCE_BASE_RAIN_EXTINGUISH   0.2
 
#define FIRE_FLOG(...)
 
#define MAX_CHANCE_FLAMMABILITY   100000
 
#define MAX_CHANCE_REPLACE_FUEL   100000
 

Variables

static constexpr Vector3i gCrossCoords []
 
static constexpr Vector3i gNeighborCoords []
 

Macro Definition Documentation

◆ CHANCE_AGE_M_RAIN_EXTINGUISH

#define CHANCE_AGE_M_RAIN_EXTINGUISH   0.03

Definition at line 33 of file FireSimulator.cpp.

◆ CHANCE_BASE_RAIN_EXTINGUISH

#define CHANCE_BASE_RAIN_EXTINGUISH   0.2

Definition at line 30 of file FireSimulator.cpp.

◆ FIRE_FLOG

#define FIRE_FLOG (   ...)

Definition at line 20 of file FireSimulator.cpp.

◆ MAX_CHANCE_FLAMMABILITY

#define MAX_CHANCE_FLAMMABILITY   100000

Definition at line 28 of file FireSimulator.cpp.

◆ MAX_CHANCE_REPLACE_FUEL

#define MAX_CHANCE_REPLACE_FUEL   100000

Definition at line 27 of file FireSimulator.cpp.

Variable Documentation

◆ gCrossCoords

constexpr Vector3i gCrossCoords[]
staticconstexpr
Initial value:
=
{
{ 1, 0, 0},
{-1, 0, 0},
{ 0, 0, 1},
{ 0, 0, -1},
}

Definition at line 39 of file FireSimulator.cpp.

◆ gNeighborCoords

constexpr Vector3i gNeighborCoords[]
staticconstexpr
Initial value:
=
{
{ 1, 0, 0},
{-1, 0, 0},
{ 0, 1, 0},
{ 0, -1, 0},
{ 0, 0, 1},
{ 0, 0, -1},
}

Definition at line 51 of file FireSimulator.cpp.