diff --git a/test/BtPhysTest.cpp b/test/BtPhysTest.cpp index 4cc3e96c..6d863a49 100644 --- a/test/BtPhysTest.cpp +++ b/test/BtPhysTest.cpp @@ -104,7 +104,7 @@ BtPhysTest::BtPhysTest(bool editor) NewPhyobj->SetTransform(NewPosition, NewRotation); Ticker::Ref(NewPhyobj); m_ground_list << NewPhyobj; - } + } } if (USE_PLATFORM) diff --git a/test/Physics/Include/EasyCharacterController.h b/test/Physics/Include/EasyCharacterController.h index 66cd6531..0af018e1 100644 --- a/test/Physics/Include/EasyCharacterController.h +++ b/test/Physics/Include/EasyCharacterController.h @@ -18,8 +18,9 @@ #define __EASYCHARACTERCONTROLLER_EASYCHARACTERCONTROLLER_H__ #ifdef HAVE_PHYS_USE_BULLET -#include +#include "core.h" #include "EasyPhysics.h" +#include #endif namespace lol diff --git a/test/Physics/Include/EasyConstraint.h b/test/Physics/Include/EasyConstraint.h index 1a356685..9e376d84 100644 --- a/test/Physics/Include/EasyConstraint.h +++ b/test/Physics/Include/EasyConstraint.h @@ -18,6 +18,7 @@ #define __EASYCONSTRAINT_EASYCONSTRAINT_H__ #ifdef HAVE_PHYS_USE_BULLET +#include "core.h" #include "EasyPhysics.h" #endif diff --git a/test/Physics/Include/EasyPhysics.h b/test/Physics/Include/EasyPhysics.h index 04ff9137..2cd770ae 100644 --- a/test/Physics/Include/EasyPhysics.h +++ b/test/Physics/Include/EasyPhysics.h @@ -19,7 +19,9 @@ #ifdef HAVE_PHYS_USE_BULLET #include "core.h" -#include "LolPhysics.h" +#include +#include +#include #endif namespace lol diff --git a/test/Physics/Include/LolPhysics.h b/test/Physics/Include/LolPhysics.h index a5eddccd..745969c4 100644 --- a/test/Physics/Include/LolPhysics.h +++ b/test/Physics/Include/LolPhysics.h @@ -11,8 +11,9 @@ #ifdef HAVE_PHYS_USE_BULLET #include #include -#include #include "LolBtPhysicsIntegration.h" +#include "EasyPhysics.h" +#include "EasyConstraint.h" #endif namespace lol diff --git a/test/Physics/Src/EasyCharacterController.cpp b/test/Physics/Src/EasyCharacterController.cpp index dbdde39e..d0221f19 100644 --- a/test/Physics/Src/EasyCharacterController.cpp +++ b/test/Physics/Src/EasyCharacterController.cpp @@ -14,9 +14,9 @@ # include "config.h" #endif -#ifdef HAVE_PHYS_USE_BULLET +#include "../Include/LolBtPhysicsIntegration.h" +#include "../Include/LolPhysics.h" #include "../Include/EasyCharacterController.h" -#endif //HAVE_PHYS_USE_BULLET namespace lol { diff --git a/test/Physics/Src/EasyConstraint.cpp b/test/Physics/Src/EasyConstraint.cpp index dc35354f..fea878a4 100644 --- a/test/Physics/Src/EasyConstraint.cpp +++ b/test/Physics/Src/EasyConstraint.cpp @@ -1,22 +1,6 @@ -// -// Lol Engine -// -// Copyright: (c) 2010-2012 Sam Hocevar -// (c) 2009-2012 Cédric Lecacheur -// (c) 2009-2012 Benjamin Huet -// This program is free software; you can redistribute it and/or -// modify it under the terms of the Do What The Fuck You Want To -// Public License, Version 2, as published by Sam Hocevar. See -// http://sam.zoy.org/projects/COPYING.WTFPL for more details. -// - -#if defined HAVE_CONFIG_H -# include "config.h" -#endif - -#ifdef HAVE_PHYS_USE_BULLET +#include "../Include/LolBtPhysicsIntegration.h" +#include "../Include/LolPhysics.h" #include "../Include/EasyConstraint.h" -#endif //HAVE_PHYS_USE_BULLET namespace lol { diff --git a/test/Physics/Src/EasyPhysics.cpp b/test/Physics/Src/EasyPhysics.cpp index 7f23625a..077a048a 100644 --- a/test/Physics/Src/EasyPhysics.cpp +++ b/test/Physics/Src/EasyPhysics.cpp @@ -14,9 +14,8 @@ # include "config.h" #endif -#ifdef HAVE_PHYS_USE_BULLET -#include "../Include/EasyPhysics.h" -#endif // HAVE_PHYS_USE_BULLET +#include "../Include/LolBtPhysicsIntegration.h" +#include "../Include/LolPhysics.h" namespace lol {