From 43e684071933adef93040e8d4b830d5c6b71cf9a Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 12 Jan 2013 04:46:01 +0000 Subject: Merged branch "branches/hooks" into "trunk". git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Torch.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source/Torch.h') diff --git a/source/Torch.h b/source/Torch.h index fa301c3d4..2a84db072 100644 --- a/source/Torch.h +++ b/source/Torch.h @@ -7,15 +7,15 @@ -class cTorch //tolua_export -{ //tolua_export +class cTorch // tolua_export +{ // tolua_export public: - static char DirectionToMetaData( char a_Direction ) //tolua_export - { //tolua_export + static char DirectionToMetaData( char a_Direction ) // tolua_export + { // tolua_export switch (a_Direction) { - case BLOCK_FACE_BOTTOM: ASSERT(!"Shouldn't be getting this direction"); return 0; + case BLOCK_FACE_BOTTOM: ASSERT(!"Shouldn't be getting this face"); return 0; case BLOCK_FACE_TOP: return E_META_TORCH_FLOOR; case BLOCK_FACE_EAST: return E_META_TORCH_EAST; case BLOCK_FACE_WEST: return E_META_TORCH_WEST; @@ -28,11 +28,11 @@ public: } }; return 0x0; - } //tolua_export + } // tolua_export - static char MetaDataToDirection(char a_MetaData) //tolua_export - { //tolua_export + static char MetaDataToDirection(char a_MetaData) // tolua_export + { // tolua_export switch (a_MetaData) { case 0: return BLOCK_FACE_TOP; // by default, the torches stand on the ground @@ -48,7 +48,7 @@ public: } } return 0; - } //tolua_export + } // tolua_export static bool IsAttachedTo(const Vector3i & a_TorchPos, char a_TorchMeta, const Vector3i & a_BlockPos) @@ -70,7 +70,7 @@ public: return false; } -} ; //tolua_export +} ; // tolua_export -- cgit v1.2.3