Changeset 3186
- Timestamp:
- Jun 16, 2009, 2:25:05 PM (15 years ago)
- Location:
- code/branches/pch/src/orxonox/objects
- Files:
-
- 63 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/gametypes/Gametype.cc
r3182 r3186 33 33 #include "core/ConfigValueIncludes.h" 34 34 #include "core/GameMode.h" 35 #include "core/ObjectList.h"36 35 37 36 #include "objects/infos/PlayerInfo.h" … … 41 40 #include "objects/worldentities/SpawnPoint.h" 42 41 #include "objects/worldentities/pawns/Spectator.h" 42 #include "objects/worldentities/pawns/Pawn.h" 43 43 #include "overlays/OverlayGroup.h" 44 44 -
code/branches/pch/src/orxonox/objects/gametypes/TeamDeathmatch.cc
r3183 r3186 33 33 #include "interfaces/TeamColourable.h" 34 34 #include "objects/worldentities/TeamSpawnPoint.h" 35 #include "objects/worldentities/pawns/Pawn.h" 35 36 36 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Attacher.h
r3078 r3186 33 33 34 34 #include <list> 35 35 #include <string> 36 #include "core/XMLNameListener.h" 36 37 #include "objects/worldentities/StaticEntity.h" 37 #include "core/XMLNameListener.h"38 38 39 39 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Backlight.cc
r3149 r3186 31 31 #include <OgreRibbonTrail.h> 32 32 #include <OgreSceneManager.h> 33 33 #include <OgreSceneNode.h> 34 35 #include "util/Exception.h" 36 #include "core/CoreIncludes.h" 34 37 #include "core/GameMode.h" 35 #include "core/CoreIncludes.h"36 #include "core/Executor.h"37 38 #include "core/XMLPort.h" 38 39 #include "objects/Scene.h" -
code/branches/pch/src/orxonox/objects/worldentities/Backlight.h
r3177 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <string> 35 #include "interfaces/TimeFactorListener.h" 33 36 #include "FadingBillboard.h" 34 #include "interfaces/TimeFactorListener.h"35 37 36 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/BigExplosion.cc
r3110 r3186 28 28 29 29 #include "BigExplosion.h" 30 #include "MovableEntity.h" 30 31 //#include <sstream> 32 #include <OgreParticleSystem.h> 33 34 #include "util/Exception.h" 35 #include "core/CoreIncludes.h" 36 #include "core/CommandExecutor.h" 37 #include "core/Executor.h" 38 #include "core/GameMode.h" 39 #include "tools/ParticleInterface.h" 40 #include "objects/Scene.h" 41 #include "objects/worldentities/ParticleSpawner.h" 31 42 #include "Model.h" 32 33 #include <OgreParticleSystem.h>34 #include <OgreSceneNode.h>35 #include <sstream>36 37 #include "core/GameMode.h"38 #include "core/CoreIncludes.h"39 #include "core/Executor.h"40 #include "core/CommandExecutor.h"41 #include "objects/Scene.h"42 #include "tools/ParticleInterface.h"43 #include "objects/worldentities/ParticleSpawner.h"44 #include "util/Exception.h"45 43 46 44 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/BigExplosion.h
r3087 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <string> 34 35 35 #include "tools/Timer.h" 36 36 #include "MovableEntity.h" 37 #include "tools/Timer.h"38 37 39 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Billboard.cc
r3110 r3186 32 32 33 33 #include "core/CoreIncludes.h" 34 #include "core/GameMode.h" 34 35 #include "core/XMLPort.h" 35 #include "core/GameMode.h"36 36 #include "objects/Scene.h" 37 37 -
code/branches/pch/src/orxonox/objects/worldentities/Billboard.h
r3183 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include "StaticEntity.h" 33 34 34 #include "util/Math.h" 35 35 #include "tools/BillboardSet.h" 36 36 #include "interfaces/TeamColourable.h" 37 #include "StaticEntity.h" 37 38 38 39 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/BlinkingBillboard.cc
r3110 r3186 29 29 #include "BlinkingBillboard.h" 30 30 31 #include "core/CoreIncludes.h" 31 32 #include "core/GameMode.h" 32 #include "core/CoreIncludes.h"33 33 #include "core/XMLPort.h" 34 #include "util/Math.h"35 34 36 35 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/BlinkingBillboard.h
r3177 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include "util/Math.h" 35 #include "interfaces/Tickable.h" 33 36 #include "Billboard.h" 34 #include "interfaces/Tickable.h"35 37 36 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Camera.cc
r3154 r3186 28 28 29 29 #include "Camera.h" 30 31 #include <string>32 #include <cassert>33 30 34 31 #include <OgreCamera.h> -
code/branches/pch/src/orxonox/objects/worldentities/Camera.h
r3177 r3186 33 33 34 34 #include <OgrePrerequisites.h> 35 #include "interfaces/Tickable.h" 35 36 #include "objects/worldentities/StaticEntity.h" 36 #include "interfaces/Tickable.h"37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/CameraPosition.cc
r3110 r3186 30 30 31 31 #include <OgreCamera.h> 32 33 32 #include "core/CoreIncludes.h" 34 33 #include "core/XMLPort.h" -
code/branches/pch/src/orxonox/objects/worldentities/CameraPosition.h
r3089 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "objects/worldentities/StaticEntity.h" 35 34 -
code/branches/pch/src/orxonox/objects/worldentities/ControllableEntity.cc
r3110 r3186 30 30 31 31 #include <OgreSceneManager.h> 32 #include <OgreSceneNode.h> 32 33 33 34 #include "core/CoreIncludes.h" … … 35 36 #include "core/GameMode.h" 36 37 #include "core/XMLPort.h" 37 #include "core/Template.h"38 38 39 39 #include "objects/Scene.h" -
code/branches/pch/src/orxonox/objects/worldentities/ControllableEntity.h
r3089 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <list> 35 #include <string> 36 #include "util/Math.h" 33 37 #include "MobileEntity.h" 34 38 -
code/branches/pch/src/orxonox/objects/worldentities/ExplosionChunk.cc
r3110 r3186 31 31 #include <OgreParticleSystem.h> 32 32 33 #include "core/GameMode.h"34 33 #include "core/CoreIncludes.h" 35 34 #include "core/Executor.h" 35 #include "core/GameMode.h" 36 #include "util/Exception.h" 36 37 #include "objects/Scene.h" 37 38 #include "tools/ParticleInterface.h" 38 #include "util/Exception.h"39 39 40 40 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/ExplosionChunk.h
r2662 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "tools/Timer.h" 34 35 #include "MovableEntity.h" 35 #include "tools/Timer.h"36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/FadingBillboard.cc
r3110 r3186 30 30 31 31 #include "core/CoreIncludes.h" 32 #include "core/Executor.h"33 32 #include "core/XMLPort.h" 34 33 -
code/branches/pch/src/orxonox/objects/worldentities/FadingBillboard.h
r3177 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include "util/Math.h" 35 #include "tools/Timer.h" 36 #include "interfaces/Tickable.h" 33 37 #include "Billboard.h" 34 #include "interfaces/Tickable.h"35 #include "tools/Timer.h"36 38 37 39 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/ForceField.cc
r3064 r3186 28 28 29 29 #include "ForceField.h" 30 #include "core/XMLPort.h"31 30 32 31 #include "core/CoreIncludes.h" 32 #include "core/XMLPort.h" 33 33 #include "objects/worldentities/MobileEntity.h" 34 34 -
code/branches/pch/src/orxonox/objects/worldentities/ForceField.h
r3177 r3186 31 31 #define _ForceField_H__ 32 32 33 #include "OrxonoxPrereqs.h" 34 35 #include "interfaces/Tickable.h" 33 36 #include "StaticEntity.h" 34 #include "interfaces/Tickable.h"35 37 36 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Light.cc
r3110 r3186 29 29 #include "Light.h" 30 30 31 #include <sstream>32 #include <cassert>33 34 31 #include <OgreSceneManager.h> 32 #include <OgreLight.h> 33 #include <boost/static_assert.hpp> 35 34 36 35 #include "util/String.h" 37 36 #include "util/Exception.h" 37 #include "core/CoreIncludes.h" 38 38 #include "core/GameMode.h" 39 #include "core/CoreIncludes.h"40 39 #include "core/XMLPort.h" 41 40 #include "objects/Scene.h" … … 44 43 { 45 44 CreateFactory(Light); 45 46 // Be sure we don't do bad conversions 47 BOOST_STATIC_ASSERT((int)Ogre::Light::LT_POINT == (int)Light::LT_POINT); 48 BOOST_STATIC_ASSERT((int)Ogre::Light::LT_DIRECTIONAL == (int)Light::LT_DIRECTIONAL); 49 BOOST_STATIC_ASSERT((int)Ogre::Light::LT_SPOTLIGHT == (int)Light::LT_SPOTLIGHT); 46 50 47 51 Light::Light(BaseObject* creator) : StaticEntity(creator) … … 52 56 this->diffuse_ = ColourValue::White; 53 57 this->specular_ = ColourValue::White; 54 this->type_ = Ogre::Light::LT_POINT;58 this->type_ = Light::LT_POINT; 55 59 this->attenuation_ = Vector4(100000, 1, 0, 0); 56 60 this->spotlightRange_ = Vector3(40.0f, 30.0f, 1.0f); … … 136 140 { 137 141 if (type == "point") 138 this->setType( Ogre::Light::LT_POINT);142 this->setType(Light::LT_POINT); 139 143 else if (type == "directional") 140 this->setType( Ogre::Light::LT_DIRECTIONAL);144 this->setType(Light::LT_DIRECTIONAL); 141 145 else if (type == "spotlight") 142 this->setType( Ogre::Light::LT_SPOTLIGHT);146 this->setType(Light::LT_SPOTLIGHT); 143 147 else 144 this->setType( Ogre::Light::LT_POINT);148 this->setType(Light::LT_POINT); 145 149 } 146 150 … … 149 153 switch (this->type_) 150 154 { 151 case Ogre::Light::LT_DIRECTIONAL:155 case Light::LT_DIRECTIONAL: 152 156 return "directional"; 153 case Ogre::Light::LT_SPOTLIGHT:157 case Light::LT_SPOTLIGHT: 154 158 return "spotlight"; 155 case Ogre::Light::LT_POINT:159 case Light::LT_POINT: 156 160 default: 157 161 return "point"; … … 163 167 if (this->light_) 164 168 { 165 this->light_->setType( this->type_);169 this->light_->setType(static_cast<Ogre::Light::LightTypes>(this->type_)); 166 170 167 171 if (this->type_ != Ogre::Light::LT_DIRECTIONAL) -
code/branches/pch/src/orxonox/objects/worldentities/Light.h
r3183 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include "StaticEntity.h"34 33 35 34 #include <string> 36 #include <OgreLight.h>37 38 35 #include "util/Math.h" 39 36 #include "interfaces/TeamColourable.h" 37 #include "StaticEntity.h" 40 38 41 39 namespace orxonox … … 43 41 class _OrxonoxExport Light : public StaticEntity, public TeamColourable 44 42 { 43 public: 44 enum LightTypes // Copy from the Ogre enum 45 { 46 /// Point light sources give off light equally in all directions, so require only position not direction 47 LT_POINT, 48 /// Directional lights simulate parallel light beams from a distant source, hence have direction but no position 49 LT_DIRECTIONAL, 50 /// Spotlights simulate a cone of light from a source so require position and direction, plus extra values for falloff 51 LT_SPOTLIGHT 52 }; 53 45 54 public: 46 55 Light(BaseObject* creator); … … 55 64 { return this->light_; } 56 65 57 inline void setType( Ogre::Light::LightTypes type)66 inline void setType(Light::LightTypes type) 58 67 { this->type_ = type; this->updateType(); } 59 inline Ogre::Light::LightTypes getType() const68 inline Light::LightTypes getType() const 60 69 { return this->type_; } 61 70 … … 133 142 134 143 Ogre::Light* light_; 135 Ogre::Light::LightTypes type_;144 LightTypes type_; 136 145 ColourValue diffuse_; 137 146 ColourValue specular_; -
code/branches/pch/src/orxonox/objects/worldentities/MobileEntity.cc
r3182 r3186 32 32 #include <BulletDynamics/Dynamics/btRigidBody.h> 33 33 34 #include "util/MathConvert.h"35 34 #include "core/CoreIncludes.h" 36 35 #include "core/XMLPort.h" 37 38 36 #include "objects/Scene.h" 39 37 -
code/branches/pch/src/orxonox/objects/worldentities/MobileEntity.h
r3177 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "util/Math.h" 35 #include "interfaces/Tickable.h" 34 36 #include "WorldEntity.h" 35 #include "interfaces/Tickable.h"36 37 37 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Model.cc
r3110 r3186 27 27 */ 28 28 29 #include "Model.h" 29 30 30 31 #include <OgreEntity.h> 31 #include "Model.h" 32 33 #include "core/CoreIncludes.h" 32 34 #include "core/GameMode.h" 33 #include "core/CoreIncludes.h"34 35 #include "core/XMLPort.h" 35 36 #include "objects/Scene.h" -
code/branches/pch/src/orxonox/objects/worldentities/Model.h
r2662 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <string> 35 #include "tools/Mesh.h" 33 36 #include "StaticEntity.h" 34 #include "tools/Mesh.h"35 37 36 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/MovableEntity.cc
r3110 r3186 31 31 32 32 #include "core/CoreIncludes.h" 33 #include "core/XMLPort.h"34 33 #include "core/Executor.h" 35 34 #include "core/GameMode.h" 35 #include "core/XMLPort.h" 36 36 #include "objects/worldentities/pawns/Pawn.h" 37 37 -
code/branches/pch/src/orxonox/objects/worldentities/MovableEntity.h
r3033 r3186 33 33 #include "OrxonoxPrereqs.h" 34 34 35 #include " MobileEntity.h"35 #include "util/Math.h" 36 36 #include "network/ClientConnectionListener.h" 37 37 #include "tools/Timer.h" 38 #include "MobileEntity.h" 38 39 39 40 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/ParticleEmitter.cc
r3110 r3186 36 36 #include <OgreParticleSystem.h> 37 37 38 #include "util/Exception.h" 39 #include "core/CoreIncludes.h" 40 #include "core/GameMode.h" 41 #include "core/XMLPort.h" 38 42 #include "tools/ParticleInterface.h" 39 #include "util/Exception.h"40 #include "core/GameMode.h"41 #include "core/CoreIncludes.h"42 #include "core/XMLPort.h"43 43 #include "objects/Scene.h" 44 44 -
code/branches/pch/src/orxonox/objects/worldentities/ParticleEmitter.h
r2662 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <string> 33 35 #include "StaticEntity.h" 34 36 -
code/branches/pch/src/orxonox/objects/worldentities/ParticleSpawner.h
r3068 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "tools/Timer.h" 34 35 #include "ParticleEmitter.h" 35 #include "tools/Timer.h"36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Planet.cc
r3175 r3186 29 29 #include "Planet.h" 30 30 31 #include <math.h>32 33 31 #include <OgreEntity.h> 34 32 #include <OgreBillboardSet.h> 35 #include <OgreHardwareVertexBuffer.h> 36 #include <OgreMeshManager.h> 33 #include <OgreProgressiveMesh.h> 37 34 38 35 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h" 39 37 #include "core/XMLPort.h" 40 38 #include "objects/Scene.h" 39 #include "Camera.h" 41 40 #include "CameraManager.h" 42 #include "Camera.h"43 #include "GraphicsManager.h"44 41 45 42 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Planet.h
r3177 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <OgreMesh.h> 35 34 #include <string> 36 35 #include "tools/BillboardSet.h" 37 36 #include "tools/Mesh.h" 38 37 #include "MovableEntity.h" 39 #include "interfaces/Tickable.h"40 38 41 39 namespace orxonox … … 108 106 float atmosphereSize; 109 107 float imageSize; 110 Ogre::Mesh::LodDistanceListdistList;108 std::vector<float> distList; 111 109 BillboardSet billboard_; 112 110 bool bCastShadows_; -
code/branches/pch/src/orxonox/objects/worldentities/PongBall.cc
r3110 r3186 32 32 #include "core/GameMode.h" 33 33 #include "objects/gametypes/Gametype.h" 34 #include "objects/worldentities/PongBat.h" 34 35 #include "sound/SoundBase.h" 35 36 … … 217 218 } 218 219 } 220 221 void PongBall::setBats(PongBat** bats) 222 { 223 this->bat_ = bats; 224 this->batID_[0] = this->bat_[0]->getObjectID(); 225 this->batID_[1] = this->bat_[1]->getObjectID(); 226 } 227 228 void PongBall::applyBats() 229 { 230 if (!this->bat_) 231 this->bat_ = new PongBat*[2]; 232 if (this->batID_[0] != OBJECTID_UNKNOWN) 233 this->bat_[0] = dynamic_cast<PongBat*>(Synchronisable::getSynchronisable(this->batID_[0])); 234 if (this->batID_[1] != OBJECTID_UNKNOWN) 235 this->bat_[1] = dynamic_cast<PongBat*>(Synchronisable::getSynchronisable(this->batID_[1])); 236 } 219 237 } -
code/branches/pch/src/orxonox/objects/worldentities/PongBall.h
r3108 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "util/Math.h" 34 35 #include "objects/worldentities/MovableEntity.h" 35 #include "objects/worldentities/PongBat.h"36 36 37 37 namespace orxonox … … 63 63 { return this->batlength_; } 64 64 65 void setBats(PongBat** bats) 66 { this->bat_ = bats; this->batID_[0] = this->bat_[0]->getObjectID(); this->batID_[1] = this->bat_[1]->getObjectID(); } 67 68 void applyBats() 69 { if(!this->bat_) this->bat_ = new PongBat*[2]; if(this->batID_[0] != OBJECTID_UNKNOWN) this->bat_[0] = dynamic_cast<PongBat*>(Synchronisable::getSynchronisable(this->batID_[0])); if(this->batID_[1] != OBJECTID_UNKNOWN) this->bat_[1] = dynamic_cast<PongBat*>(Synchronisable::getSynchronisable(this->batID_[1])); } 65 void setBats(PongBat** bats); 66 void applyBats(); 70 67 71 68 static const float MAX_REL_Z_VELOCITY; -
code/branches/pch/src/orxonox/objects/worldentities/PongBat.h
r2839 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "objects/worldentities/ControllableEntity.h" 35 34 -
code/branches/pch/src/orxonox/objects/worldentities/PongCenterpoint.h
r2826 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <string> 35 #include <util/Math.h> 34 36 #include "objects/worldentities/StaticEntity.h" 35 37 -
code/branches/pch/src/orxonox/objects/worldentities/SpawnPoint.cc
r3110 r3186 30 30 31 31 #include "core/CoreIncludes.h" 32 #include "core/Template.h" 32 33 #include "core/XMLPort.h" 33 34 #include "objects/gametypes/Gametype.h" 35 #include "objects/worldentities/pawns/Pawn.h" 34 36 35 37 namespace orxonox … … 71 73 } 72 74 75 void SpawnPoint::setTemplate(Template* temp) 76 { 77 this->template_ = temp; 78 this->templatename_ = temp->getName(); 79 } 80 73 81 Pawn* SpawnPoint::spawn() 74 82 { -
code/branches/pch/src/orxonox/objects/worldentities/SpawnPoint.h
r2662 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <string> 34 35 #include "core/Identifier.h" 35 #include "core/Template.h"36 #include "objects/worldentities/pawns/Pawn.h"37 36 #include "objects/worldentities/StaticEntity.h" 38 37 … … 52 51 { return this->spawnclass_; } 53 52 54 inline void setTemplate(Template* temp) 55 { this->template_ = temp; this->templatename_ = temp->getName(); } 53 void setTemplate(Template* temp); 56 54 inline Template* getTemplate() const 57 55 { return this->template_; } -
code/branches/pch/src/orxonox/objects/worldentities/StaticEntity.cc
r3164 r3186 32 32 #include <OgreSceneNode.h> 33 33 #include <BulletDynamics/Dynamics/btRigidBody.h> 34 35 34 #include "util/OrxAssert.h" 36 35 #include "core/CoreIncludes.h" -
code/branches/pch/src/orxonox/objects/worldentities/TeamSpawnPoint.h
r2826 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "objects/worldentities/pawns/Pawn.h" 34 35 #include "SpawnPoint.h" 35 36 -
code/branches/pch/src/orxonox/objects/worldentities/WorldEntity.cc
r3164 r3186 30 30 #include "WorldEntity.h" 31 31 32 #include <cassert>33 32 #include <OgreSceneNode.h> 34 33 #include <OgreSceneManager.h> … … 38 37 #include "util/OrxAssert.h" 39 38 #include "util/Convert.h" 39 #include "util/Exception.h" 40 40 #include "core/CoreIncludes.h" 41 41 #include "core/XMLPort.h" 42 43 42 #include "objects/Scene.h" 44 43 #include "objects/collisionshapes/WorldEntityCollisionShape.h" … … 507 506 508 507 // Note: These functions are placed in WorldEntity.h as inline functions for the release build. 509 #ifndef NDEBUG508 #ifndef ORXONOX_RELEASE 510 509 const Vector3& WorldEntity::getPosition() const 511 510 { -
code/branches/pch/src/orxonox/objects/worldentities/WorldEntity.h
r3165 r3186 33 33 #include "OrxonoxPrereqs.h" 34 34 35 #ifdef NDEBUG35 #ifdef ORXONOX_RELEASE 36 36 #include <OgreSceneNode.h> 37 37 #else … … 443 443 444 444 // Inline heavily used functions for release builds. In debug, we better avoid including OgreSceneNode here. 445 #ifdef NDEBUG445 #ifdef ORXONOX_RELEASE 446 446 inline const Vector3& WorldEntity::getPosition() const 447 447 { return this->node_->getPosition(); } -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Pawn.cc
r3177 r3186 29 29 #include "Pawn.h" 30 30 31 #include "core/CoreIncludes.h" 31 32 #include "core/GameMode.h" 32 #include "core/CoreIncludes.h"33 33 #include "core/XMLPort.h" 34 #include "util/Math.h" 34 #include "network/NetworkFunction.h" 35 36 #include "interfaces/PawnListener.h" 35 37 #include "PawnManager.h" 36 #include "interfaces/PawnListener.h"37 38 #include "objects/infos/PlayerInfo.h" 38 39 #include "objects/gametypes/Gametype.h" … … 40 41 #include "objects/worldentities/ExplosionChunk.h" 41 42 #include "objects/worldentities/BigExplosion.h" 42 43 43 #include "objects/weaponsystem/WeaponSystem.h" 44 44 #include "objects/weaponsystem/WeaponSlot.h" … … 46 46 #include "objects/weaponsystem/WeaponSet.h" 47 47 48 #include "network/NetworkFunction.h"49 48 50 49 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Pawn.h
r3177 r3186 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <string> 35 #include "interfaces/RadarViewable.h" 33 36 #include "objects/worldentities/ControllableEntity.h" 34 #include "interfaces/RadarViewable.h"35 37 #include "objects/pickup/PickupCollection.h" 36 38 -
code/branches/pch/src/orxonox/objects/worldentities/pawns/SpaceShip.cc
r3164 r3186 31 31 #include <BulletDynamics/Dynamics/btRigidBody.h> 32 32 33 #include "util/Math.h"34 33 #include "core/CoreIncludes.h" 35 34 #include "core/ConfigValueIncludes.h" -
code/branches/pch/src/orxonox/objects/worldentities/pawns/SpaceShip.h
r3164 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <string> 34 35 #include <LinearMath/btVector3.h> 35 36 #include "util/Math.h" 36 37 #include "Pawn.h" 37 38 -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Spectator.cc
r3110 r3186 34 34 #include "core/ConfigValueIncludes.h" 35 35 #include "core/GameMode.h" 36 #include "objects/worldentities/Model.h" 36 37 #include "tools/BillboardSet.h" 37 38 #include "objects/Scene.h" 38 39 #include "objects/infos/PlayerInfo.h" 39 #include "objects/gametypes/Gametype.h"40 #include "tools/BillboardSet.h"41 #include "overlays/OverlayText.h"42 #include "overlays/OverlayGroup.h"43 #include "util/Convert.h"44 40 45 41 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Spectator.h
r3053 r3186 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "util/Math.h" 34 35 #include "objects/worldentities/ControllableEntity.h" 35 36 -
code/branches/pch/src/orxonox/objects/worldentities/pawns/TeamBaseMatchBase.cc
r3183 r3186 29 29 30 30 #include "TeamBaseMatchBase.h" 31 31 32 #include "core/CoreIncludes.h" 33 #include "interfaces/PawnListener.h" 34 #include "interfaces/TeamColourable.h" 32 35 #include "objects/gametypes/TeamBaseMatch.h" 33 #include "interfaces/TeamColourable.h"34 #include "interfaces/PawnListener.h"35 36 36 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/pawns/TeamBaseMatchBase.h
r3033 r3186 30 30 #define _TeamBaseMatchBase_H__ 31 31 32 #include "OrxonoxPrereqs.h" 33 32 34 #include "Pawn.h" 33 35 34 36 namespace orxonox 35 37 { 36 37 38 38 namespace BaseState 39 39 { -
code/branches/pch/src/orxonox/objects/worldentities/triggers/CheckPoint.cc
r3110 r3186 31 31 #include "core/CoreIncludes.h" 32 32 #include "core/XMLPort.h" 33 34 33 #include "objects/gametypes/Asteroids.h" 35 #include "o rxonox/objects/worldentities/pawns/Pawn.h"34 #include "objects/worldentities/pawns/Pawn.h" 36 35 37 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/triggers/CheckPoint.h
r3177 r3186 35 35 #define _CheckPoint_H__ 36 36 37 #include "OrxonoxPrereqs.h" 38 39 #include "interfaces/RadarViewable.h" 37 40 #include "DistanceTrigger.h" 38 #include "interfaces/RadarViewable.h"39 41 40 42 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/triggers/DistanceTrigger.cc
r3110 r3186 29 29 #include "DistanceTrigger.h" 30 30 31 #include <OgreNode.h>32 33 31 #include "core/CoreIncludes.h" 34 32 #include "core/XMLPort.h" 35 36 33 #include "orxonox/objects/worldentities/pawns/Pawn.h" 37 34 -
code/branches/pch/src/orxonox/objects/worldentities/triggers/DistanceTrigger.h
r3068 r3186 30 30 #define _DistanceTrigger_H__ 31 31 32 #include " PlayerTrigger.h"32 #include "OrxonoxPrereqs.h" 33 33 34 34 #include <set> 35 36 35 #include "core/ClassTreeMask.h" 37 #include "core/BaseObject.h" 38 39 #include "orxonox/objects/worldentities/ControllableEntity.h" 36 #include "PlayerTrigger.h" 40 37 41 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/triggers/EventTrigger.h
r2087 r3186 30 30 #define _EventTrigger_H__ 31 31 32 #include "OrxonoxPrereqs.h" 32 33 #include "Trigger.h" 33 34 #include "core/ClassTreeMask.h"35 #include "core/BaseObject.h"36 34 37 35 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/triggers/PlayerTrigger.cc
r3110 r3186 34 34 35 35 #include "PlayerTrigger.h" 36 37 36 #include "core/CoreIncludes.h" 38 37 -
code/branches/pch/src/orxonox/objects/worldentities/triggers/PlayerTrigger.h
r3033 r3186 37 37 38 38 #include "OrxonoxPrereqs.h" 39 40 39 #include "Trigger.h" 41 40 -
code/branches/pch/src/orxonox/objects/worldentities/triggers/Trigger.cc
r3182 r3186 29 29 #include "Trigger.h" 30 30 31 #include <OgreBillboard.h>32 31 #include <OgreBillboardSet.h> 32 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/ConsoleCommand.h" 35 #include "core/GameMode.h" 35 36 #include "core/XMLPort.h" 36 #include "core/GameMode.h"37 37 #include "objects/Scene.h" 38 38 -
code/branches/pch/src/orxonox/objects/worldentities/triggers/Trigger.h
r3177 r3186 30 30 #define _Trigger_H__ 31 31 32 #include "OrxonoxPrereqs.h" 33 32 34 #include <set> 33 35 #include <queue> 34 36 35 #include "OrxonoxPrereqs.h" 36 37 #include "tools/BillboardSet.h" 37 38 #include "interfaces/Tickable.h" 38 39 #include "objects/worldentities/StaticEntity.h" 39 #include "tools/BillboardSet.h"40 40 41 41 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.