summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-18 12:37:45 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-18 12:37:45 +0100
commit6788dbe7f21b3c46b1156e232041accf3d8ba200 (patch)
tree009e530d71e0a19e1d74e2806043bc5834144aef /src
parentComments & new BLOCK_FACE constants (diff)
downloadcuberite-6788dbe7f21b3c46b1156e232041accf3d8ba200.tar
cuberite-6788dbe7f21b3c46b1156e232041accf3d8ba200.tar.gz
cuberite-6788dbe7f21b3c46b1156e232041accf3d8ba200.tar.bz2
cuberite-6788dbe7f21b3c46b1156e232041accf3d8ba200.tar.lz
cuberite-6788dbe7f21b3c46b1156e232041accf3d8ba200.tar.xz
cuberite-6788dbe7f21b3c46b1156e232041accf3d8ba200.tar.zst
cuberite-6788dbe7f21b3c46b1156e232041accf3d8ba200.zip
Diffstat (limited to 'src')
-rw-r--r--src/Bindings/AllToLua.pkg1
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Entities/Painting.h4
3 files changed, 4 insertions, 2 deletions
diff --git a/src/Bindings/AllToLua.pkg b/src/Bindings/AllToLua.pkg
index 6c295102f..1f08c66dc 100644
--- a/src/Bindings/AllToLua.pkg
+++ b/src/Bindings/AllToLua.pkg
@@ -34,6 +34,7 @@ $cfile "../Entities/Entity.h"
$cfile "../Entities/Floater.h"
$cfile "../Entities/Pawn.h"
$cfile "../Entities/Player.h"
+$cfile "../Entities/Painting.h"
$cfile "../Entities/Pickup.h"
$cfile "../Entities/ProjectileEntity.h"
$cfile "../Entities/TNTEntity.h"
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6ba952f92..16bdad14e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -52,6 +52,7 @@ if (NOT MSVC)
Entities/Entity.h
Entities/Floater.h
Entities/Pawn.h
+ Entities/Painting.h
Entities/Pickup.h
Entities/Player.h
Entities/ProjectileEntity.h
diff --git a/src/Entities/Painting.h b/src/Entities/Painting.h
index f401dac79..95afbed1e 100644
--- a/src/Entities/Painting.h
+++ b/src/Entities/Painting.h
@@ -18,8 +18,8 @@ public:
CLASS_PROTODEF(cPainting);
cPainting(const AString & a_Name, int a_Direction, double a_X, double a_Y, double a_Z);
- const AString & GetName(void) const { return m_Name; }
- int GetDirection(void) const { return m_Direction; }
+ const AString & GetName(void) const { return m_Name; } // tolua_export
+ int GetDirection(void) const { return m_Direction; } // tolua_export
private: