aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/load_phys.cpp
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-07-04 15:15:48 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-07-04 15:15:48 -0400
commitb98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc (patch)
treec9d7755ca9a308706c4dc1b6fd1eaa690d8ec46e /src/client/lua_api/load_phys.cpp
parentbced528a07a2ff1591455e4c4228ec18f8e0532d (diff)
downloadbrokengine-b98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc.tar.gz
brokengine-b98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc.tar.bz2
brokengine-b98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc.zip
Lots of changes
* client no longer crashes when closed * started work on adding physics types * some bugfixes to core lua api
Diffstat (limited to 'src/client/lua_api/load_phys.cpp')
-rw-r--r--src/client/lua_api/load_phys.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/client/lua_api/load_phys.cpp b/src/client/lua_api/load_phys.cpp
new file mode 100644
index 0000000..846d34c
--- /dev/null
+++ b/src/client/lua_api/load_phys.cpp
@@ -0,0 +1,22 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <vector>
+#include <map>
+extern "C" {
+ #include <lua.h>
+ #include <lauxlib.h>
+ #include <lualib.h>
+}
+#include <irrlicht.h>
+
+#include "../callbackhandeler.hpp"
+
+using namespace irr;
+using namespace gui;
+using namespace core;
+
+extern IrrlichtDevice* d;
+
+void load_physfuncs(lua_State* L){
+ printf("Called load physfuncs...");
+}