From 3811dc139a32bf1f2a164f770ee172f07139f76d Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 17 Jun 2022 20:26:20 -0400 Subject: Setup so it can build on debian --- src/CApi.h | 4 ++-- src/LuaApi.h | 4 ++-- src/main.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/CApi.h b/src/CApi.h index 651cc13..6d61913 100644 --- a/src/CApi.h +++ b/src/CApi.h @@ -3,7 +3,7 @@ #include "Level.h" #include "Scene.h" -#include +#include "lua.hpp" #include extern std::shared_ptr lvl; @@ -200,4 +200,4 @@ void init_c_api(lua_State *L) { lua_register(L, "c_get_treasures", c_get_treasures); } -#endif // DNG_CAPI_H \ No newline at end of file +#endif // DNG_CAPI_H diff --git a/src/LuaApi.h b/src/LuaApi.h index cb68e36..088832c 100644 --- a/src/LuaApi.h +++ b/src/LuaApi.h @@ -2,7 +2,7 @@ #define DNG_LUA_API_H #include -#include +#include "lua.hpp" struct LState { lua_State *onkeypress; @@ -86,4 +86,4 @@ bool lua_onwin(lua_State *L) { return lua_dofn(L, "onWin"); } bool lua_onloss(lua_State *L) { return lua_dofn(L, "onLoss"); } -#endif // DNG_LUA_API_H \ No newline at end of file +#endif // DNG_LUA_API_H diff --git a/src/main.cpp b/src/main.cpp index a4183f7..3f464e1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,7 +4,7 @@ //#include #include #include -#include +#include "lua.hpp" const char *DEFAULT_PROC = "include/defaults.lua"; -- cgit v1.2.3-54-g00ecf