Removed another export and inline'd stuff
This commit is contained in:
parent
0376b847d7
commit
73dd2e9bed
@ -55,7 +55,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static NIBBLETYPE DirectionToMetaData(char a_Direction)
|
inline static NIBBLETYPE DirectionToMetaData(char a_Direction)
|
||||||
{
|
{
|
||||||
switch (a_Direction)
|
switch (a_Direction)
|
||||||
{
|
{
|
||||||
@ -75,11 +75,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static char MetaDataToDirection(NIBBLETYPE a_MetaData) // tolua_export
|
inline static char MetaDataToDirection(NIBBLETYPE a_MetaData)
|
||||||
{ // tolua_export
|
{
|
||||||
switch (a_MetaData)
|
switch (a_MetaData)
|
||||||
{
|
{
|
||||||
case 0: return BLOCK_FACE_TOP; // by default, the torches stand on the ground
|
case 0: return BLOCK_FACE_TOP; // By default, the torches stand on the ground
|
||||||
case E_META_TORCH_FLOOR: return BLOCK_FACE_TOP;
|
case E_META_TORCH_FLOOR: return BLOCK_FACE_TOP;
|
||||||
case E_META_TORCH_EAST: return BLOCK_FACE_EAST;
|
case E_META_TORCH_EAST: return BLOCK_FACE_EAST;
|
||||||
case E_META_TORCH_WEST: return BLOCK_FACE_WEST;
|
case E_META_TORCH_WEST: return BLOCK_FACE_WEST;
|
||||||
@ -92,7 +92,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
} // tolua_export
|
}
|
||||||
|
|
||||||
|
|
||||||
static bool IsAttachedTo(const Vector3i & a_TorchPos, char a_TorchMeta, const Vector3i & a_BlockPos)
|
static bool IsAttachedTo(const Vector3i & a_TorchPos, char a_TorchMeta, const Vector3i & a_BlockPos)
|
||||||
|
Loading…
Reference in New Issue
Block a user