diff --git a/src/gamedata/LuaData.cpp b/src/gamedata/LuaData.cpp index 7a5d05f..fee336f 100644 --- a/src/gamedata/LuaData.cpp +++ b/src/gamedata/LuaData.cpp @@ -13,7 +13,7 @@ #include "world-build.h" #include "PlayerActionModule.h" #include "LuaData.h" -#include "luaaa.hpp" +#include "lua.hpp" extern "C" { int luaopen_lpeg(lua_State *L); } @@ -24,6 +24,7 @@ struct FooPosition { return value; } }; +#if 0 namespace luaaa { template <> struct LuaStack { @@ -67,6 +68,7 @@ template <> struct LuaStack { }; } +#endif namespace ECS { struct LuaEcsEntity { @@ -270,6 +272,7 @@ LuaData::LuaData() luaVector3.fun("squaredDistance", &Ogre::Vector3::squaredDistance); luaVector3.fun("distance", &Ogre::Vector3::distance); #endif +#if 0 luaaa::LuaModule luaECS(L, "_ecs"); luaECS.fun("position", [](int id) -> FooPosition { #if 0 @@ -288,6 +291,7 @@ LuaData::LuaData() #endif return FooPosition(); }); +#endif lua_pushcfunction(L, [](lua_State *L) -> int { OgreAssert(false, "Crash function called");