Changeset 3131 for code/branches/pch/src/orxonox/tools
- Timestamp:
- Jun 9, 2009, 8:37:42 PM (16 years ago)
- Location:
- code/branches/pch/src/orxonox/tools
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/tools/BillboardSet.cc
r3110 r3131 31 31 #include <sstream> 32 32 #include <cassert> 33 34 33 #include <OgreSceneManager.h> 35 34 #include <OgreBillboardSet.h> 36 35 #include <OgreBillboard.h> 37 36 37 #include "util/Convert.h" 38 #include "util/Math.h" 39 #include "util/String.h" 38 40 #include "core/GameMode.h" 39 #include "util/Convert.h"40 #include "util/String.h"41 41 42 42 namespace orxonox -
code/branches/pch/src/orxonox/tools/BillboardSet.h
r2662 r3131 34 34 #include <string> 35 35 #include <OgrePrerequisites.h> 36 37 #include "util/Math.h" 36 #include "util/UtilPrereqs.h" 38 37 39 38 namespace orxonox … … 52 51 inline Ogre::BillboardSet* getBillboardSet() 53 52 { return this->billboardSet_; } 54 inline Ogre::SceneManager* getSceneManager() 53 inline Ogre::SceneManager* getSceneManager() const 55 54 { return this->scenemanager_; } 56 55 … … 69 68 void destroyBillboardSet(); 70 69 71 static unsigned int billboardSetCounter_s;72 70 Ogre::BillboardSet* billboardSet_; 73 71 Ogre::SceneManager* scenemanager_; 72 73 static unsigned int billboardSetCounter_s; 74 74 }; 75 75 } -
code/branches/pch/src/orxonox/tools/CMakeLists.txt
r3089 r3131 1 1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES 2 2 BillboardSet.cc 3 DynamicLines.cc 4 DynamicRenderable.cc 3 5 Mesh.cc 4 6 ParticleInterface.cc … … 8 10 Timer.cc 9 11 WindowEventListener.cc 10 DynamicLines.cpp11 DynamicRenderable.cpp12 12 ) -
code/branches/pch/src/orxonox/tools/Mesh.cc
r3110 r3131 29 29 #include "Mesh.h" 30 30 31 #include <cassert> 31 32 #include <sstream> 32 33 #include <OgreEntity.h> 33 34 #include <OgreSceneManager.h> 34 #include <cassert>35 35 36 #include "core/GameMode.h"37 36 #include "util/Convert.h" 38 37 #include "util/String.h" 38 #include "core/GameMode.h" 39 39 40 40 namespace orxonox -
code/branches/pch/src/orxonox/tools/Mesh.h
r2662 r3131 58 58 59 59 private: 60 static unsigned int meshCounter_s;61 60 Ogre::Entity* entity_; 62 61 bool bCastShadows_; 63 62 Ogre::SceneManager* scenemanager_; 63 64 static unsigned int meshCounter_s; 64 65 }; 65 66 } -
code/branches/pch/src/orxonox/tools/ParticleInterface.cc
r3110 r3131 34 34 #include "ParticleInterface.h" 35 35 36 #include <cassert> 36 37 #include <OgreParticleSystem.h> 37 38 #include <OgreParticleEmitter.h> 38 39 #include <OgreSceneManager.h> 39 #include <cassert> 40 40 41 #include "util/Convert.h" 42 #include "util/Math.h" 43 #include "core/CoreIncludes.h" 44 #include "core/GameMode.h" 41 45 #include "GraphicsManager.h" 42 #include "core/GameMode.h"43 #include "core/CoreIncludes.h"44 #include "util/Convert.h"45 46 46 47 namespace orxonox … … 132 133 return 0; 133 134 } 134 Ogre::ParticleAffector* ParticleInterface::getAffector(unsigned int affectorNr) const135 Ogre::ParticleAffector* ParticleInterface::getAffector(unsigned int affectorNr) 135 136 { 136 137 if (this->particleSystem_ && (affectorNr < this->particleSystem_->getNumAffectors())) -
code/branches/pch/src/orxonox/tools/ParticleInterface.h
r2896 r3131 34 34 #include <string> 35 35 #include <OgrePrerequisites.h> 36 37 #include "core/OrxonoxClass.h"38 #include "util/Math.h"39 36 #include "tools/TimeFactorListener.h" 40 37 … … 52 49 virtual ~ParticleInterface(); 53 50 54 inline Ogre::ParticleSystem* getParticleSystem() const51 inline Ogre::ParticleSystem* getParticleSystem() 55 52 { return this->particleSystem_; } 56 53 … … 62 59 63 60 Ogre::ParticleAffector* addAffector(const std::string& name); 64 Ogre::ParticleAffector* getAffector(unsigned int affectorNr) const;61 Ogre::ParticleAffector* getAffector(unsigned int affectorNr); 65 62 void removeAffector(unsigned int affectorNr); 66 63 void removeAllAffectors(); … … 95 92 void updateVisibility(); 96 93 97 static ParticleInterface* currentParticleInterface_s;98 static unsigned int counter_s;99 100 94 Ogre::ParticleSystem* particleSystem_; 95 Ogre::SceneManager* scenemanager_; 101 96 bool bVisible_; 102 97 bool bEnabled_; … … 104 99 unsigned int detaillevel_; //!< Detail level of this particle effect (0: off, 1: low, 2: normal, 3: high) 105 100 float speedFactor_; 106 Ogre::SceneManager* scenemanager_; 101 102 static ParticleInterface* currentParticleInterface_s; 103 static unsigned int counter_s; 107 104 }; 108 105 } -
code/branches/pch/src/orxonox/tools/Shader.cc
r3110 r3131 34 34 #include <OgreRoot.h> 35 35 #include <OgrePlugin.h> 36 37 #include "core/GameMode.h"38 #include "core/CoreIncludes.h"39 #include "core/Executor.h"40 #include "GraphicsManager.h"41 #include "util/Exception.h"42 43 36 #include <OgreMaterial.h> 44 37 #include <OgreTechnique.h> 45 38 #include <OgrePass.h> 46 39 #include <OgreMaterialManager.h> 40 41 #include "core/CoreIncludes.h" 42 #include "core/GameMode.h" 43 #include "GraphicsManager.h" 47 44 48 45 namespace orxonox -
code/branches/pch/src/orxonox/tools/Shader.h
r2662 r3131 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <map> 35 #include <string> 36 #include <vector> 33 37 #include <OgrePrerequisites.h> 34 #include <vector>35 #include <map>36 38 37 39 #include "objects/Tickable.h" -
code/branches/pch/src/orxonox/tools/TextureGenerator.cc
r3110 r3131 33 33 34 34 #include "TextureGenerator.h" 35 35 36 #include <OgreMaterialManager.h> 36 37 #include <OgreTechnique.h> 37 38 #include "util/Convert.h" 39 #include "util/Math.h" 38 40 39 41 namespace std -
code/branches/pch/src/orxonox/tools/TextureGenerator.h
r1625 r3131 36 36 37 37 #include "OrxonoxPrereqs.h" 38 39 #include <map> 38 40 #include <string> 39 #include <map> 40 #include "util/Math.h" 41 #include "util/UtilPrereqs.h" 41 42 42 43 namespace orxonox -
code/branches/pch/src/orxonox/tools/TimeFactorListener.h
r2896 r3131 33 33 #include "core/OrxonoxClass.h" 34 34 35 36 35 namespace orxonox 37 36 { -
code/branches/pch/src/orxonox/tools/Timer.cc
r3110 r3131 27 27 */ 28 28 29 #include "Timer.h" 30 29 31 #include <set> 30 32 31 #include "Timer.h"32 33 #include "core/Executor.h"34 33 #include "core/CoreIncludes.h" 35 34 #include "core/ConsoleCommand.h" 36 35 #include "core/CommandExecutor.h" 37 36 #include "core/Clock.h" 37 #include "core/Functor.h" 38 38 39 39 namespace orxonox -
code/branches/pch/src/orxonox/tools/Timer.h
r2896 r3131 62 62 63 63 #include "OrxonoxPrereqs.h" 64 64 65 #include "core/Executor.h" 65 66 #include "core/OrxonoxClass.h" -
code/branches/pch/src/orxonox/tools/WindowEventListener.h
r2896 r3131 33 33 #include "core/OrxonoxClass.h" 34 34 35 36 35 namespace orxonox 37 36 {
Note: See TracChangeset
for help on using the changeset viewer.