Changeset 9667 for code/trunk/src/modules/designtools
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 7 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/modules/designtools/CreateStars.cc
r8351 r9667 37 37 namespace orxonox 38 38 { 39 CreateFactory(CreateStars);39 RegisterClass(CreateStars); 40 40 41 CreateStars::CreateStars( BaseObject* creator) : BaseObject(creator)41 CreateStars::CreateStars(Context* context) : BaseObject(context) 42 42 { 43 43 RegisterObject(CreateStars); … … 69 69 for(int i=0; i < numStars_; i++) 70 70 { 71 Billboard* bb = new Billboard(this );71 Billboard* bb = new Billboard(this->getContext()); 72 72 73 73 float r = rnd(-colourDiff_,colourDiff_); -
code/trunk/src/modules/designtools/CreateStars.h
r7163 r9667 38 38 { 39 39 public: 40 CreateStars( orxonox::BaseObject* creator);40 CreateStars(Context* context); 41 41 virtual ~CreateStars(); 42 42 -
code/trunk/src/modules/designtools/ScreenshotManager.cc
r8858 r9667 42 42 #include <OgreViewport.h> 43 43 44 #include "core/ConfigValueIncludes.h" 44 #include "core/CoreIncludes.h" 45 #include "core/config/ConfigValueIncludes.h" 45 46 #include "core/GraphicsManager.h" 46 47 #include "core/PathConfig.h" … … 68 69 ScreenshotManager::ScreenshotManager() : finalPicturePB_(NULL), data_(NULL) 69 70 { 70 Register RootObject(ScreenshotManager);71 RegisterObject(ScreenshotManager); 71 72 72 73 this->setConfigValues(); -
code/trunk/src/modules/designtools/ScreenshotManager.h
r8413 r9667 44 44 45 45 #include "util/Singleton.h" 46 #include "core/ OrxonoxClass.h"46 #include "core/config/Configurable.h" 47 47 48 48 namespace orxonox … … 61 61 @ingroup Designtools 62 62 */ 63 class ScreenshotManager : public OrxonoxClass, public Singleton<ScreenshotManager>63 class ScreenshotManager : public Configurable, public Singleton<ScreenshotManager> 64 64 { 65 65 friend class Singleton<ScreenshotManager>; -
code/trunk/src/modules/designtools/SkyboxGenerator.cc
r8858 r9667 40 40 #include "util/ScopedSingletonManager.h" 41 41 #include "core/CoreIncludes.h" 42 #include "core/ ConfigValueIncludes.h"42 #include "core/config/ConfigValueIncludes.h" 43 43 #include "core/GraphicsManager.h" 44 44 #include "core/PathConfig.h" … … 68 68 SkyboxGenerator::SkyboxGenerator() 69 69 { 70 Register RootObject(SkyboxGenerator);70 RegisterObject(SkyboxGenerator); 71 71 72 72 this->setConfigValues(); -
code/trunk/src/modules/designtools/SkyboxGenerator.h
r8232 r9667 36 36 #define __SkyboxGenerator_h__ 37 37 38 #include "core/ OrxonoxClass.h"38 #include "core/config/Configurable.h" 39 39 #include "util/Singleton.h" 40 40 #include "tools/interfaces/Tickable.h" … … 58 58 @ingroup Designtools 59 59 */ 60 class SkyboxGenerator : public virtual OrxonoxClass, public Singleton<SkyboxGenerator>, public Tickable60 class SkyboxGenerator : public virtual Configurable, public Singleton<SkyboxGenerator>, public Tickable 61 61 { 62 62 friend class Singleton<SkyboxGenerator>;
Note: See TracChangeset
for help on using the changeset viewer.