diff options
| author | Alexander <alex@cogarr.net> | 2019-04-24 21:16:08 -0400 |
|---|---|---|
| committer | Alexander <alex@cogarr.net> | 2019-04-24 21:16:08 -0400 |
| commit | 3d60e1432ec43ade4aa61b5a70dd6b8975417e9f (patch) | |
| tree | 954719a0f4a27fe42f9d8113844a21b79ae70f5d /src/client/lua_api/load_cphys.cpp | |
| parent | 42bedce123739287339a95626675ffda3a1ce8e7 (diff) | |
| download | brokengine-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.cpp | 7 |
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() |
