summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-02 21:04:01 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-02 21:04:01 +0100
commit1d67345989ac1e55bd0ed18baaf80becfbf37e74 (patch)
treeaee52d974ab83b0394e7acf130a6ce215fb25599 /src/World.h
parentMore documentation (thanks to madmaxoft) and use GetBlockTypeMeta (diff)
downloadcuberite-1d67345989ac1e55bd0ed18baaf80becfbf37e74.tar
cuberite-1d67345989ac1e55bd0ed18baaf80becfbf37e74.tar.gz
cuberite-1d67345989ac1e55bd0ed18baaf80becfbf37e74.tar.bz2
cuberite-1d67345989ac1e55bd0ed18baaf80becfbf37e74.tar.lz
cuberite-1d67345989ac1e55bd0ed18baaf80becfbf37e74.tar.xz
cuberite-1d67345989ac1e55bd0ed18baaf80becfbf37e74.tar.zst
cuberite-1d67345989ac1e55bd0ed18baaf80becfbf37e74.zip
Diffstat (limited to '')
-rw-r--r--src/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index 25b42888c..27f1482e5 100644
--- a/src/World.h
+++ b/src/World.h
@@ -139,6 +139,9 @@ public:
BroadcastTimeUpdate();
}
+ /** Returns the default weather interval for the specific weather type */
+ int GetDefaultWeatherInterval(eWeather a_Weather);
+
/** Returns the current game mode. Partly OBSOLETE, you should use IsGameModeXXX() functions wherever applicable */
eGameMode GetGameMode(void) const { return m_GameMode; }