summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-21 21:53:25 +0200
committerMattes D <github@xoft.cz>2014-08-21 21:53:25 +0200
commit81d238e0805eb8bd5ae3e844129bd11d62e1e8fd (patch)
tree402eaef28252401781258f080dc9e0a928cbdf1b /src
parentFixed 1.7.2 login packet reading. (diff)
downloadcuberite-81d238e0805eb8bd5ae3e844129bd11d62e1e8fd.tar
cuberite-81d238e0805eb8bd5ae3e844129bd11d62e1e8fd.tar.gz
cuberite-81d238e0805eb8bd5ae3e844129bd11d62e1e8fd.tar.bz2
cuberite-81d238e0805eb8bd5ae3e844129bd11d62e1e8fd.tar.lz
cuberite-81d238e0805eb8bd5ae3e844129bd11d62e1e8fd.tar.xz
cuberite-81d238e0805eb8bd5ae3e844129bd11d62e1e8fd.tar.zst
cuberite-81d238e0805eb8bd5ae3e844129bd11d62e1e8fd.zip
Diffstat (limited to 'src')
-rw-r--r--src/World.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 2027e215a..d7fa7e0d1 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -251,8 +251,38 @@ cWorld::cWorld(const AString & a_WorldName, eDimension a_Dimension, const AStrin
m_TimeOfDay(0),
m_LastTimeUpdate(0),
m_SkyDarkness(0),
+ m_GameMode(gmNotSet),
+ m_bEnabledPVP(false),
+ m_IsDeepSnowEnabled(false),
+ m_ShouldLavaSpawnFire(true),
+ m_VillagersShouldHarvestCrops(true),
+ m_SimulatorManager(NULL),
+ m_SandSimulator(NULL),
+ m_WaterSimulator(NULL),
+ m_LavaSimulator(NULL),
+ m_FireSimulator(NULL),
+ m_RedstoneSimulator(NULL),
+ m_MaxPlayers(10),
+ m_ChunkMap(NULL),
+ m_bAnimals(true),
m_Weather(eWeather_Sunny),
m_WeatherInterval(24000), // Guaranteed 1 day of sunshine at server start :)
+ m_MaxCactusHeight(3),
+ m_MaxSugarcaneHeight(4),
+ m_IsCactusBonemealable(false),
+ m_IsCarrotsBonemealable(true),
+ m_IsCropsBonemealable(true),
+ m_IsGrassBonemealable(true),
+ m_IsMelonStemBonemealable(true),
+ m_IsMelonBonemealable(true),
+ m_IsPotatoesBonemealable(true),
+ m_IsPumpkinStemBonemealable(true),
+ m_IsPumpkinBonemealable(true),
+ m_IsSaplingBonemealable(true),
+ m_IsSugarcaneBonemealable(false),
+ m_bCommandBlocksEnabled(true),
+ m_bUseChatPrefixes(false),
+ m_TNTShrapnelLevel(slNone),
m_Scoreboard(this),
m_MapManager(this),
m_GeneratorCallbacks(*this),