Browse Source

Reverted last CL

legacy
Benjamin ‘Touky’ Huet touky 12 years ago
parent
commit
735d3dace5
8 changed files with 15 additions and 27 deletions
  1. +1
    -1
      test/BtPhysTest.cpp
  2. +2
    -1
      test/Physics/Include/EasyCharacterController.h
  3. +1
    -0
      test/Physics/Include/EasyConstraint.h
  4. +3
    -1
      test/Physics/Include/EasyPhysics.h
  5. +2
    -1
      test/Physics/Include/LolPhysics.h
  6. +2
    -2
      test/Physics/Src/EasyCharacterController.cpp
  7. +2
    -18
      test/Physics/Src/EasyConstraint.cpp
  8. +2
    -3
      test/Physics/Src/EasyPhysics.cpp

+ 1
- 1
test/BtPhysTest.cpp View File

@@ -104,7 +104,7 @@ BtPhysTest::BtPhysTest(bool editor)
NewPhyobj->SetTransform(NewPosition, NewRotation);
Ticker::Ref(NewPhyobj);
m_ground_list << NewPhyobj;
}
}
}

if (USE_PLATFORM)


+ 2
- 1
test/Physics/Include/EasyCharacterController.h View File

@@ -18,8 +18,9 @@
#define __EASYCHARACTERCONTROLLER_EASYCHARACTERCONTROLLER_H__

#ifdef HAVE_PHYS_USE_BULLET
#include <BulletDynamics/Character/btKinematicCharacterController.h>
#include "core.h"
#include "EasyPhysics.h"
#include <BulletDynamics/Character/btKinematicCharacterController.h>
#endif

namespace lol


+ 1
- 0
test/Physics/Include/EasyConstraint.h View File

@@ -18,6 +18,7 @@
#define __EASYCONSTRAINT_EASYCONSTRAINT_H__

#ifdef HAVE_PHYS_USE_BULLET
#include "core.h"
#include "EasyPhysics.h"
#endif



+ 3
- 1
test/Physics/Include/EasyPhysics.h View File

@@ -19,7 +19,9 @@

#ifdef HAVE_PHYS_USE_BULLET
#include "core.h"
#include "LolPhysics.h"
#include <bullet/btBulletDynamicsCommon.h>
#include <bullet/btBulletCollisionCommon.h>
#include <bullet/BulletCollision/CollisionDispatch/btGhostObject.h>
#endif

namespace lol


+ 2
- 1
test/Physics/Include/LolPhysics.h View File

@@ -11,8 +11,9 @@
#ifdef HAVE_PHYS_USE_BULLET
#include <bullet/btBulletDynamicsCommon.h>
#include <bullet/btBulletCollisionCommon.h>
#include <bullet/BulletCollision/CollisionDispatch/btGhostObject.h>
#include "LolBtPhysicsIntegration.h"
#include "EasyPhysics.h"
#include "EasyConstraint.h"
#endif

namespace lol


+ 2
- 2
test/Physics/Src/EasyCharacterController.cpp View File

@@ -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
{


+ 2
- 18
test/Physics/Src/EasyConstraint.cpp View File

@@ -1,22 +1,6 @@
//
// Lol Engine
//
// Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net>
// (c) 2009-2012 Cédric Lecacheur <jordx@free.fr>
// (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com>
// 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
{


+ 2
- 3
test/Physics/Src/EasyPhysics.cpp View File

@@ -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
{


Loading…
Cancel
Save