aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/load_cphys.cpp
diff options
context:
space:
mode:
authorAlexander <alex@cogarr.net>2019-04-24 21:16:08 -0400
committerAlexander <alex@cogarr.net>2019-04-24 21:16:08 -0400
commit3d60e1432ec43ade4aa61b5a70dd6b8975417e9f (patch)
tree954719a0f4a27fe42f9d8113844a21b79ae70f5d /src/client/lua_api/load_cphys.cpp
parent42bedce123739287339a95626675ffda3a1ce8e7 (diff)
downloadbrokengine-3d60e1432ec43ade4aa61b5a70dd6b8975417e9f.tar.gz
brokengine-3d60e1432ec43ade4aa61b5a70dd6b8975417e9f.tar.bz2
brokengine-3d60e1432ec43ade4aa61b5a70dd6b8975417e9f.zip
updates
Diffstat (limited to 'src/client/lua_api/load_cphys.cpp')
-rw-r--r--src/client/lua_api/load_cphys.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/lua_api/load_cphys.cpp b/src/client/lua_api/load_cphys.cpp
index ed81408..92eaff0 100644
--- a/src/client/lua_api/load_cphys.cpp
+++ b/src/client/lua_api/load_cphys.cpp
@@ -11,10 +11,13 @@ extern "C" {
#include "../callbackhandeler.hpp"
#include "phys/cbphysbox.hpp"
#include "phys/cbphysmodel.hpp"
+#include "phys/cbcharactercontroller.hpp"
#include <btBulletDynamicsCommon.h>
#include <btBulletCollisionCommon.h>
//#include <shared/phys/physcommon.hpp>
#include <shared/lua_api/common.hpp>
+#include <shared/lua_api/load_phys.hpp>
+#include <shared/lua_api/phys/bghostobject.hpp>
using namespace irr;
using namespace gui;
@@ -41,10 +44,12 @@ int raytest(lua_State *L){
}
void load_cphysfuncs(lua_State* L){
+
//phys things
cbphysbox_register(L);
-
+ cbcharactercontroller_register(L);
cbphysmodel_register(L);
+ bghostobject_register(L);
lua_getglobal(L,"phys");//{}
lua_pushcfunction(L,raytest);//{},raytest()