From d5cd0c7b4425e25b11a1ceec154a5c752d508a42 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 26 Jun 2019 16:14:00 -0400 Subject: Major refactor of physics code Move all the physics code into the shared directory, and fix the ghost objects (aabb only) --- src/shared/lua_api/load_common.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/shared/lua_api/load_common.hpp (limited to 'src/shared/lua_api/load_common.hpp') diff --git a/src/shared/lua_api/load_common.hpp b/src/shared/lua_api/load_common.hpp new file mode 100644 index 0000000..5be5de1 --- /dev/null +++ b/src/shared/lua_api/load_common.hpp @@ -0,0 +1,11 @@ +#include + +void loadCommonLibs(lua_State* L){ + lua_getglobal(L,"GAME"); + lua_pushcfunction(L,make_crashy); + lua_setfield(L,-2,"crashy"); +} + +void gameloop_common(lua_State* L){ + +} -- cgit v1.2.3-70-g09d2