summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-13 20:22:08 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-13 20:22:08 +0100
commit8b1a8bee3437f5d8f865e77e27ae15ad4c690f10 (patch)
tree4dfd2af1af81457636feae7f25dedde794ed6be9 /source/World.h
parentAdded a forgotten part of the cBlockArea::FillRelCuboid() function. (diff)
downloadcuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar
cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.gz
cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.bz2
cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.lz
cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.xz
cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.zst
cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/source/World.h b/source/World.h
index 61817d18a..b744a66c1 100644
--- a/source/World.h
+++ b/source/World.h
@@ -419,10 +419,19 @@ public:
void QueueBlockForTick(int a_BlockX, int a_BlockY, int a_BlockZ, float a_TimeToWait); // tolua_export
- void CastThunderbolt (int a_BlockX, int a_BlockY, int a_BlockZ); // tolua_export
- void SetWeather ( eWeather a_Weather ); // tolua_export
- void ChangeWeather(); // tolua_export
- eWeather GetWeather() { return m_Weather; }; // tolua_export
+ // tolua_begin
+ /// Casts a thunderbolt at the specified coords
+ void CastThunderbolt(int a_BlockX, int a_BlockY, int a_BlockZ);
+
+ /// Sets the specified weather; resets weather interval; asks and notifies plugins of the change
+ void SetWeather (eWeather a_NewWeather);
+
+ /// Forces a weather change in the next game tick
+ void ChangeWeather (void);
+
+ /// Returns the current weather
+ eWeather GetWeather (void) const { return m_Weather; };
+ // tolua_end
cChunkGenerator & GetGenerator(void) { return m_Generator; }
cWorldStorage & GetStorage (void) { return m_Storage; }