summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-16 16:48:40 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-16 16:48:40 +0100
commit38b219de625c6c334b1b900c911886f5469a1720 (patch)
treeb22775470536715a12e698f9aba4cb0f2682d0cb /source/cWorld.h
parentActually commented out the Anvil terrain inversion code (diff)
downloadcuberite-38b219de625c6c334b1b900c911886f5469a1720.tar
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.gz
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.bz2
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.lz
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.xz
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.zst
cuberite-38b219de625c6c334b1b900c911886f5469a1720.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index c2f3d3fcf..56c63502b 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -49,7 +49,7 @@ class cWorld //tolua_export
{ //tolua_export
public:
- OBSOLETE static cWorld* GetWorld(); //tolua_export
+ OBSOLETE static cWorld* GetWorld();
// Return time in seconds
inline static float GetTime() //tolua_export
@@ -187,6 +187,7 @@ public:
char GetBlockMeta( const Vector3i & a_Pos ) { return GetBlockMeta( a_Pos.x, a_Pos.y, a_Pos.z ); } //tolua_export
void SetBlockMeta( int a_X, int a_Y, int a_Z, char a_MetaData ); //tolua_export
void SetBlockMeta( const Vector3i & a_Pos, char a_MetaData ) { SetBlockMeta( a_Pos.x, a_Pos.y, a_Pos.z, a_MetaData ); } //tolua_export
+ char GetBlockSkyLight( int a_X, int a_Y, int a_Z ); //tolua_export
bool DigBlock( int a_X, int a_Y, int a_Z, cItem & a_PickupItem ); //tolua_export
void SendBlockTo( int a_X, int a_Y, int a_Z, cPlayer* a_Player ); //tolua_export