diff options
| author | Alexander <alex@cogarr.net> | 2019-06-26 16:14:00 -0400 |
|---|---|---|
| committer | Alexander <alex@cogarr.net> | 2019-06-26 16:14:00 -0400 |
| commit | d5cd0c7b4425e25b11a1ceec154a5c752d508a42 (patch) | |
| tree | ef50cd7d419bba30ee08f46c97232b1c8c68d2be /src/shared/lua_api/load_common.hpp | |
| parent | 3d60e1432ec43ade4aa61b5a70dd6b8975417e9f (diff) | |
| download | brokengine-d5cd0c7b4425e25b11a1ceec154a5c752d508a42.tar.gz brokengine-d5cd0c7b4425e25b11a1ceec154a5c752d508a42.tar.bz2 brokengine-d5cd0c7b4425e25b11a1ceec154a5c752d508a42.zip | |
Major refactor of physics code
Move all the physics code into the shared directory,
and fix the ghost objects (aabb only)
Diffstat (limited to 'src/shared/lua_api/load_common.hpp')
| -rw-r--r-- | src/shared/lua_api/load_common.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 <shared/lua_api/common.hpp> + +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){ + +} |
