aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/phys/bphysmodel.cpp
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-10-18 21:34:55 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-10-18 21:34:55 -0400
commit33e6b9627e6a46d388d46f2c5b4d15ba7e9f9904 (patch)
tree18d24b74e48d8b7e9cb656272df7a48b28d3b6c8 /src/client/lua_api/phys/bphysmodel.cpp
parent76b4fddee6106b60dbc6da6d7bcef61b42a3c310 (diff)
downloadbrokengine-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/bphysmodel.cpp')
-rw-r--r--src/client/lua_api/phys/bphysmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/lua_api/phys/bphysmodel.cpp b/src/client/lua_api/phys/bphysmodel.cpp
index 7bdc483..b76b336 100644
--- a/src/client/lua_api/phys/bphysmodel.cpp
+++ b/src/client/lua_api/phys/bphysmodel.cpp
@@ -5,6 +5,7 @@
#include <memory>
#include <map>
#include <functional>
+#include <list>
extern "C" {
#include <lua.h>
#include <lauxlib.h>
@@ -25,7 +26,7 @@ using namespace video;
extern IrrlichtDevice* device;
extern btDiscreteDynamicsWorld* World;
-extern core::list<btRigidBody*> Objects;
+extern std::list<btRigidBody*> Objects;
static LBPhysNode* checkisbphysmodel(lua_State* L, int index){
void* ud = luaL_checkudata(L,index,"phys.physmodel");