Changeset 9667 for code/trunk/src/orxonox/graphics
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/graphics/AnimatedModel.cc
r8858 r9667 39 39 namespace orxonox 40 40 { 41 CreateFactory(AnimatedModel);41 RegisterClass(AnimatedModel); 42 42 43 AnimatedModel::AnimatedModel( BaseObject* creator) : Model(creator)43 AnimatedModel::AnimatedModel(Context* context) : Model(context) 44 44 { 45 45 RegisterObject(AnimatedModel); -
code/trunk/src/orxonox/graphics/AnimatedModel.h
r8858 r9667 41 41 { 42 42 public: 43 AnimatedModel( BaseObject* creator);43 AnimatedModel(Context* context); 44 44 virtual ~AnimatedModel(); 45 45 -
code/trunk/src/orxonox/graphics/Backlight.cc
r8424 r9667 45 45 namespace orxonox 46 46 { 47 CreateFactory(Backlight);48 49 Backlight::Backlight( BaseObject* creator) : FadingBillboard(creator)47 RegisterClass(Backlight); 48 49 Backlight::Backlight(Context* context) : FadingBillboard(context) 50 50 { 51 51 RegisterObject(Backlight); -
code/trunk/src/orxonox/graphics/Backlight.h
r7163 r9667 41 41 { 42 42 public: 43 Backlight( BaseObject* creator);43 Backlight(Context* context); 44 44 virtual ~Backlight(); 45 45 -
code/trunk/src/orxonox/graphics/Billboard.cc
r8706 r9667 38 38 namespace orxonox 39 39 { 40 CreateFactory(Billboard);40 RegisterClass(Billboard); 41 41 42 Billboard::Billboard( BaseObject* creator) : StaticEntity(creator)42 Billboard::Billboard(Context* context) : StaticEntity(context) 43 43 { 44 44 RegisterObject(Billboard); -
code/trunk/src/orxonox/graphics/Billboard.h
r8706 r9667 44 44 { 45 45 public: 46 Billboard( BaseObject* creator);46 Billboard(Context* context); 47 47 virtual ~Billboard(); 48 48 -
code/trunk/src/orxonox/graphics/BlinkingBillboard.cc
r8351 r9667 35 35 namespace orxonox 36 36 { 37 CreateFactory(BlinkingBillboard);37 RegisterClass(BlinkingBillboard); 38 38 39 BlinkingBillboard::BlinkingBillboard( BaseObject* creator) : Billboard(creator)39 BlinkingBillboard::BlinkingBillboard(Context* context) : Billboard(context) 40 40 { 41 41 RegisterObject(BlinkingBillboard); -
code/trunk/src/orxonox/graphics/BlinkingBillboard.h
r8351 r9667 41 41 { 42 42 public: 43 BlinkingBillboard( BaseObject* creator);43 BlinkingBillboard(Context* context); 44 44 virtual ~BlinkingBillboard(); 45 45 -
code/trunk/src/orxonox/graphics/Camera.cc
r8706 r9667 37 37 #include "util/StringUtils.h" 38 38 #include "core/CoreIncludes.h" 39 #include "core/ ConfigValueIncludes.h"39 #include "core/config/ConfigValueIncludes.h" 40 40 #include "core/GameMode.h" 41 41 #include "core/GUIManager.h" … … 46 46 namespace orxonox 47 47 { 48 CreateFactory(Camera);49 50 Camera::Camera( BaseObject* creator) : StaticEntity(creator)48 RegisterClass(Camera); 49 50 Camera::Camera(Context* context) : StaticEntity(context) 51 51 { 52 52 RegisterObject(Camera); -
code/trunk/src/orxonox/graphics/Camera.h
r8706 r9667 46 46 47 47 public: 48 Camera( BaseObject* creator);48 Camera(Context* context); 49 49 virtual ~Camera(); 50 50 -
code/trunk/src/orxonox/graphics/FadingBillboard.cc
r5929 r9667 34 34 namespace orxonox 35 35 { 36 CreateFactory(FadingBillboard);36 RegisterClass(FadingBillboard); 37 37 38 FadingBillboard::FadingBillboard( BaseObject* creator) : Billboard(creator)38 FadingBillboard::FadingBillboard(Context* context) : Billboard(context) 39 39 { 40 40 RegisterObject(FadingBillboard); -
code/trunk/src/orxonox/graphics/FadingBillboard.h
r7163 r9667 42 42 { 43 43 public: 44 FadingBillboard( BaseObject* creator);44 FadingBillboard(Context* context); 45 45 virtual ~FadingBillboard(); 46 46 -
code/trunk/src/orxonox/graphics/GlobalShader.cc
r8079 r9667 36 36 namespace orxonox 37 37 { 38 CreateFactory(GlobalShader);38 RegisterClass(GlobalShader); 39 39 40 GlobalShader::GlobalShader( BaseObject* creator) : BaseObject(creator), Synchronisable(creator)40 GlobalShader::GlobalShader(Context* context) : BaseObject(context), Synchronisable(context) 41 41 { 42 42 RegisterObject(GlobalShader); -
code/trunk/src/orxonox/graphics/GlobalShader.h
r8079 r9667 41 41 { 42 42 public: 43 GlobalShader( BaseObject* creator);43 GlobalShader(Context* context); 44 44 virtual ~GlobalShader(); 45 45 -
code/trunk/src/orxonox/graphics/Light.cc
r5781 r9667 42 42 namespace orxonox 43 43 { 44 CreateFactory(Light);44 RegisterClass(Light); 45 45 46 46 // Be sure we don't do bad conversions … … 49 49 BOOST_STATIC_ASSERT((int)Ogre::Light::LT_SPOTLIGHT == (int)Light::Spotlight); 50 50 51 Light::Light( BaseObject* creator) : StaticEntity(creator)51 Light::Light(Context* context) : StaticEntity(context) 52 52 { 53 53 RegisterObject(Light); -
code/trunk/src/orxonox/graphics/Light.h
r7401 r9667 53 53 54 54 public: 55 Light( BaseObject* creator);55 Light(Context* context); 56 56 virtual ~Light(); 57 57 -
code/trunk/src/orxonox/graphics/MeshLodInformation.cc
r7183 r9667 38 38 namespace orxonox 39 39 { 40 CreateFactory(MeshLodInformation);40 RegisterClass(MeshLodInformation); 41 41 42 MeshLodInformation::MeshLodInformation( BaseObject* creator)43 : BaseObject(c reator), lodLevel_(5), bEnabled_(true), numLevels_(10), reductionRate_(0.15f)42 MeshLodInformation::MeshLodInformation(Context* context) 43 : BaseObject(context), lodLevel_(5), bEnabled_(true), numLevels_(10), reductionRate_(0.15f) 44 44 { 45 45 RegisterObject(MeshLodInformation); -
code/trunk/src/orxonox/graphics/MeshLodInformation.h
r7163 r9667 41 41 { 42 42 public: 43 MeshLodInformation( BaseObject* creator);43 MeshLodInformation(Context* context); 44 44 virtual ~MeshLodInformation(); 45 45 -
code/trunk/src/orxonox/graphics/Model.cc
r8858 r9667 32 32 33 33 #include "core/CoreIncludes.h" 34 #include "core/ ConfigValueIncludes.h"34 #include "core/config/ConfigValueIncludes.h" 35 35 #include "core/GameMode.h" 36 36 #include "core/XMLPort.h" … … 41 41 namespace orxonox 42 42 { 43 CreateFactory(Model);44 45 Model::Model( BaseObject* creator) :46 StaticEntity(c reator), bCastShadows_(true), lodLevel_(5), bLodEnabled_(true), numLodLevels_(10), lodReductionRate_(.15f)43 RegisterClass(Model); 44 45 Model::Model(Context* context) : 46 StaticEntity(context), bCastShadows_(true), lodLevel_(5), bLodEnabled_(true), numLodLevels_(10), lodReductionRate_(.15f) 47 47 { 48 48 RegisterObject(Model); -
code/trunk/src/orxonox/graphics/Model.h
r7166 r9667 41 41 { 42 42 public: 43 Model( BaseObject* creator);43 Model(Context* context); 44 44 virtual ~Model(); 45 45 -
code/trunk/src/orxonox/graphics/ParticleEmitter.cc
r9550 r9667 43 43 namespace orxonox 44 44 { 45 CreateFactory(ParticleEmitter);45 RegisterClass(ParticleEmitter); 46 46 47 ParticleEmitter::ParticleEmitter( BaseObject* creator) : StaticEntity(creator)47 ParticleEmitter::ParticleEmitter(Context* context) : StaticEntity(context) 48 48 { 49 49 RegisterObject(ParticleEmitter); … … 63 63 { 64 64 this->detachOgreObject(this->particles_->getParticleSystem()); 65 this->particles_->destroy();65 delete this->particles_; 66 66 } 67 67 } … … 101 101 if (this->particles_) 102 102 { 103 this->particles_->destroy();103 delete this->particles_; 104 104 this->particles_ = 0; 105 105 } -
code/trunk/src/orxonox/graphics/ParticleEmitter.h
r7904 r9667 40 40 { 41 41 public: 42 ParticleEmitter( BaseObject* creator);42 ParticleEmitter(Context* context); 43 43 virtual ~ParticleEmitter(); 44 44 -
code/trunk/src/orxonox/graphics/ParticleSpawner.cc
r7284 r9667 37 37 namespace orxonox 38 38 { 39 CreateFactory(ParticleSpawner);39 RegisterClass(ParticleSpawner); 40 40 41 ParticleSpawner::ParticleSpawner( BaseObject* creator) : ParticleEmitter(creator)41 ParticleSpawner::ParticleSpawner(Context* context) : ParticleEmitter(context) 42 42 { 43 43 RegisterObject(ParticleSpawner); -
code/trunk/src/orxonox/graphics/ParticleSpawner.h
r5929 r9667 40 40 { 41 41 public: 42 ParticleSpawner( BaseObject* creator);42 ParticleSpawner(Context* context); 43 43 virtual ~ParticleSpawner(); 44 44
Note: See TracChangeset
for help on using the changeset viewer.