aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/load_phys.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/lua_api/load_phys.hpp')
-rw-r--r--src/shared/lua_api/load_phys.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/shared/lua_api/load_phys.hpp b/src/shared/lua_api/load_phys.hpp
new file mode 100644
index 0000000..5e05642
--- /dev/null
+++ b/src/shared/lua_api/load_phys.hpp
@@ -0,0 +1,14 @@
+extern "C" {
+ #include <lua.h>
+ #include <lauxlib.h>
+ #include <lualib.h>
+}
+#include "load_core.hpp"
+
+struct EntityPhysics : EntityMass{
+ btTransform* transform;
+ btRigidBody* rigidbody;
+ btCollisionShape* shape;
+}EntityPhysics;
+
+void loadPhysLibs(lua_State* L);