diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-10-18 21:34:55 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-10-18 21:34:55 -0400 |
| commit | 33e6b9627e6a46d388d46f2c5b4d15ba7e9f9904 (patch) | |
| tree | 18d24b74e48d8b7e9cb656272df7a48b28d3b6c8 /src/client/lua_api/phys/bphysbox.cpp | |
| parent | 76b4fddee6106b60dbc6da6d7bcef61b42a3c310 (diff) | |
| download | brokengine-33e6b9627e6a46d388d46f2c5b4d15ba7e9f9904.tar.gz brokengine-33e6b9627e6a46d388d46f2c5b4d15ba7e9f9904.tar.bz2 brokengine-33e6b9627e6a46d388d46f2c5b4d15ba7e9f9904.zip | |
Started refactoring
* Finished a basic server
* Changed from ZMQ to nanomsg (basically the same though)
* Moved some repeated code from the client/server directories into
"shared"
* Edited makefile to reflect new dependencies
Diffstat (limited to 'src/client/lua_api/phys/bphysbox.cpp')
| -rw-r--r-- | src/client/lua_api/phys/bphysbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/lua_api/phys/bphysbox.cpp b/src/client/lua_api/phys/bphysbox.cpp index 80cd2eb..a03b488 100644 --- a/src/client/lua_api/phys/bphysbox.cpp +++ b/src/client/lua_api/phys/bphysbox.cpp @@ -5,6 +5,7 @@ #include <memory> #include <map> #include <functional> +#include <list> extern "C" { #include <lua.h> #include <lauxlib.h> @@ -24,7 +25,7 @@ using namespace video; extern IrrlichtDevice* device; extern btDiscreteDynamicsWorld* World; -extern core::list<btRigidBody*> Objects; +extern std::list<btRigidBody*> Objects; static LBPhysNode* checkisbphysbox(lua_State* L, int index){ void* ud = luaL_checkudata(L,index,"phys.physbox"); |
