summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 00:24:51 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 00:24:51 +0100
commit3be48a2d5a8988f5df8b8776a7d4d534871378b3 (patch)
tree863e9b13181b608817774492bb0a7269fdae0836 /source/cWorld.h
parentAdded m_IP to player class and binding to get IP for LUA. (Probably should use m_pState) (diff)
downloadcuberite-3be48a2d5a8988f5df8b8776a7d4d534871378b3.tar
cuberite-3be48a2d5a8988f5df8b8776a7d4d534871378b3.tar.gz
cuberite-3be48a2d5a8988f5df8b8776a7d4d534871378b3.tar.bz2
cuberite-3be48a2d5a8988f5df8b8776a7d4d534871378b3.tar.lz
cuberite-3be48a2d5a8988f5df8b8776a7d4d534871378b3.tar.xz
cuberite-3be48a2d5a8988f5df8b8776a7d4d534871378b3.tar.zst
cuberite-3be48a2d5a8988f5df8b8776a7d4d534871378b3.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index cff627d50..7278fa0a4 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -31,7 +31,6 @@ public:
std::vector<int> m_RSList;
-
static cWorld* GetWorld(); //tolua_export
// Return time in seconds
@@ -130,6 +129,11 @@ public:
void InitializeSpawn();
+ void CastThunderbolt ( int, int, int ); //tolua_export
+ void SetWeather ( int ); //tolua_export
+ int GetWeather() { return m_Weather; }; //tolua_export
+
+
private:
friend class cRoot;
cWorld( const char* a_WorldName );
@@ -172,4 +176,5 @@ private:
float m_SpawnMonsterRate;
unsigned int m_WorldSeed;
+ int m_Weather;
}; //tolua_export