Changeset 3176
- Timestamp:
- Jun 15, 2009, 10:48:17 AM (15 years ago)
- Location:
- code/branches/pch/src/orxonox
- Files:
-
- 2 added
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/collisionshapes/BoxCollisionShape.h
r2662 r3176 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "util/Math.h" 34 35 #include "CollisionShape.h" 35 36 -
code/branches/pch/src/orxonox/objects/collisionshapes/CollisionShape.cc
r3164 r3176 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/XMLPort.h" 35 #include "tools/BulletConversions.h"36 37 35 #include "objects/worldentities/WorldEntity.h" 38 36 #include "CompoundCollisionShape.h" -
code/branches/pch/src/orxonox/objects/collisionshapes/CompoundCollisionShape.h
r2662 r3176 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <vector>35 34 #include <cassert> 35 #include <map> 36 36 #include "CollisionShape.h" 37 37 -
code/branches/pch/src/orxonox/objects/collisionshapes/ConeCollisionShape.cc
r3164 r3176 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/XMLPort.h" 35 #include "tools/BulletConversions.h"36 35 37 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/collisionshapes/ConeCollisionShape.h
r2662 r3176 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "CollisionShape.h" 35 34 -
code/branches/pch/src/orxonox/objects/collisionshapes/PlaneCollisionShape.h
r2662 r3176 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "util/Math.h" 34 35 #include "CollisionShape.h" 35 36 -
code/branches/pch/src/orxonox/objects/collisionshapes/SphereCollisionShape.cc
r3164 r3176 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/XMLPort.h" 35 #include "tools/BulletConversions.h"36 35 37 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/collisionshapes/SphereCollisionShape.h
r2662 r3176 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "CollisionShape.h" 35 34 -
code/branches/pch/src/orxonox/objects/collisionshapes/WorldEntityCollisionShape.h
r2662 r3176 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "CompoundCollisionShape.h" 35 34 -
code/branches/pch/src/orxonox/objects/controllers/AIController.cc
r3110 r3176 29 29 #include "AIController.h" 30 30 31 #include "util/Math.h" 31 32 #include "core/CoreIncludes.h" 32 33 #include "core/Executor.h" -
code/branches/pch/src/orxonox/objects/controllers/AIController.h
r2662 r3176 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "tools/Timer.h" 34 35 #include "ArtificialController.h" 35 36 #include "objects/Tickable.h" 36 #include "tools/Timer.h"37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/ArtificialController.cc
r3110 r3176 32 32 #include "objects/worldentities/ControllableEntity.h" 33 33 #include "objects/worldentities/pawns/Pawn.h" 34 34 #include "objects/worldentities/pawns/TeamBaseMatchBase.h" 35 35 #include "objects/gametypes/TeamDeathmatch.h" 36 36 #include "objects/controllers/WaypointPatrolController.h" 37 #include "objects/worldentities/pawns/TeamBaseMatchBase.h"38 37 39 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/ArtificialController.h
r3049 r3176 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "util/Math.h" 34 35 #include "Controller.h" 35 #include "objects/worldentities/pawns/Pawn.h" 36 #include "util/Math.h" 36 #include "tools/PawnListener.h" 37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/Controller.cc
r3110 r3176 28 28 29 29 #include "Controller.h" 30 31 30 #include "core/CoreIncludes.h" 32 #include "overlays/OverlayGroup.h"33 31 34 32 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/Controller.h
r2826 r3176 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "core/BaseObject.h" 35 34 -
code/branches/pch/src/orxonox/objects/controllers/HumanController.cc
r3110 r3176 192 192 HumanController::localController_s->controllableEntity_->dropItems(); 193 193 } 194 195 Pawn* HumanController::getLocalControllerEntityAsPawn() 196 { 197 if (HumanController::localController_s) 198 return dynamic_cast<Pawn*>(HumanController::localController_s->getControllableEntity()); 199 else 200 return NULL; 201 } 194 202 } -
code/branches/pch/src/orxonox/objects/controllers/HumanController.h
r3089 r3176 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include "util/Math.h"35 33 #include "Controller.h" 36 #include "objects/worldentities/pawns/Pawn.h"37 34 38 35 namespace orxonox … … 69 66 static inline HumanController* getLocalControllerSingleton() 70 67 { return HumanController::localController_s; } 71 static inline Pawn* getLocalControllerEntityAsPawn() 72 { 73 if (HumanController::localController_s) { 74 return dynamic_cast<Pawn*>(HumanController::localController_s->getControllableEntity()); 75 } else { 76 return NULL; 77 } 78 } 79 68 static Pawn* getLocalControllerEntityAsPawn(); 80 69 //friend class, for mouselook 81 70 friend class Map; -
code/branches/pch/src/orxonox/objects/controllers/PongAI.cc
r3110 r3176 31 31 #include "core/CoreIncludes.h" 32 32 #include "core/ConfigValueIncludes.h" 33 #include "tools/Timer.h" 33 34 #include "objects/worldentities/ControllableEntity.h" 34 35 #include "objects/worldentities/PongBall.h" 35 #include "tools/Timer.h"36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/PongAI.h
r2885 r3176 33 33 34 34 #include <list> 35 35 #include "util/Math.h" 36 36 #include "Controller.h" 37 37 #include "objects/Tickable.h" 38 #include "util/Math.h"39 38 40 39 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/ScriptController.cc
r3110 r3176 28 28 29 29 #include "ScriptController.h" 30 31 30 #include "core/CoreIncludes.h" 32 31 … … 39 38 RegisterObject(ScriptController); 40 39 } 41 42 ScriptController::~ScriptController()43 {44 }45 40 } -
code/branches/pch/src/orxonox/objects/controllers/ScriptController.h
r2662 r3176 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "ArtificialController.h" 35 34 … … 40 39 public: 41 40 ScriptController(BaseObject* creator); 42 virtual ~ScriptController(); 43 44 protected: 41 virtual ~ScriptController() { } 45 42 46 43 private: -
code/branches/pch/src/orxonox/objects/controllers/WaypointController.cc
r3110 r3176 31 31 #include "core/CoreIncludes.h" 32 32 #include "core/XMLPort.h" 33 #include "objects/worldentities/ControllableEntity.h" 33 34 34 35 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/WaypointController.h
r3078 r3176 33 33 34 34 #include <vector> 35 36 35 #include "ArtificialController.h" 37 36 #include "objects/Tickable.h" -
code/branches/pch/src/orxonox/objects/controllers/WaypointPatrolController.cc
r3110 r3176 29 29 #include "WaypointPatrolController.h" 30 30 31 #include "util/Math.h" 31 32 #include "core/CoreIncludes.h" 33 #include "core/ObjectList.h" 32 34 #include "core/XMLPort.h" 35 #include "objects/worldentities/pawns/Pawn.h" 33 36 34 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/WaypointPatrolController.h
r3078 r3176 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "tools/Timer.h" 34 35 #include "WaypointController.h" 35 #include "tools/Timer.h"36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Pawn.cc
r3110 r3176 373 373 this->isHumanShip_ = true; 374 374 } 375 376 377 ///////////////////378 // Pawn Listener //379 ///////////////////380 PawnListener::PawnListener()381 {382 RegisterRootObject(PawnListener);383 }384 375 } -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Pawn.h
r3089 r3176 147 147 { this->weaponSystem_ = weaponsystem; } 148 148 }; 149 150 class _OrxonoxExport PawnListener : virtual public OrxonoxClass151 {152 public:153 PawnListener();154 virtual ~PawnListener() {}155 156 virtual void destroyedPawn(Pawn* pawn) = 0;157 };158 149 } 159 150 -
code/branches/pch/src/orxonox/tools/CMakeLists.txt
r3131 r3176 5 5 Mesh.cc 6 6 ParticleInterface.cc 7 PawnListener.cc 7 8 Shader.cc 8 9 TextureGenerator.cc
Note: See TracChangeset
for help on using the changeset viewer.