aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/phys
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-06-28 16:05:26 -0600
committerAlexander Pickering <alex@cogarr.net>2018-06-28 16:05:26 -0600
commitef25a513437196a3ea9ee45e6e03565eb86067d2 (patch)
treeacd43d214f9a7ec96e7fcd66097fd13593dd8f38 /src/shared/lua_api/phys
parent2260a1dda8693664c77a03781ae07fbb5f0ea8a0 (diff)
downloadbrokengine-ef25a513437196a3ea9ee45e6e03565eb86067d2.tar.gz
brokengine-ef25a513437196a3ea9ee45e6e03565eb86067d2.tar.bz2
brokengine-ef25a513437196a3ea9ee45e6e03565eb86067d2.zip
Simplified makefile
Made makefile much simpiler, added option to build dynamically with DEBUG=true
Diffstat (limited to 'src/shared/lua_api/phys')
-rw-r--r--src/shared/lua_api/phys/bphysbox.cpp2
-rw-r--r--src/shared/lua_api/phys/bphysbox.hpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/lua_api/phys/bphysbox.cpp b/src/shared/lua_api/phys/bphysbox.cpp
index 0fe9f72..728b6d1 100644
--- a/src/shared/lua_api/phys/bphysbox.cpp
+++ b/src/shared/lua_api/phys/bphysbox.cpp
@@ -9,7 +9,7 @@ extern "C" {
}
#include <btBulletDynamicsCommon.h>
#include "bphysbox.hpp"
-#include "../common.h"
+#include <shared/lua_api/common.hpp>
extern btDiscreteDynamicsWorld* World;
extern std::list<btRigidBody*> Objects;
diff --git a/src/shared/lua_api/phys/bphysbox.hpp b/src/shared/lua_api/phys/bphysbox.hpp
index 96b58a7..1471381 100644
--- a/src/shared/lua_api/phys/bphysbox.hpp
+++ b/src/shared/lua_api/phys/bphysbox.hpp
@@ -8,7 +8,6 @@ extern "C" {
#include <lualib.h>
}
#include <irrlicht.h>
-#include "../common.h"
void bphysbox_register(lua_State* L);
void makenewbphysbox(lua_State* L);