Changeset 9667 for code/trunk/src/libraries/tools
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 12 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/libraries/tools/ParticleInterface.cc
r8858 r9667 43 43 #include "util/Math.h" 44 44 #include "core/CoreIncludes.h" 45 #include "core/ ConfigValueIncludes.h"45 #include "core/config/ConfigValueIncludes.h" 46 46 #include "core/GameMode.h" 47 47 -
code/trunk/src/libraries/tools/ResourceCollection.cc
r8858 r9667 37 37 namespace orxonox 38 38 { 39 CreateFactory(ResourceCollection);39 RegisterClass(ResourceCollection); 40 40 41 ResourceCollection::ResourceCollection( BaseObject* creator)42 : BaseObject(c reator)41 ResourceCollection::ResourceCollection(Context* context) 42 : BaseObject(context) 43 43 { 44 44 RegisterObject(ResourceCollection); -
code/trunk/src/libraries/tools/ResourceCollection.h
r7401 r9667 41 41 { 42 42 public: 43 ResourceCollection( BaseObject* creator);43 ResourceCollection(Context* context); 44 44 virtual ~ResourceCollection(); 45 45 -
code/trunk/src/libraries/tools/ResourceLocation.cc
r8858 r9667 41 41 namespace orxonox 42 42 { 43 CreateFactory(ResourceLocation);43 RegisterClass(ResourceLocation); 44 44 45 ResourceLocation::ResourceLocation( BaseObject* creator)46 : BaseObject(c reator)45 ResourceLocation::ResourceLocation(Context* context) 46 : BaseObject(context) 47 47 { 48 48 RegisterObject(ResourceLocation); -
code/trunk/src/libraries/tools/ResourceLocation.h
r7401 r9667 43 43 44 44 public: 45 ResourceLocation( BaseObject* creator);45 ResourceLocation(Context* context); 46 46 virtual ~ResourceLocation(); 47 47 -
code/trunk/src/libraries/tools/Shader.cc
r9550 r9667 39 39 namespace orxonox 40 40 { 41 RegisterClassNoArgs(Shader); 42 41 43 /** 42 44 @brief Initializes the values and sets the scene manager. -
code/trunk/src/libraries/tools/Timer.cc
r8729 r9667 132 132 } 133 133 134 RegisterClassNoArgs(Timer); 135 134 136 /** 135 137 @brief Constructor: Sets the default-values. … … 138 140 { 139 141 this->init(); 140 Register RootObject(Timer);142 RegisterObject(Timer); 141 143 } 142 144 … … 151 153 { 152 154 this->init(); 153 Register RootObject(Timer);155 RegisterObject(Timer); 154 156 155 157 this->setTimer(interval, bLoop, executor, bKillAfterCall); -
code/trunk/src/libraries/tools/Timer.h
r8858 r9667 79 79 #include "tools/ToolsPrereqs.h" 80 80 81 #include "core/ OrxonoxClass.h"81 #include "core/class/OrxonoxClass.h" 82 82 #include "core/command/ExecutorPtr.h" 83 83 … … 102 102 on the game time. 103 103 */ 104 class _ToolsExport Timer : virtualpublic OrxonoxClass104 class _ToolsExport Timer : public OrxonoxClass 105 105 { 106 106 public: -
code/trunk/src/libraries/tools/interfaces/Tickable.h
r5781 r9667 44 44 #include "tools/ToolsPrereqs.h" 45 45 46 #include "core/ OrxonoxClass.h"47 #include "core/ Super.h"46 #include "core/class/OrxonoxInterface.h" 47 #include "core/class/Super.h" 48 48 49 49 namespace orxonox 50 50 { 51 51 //! The Tickable interface provides a tick(dt) function, that gets called every frame. 52 class _ToolsExport Tickable : virtual public Orxonox Class52 class _ToolsExport Tickable : virtual public OrxonoxInterface 53 53 { 54 54 public: -
code/trunk/src/libraries/tools/interfaces/TimeFactorListener.h
r7172 r9667 31 31 32 32 #include "tools/ToolsPrereqs.h" 33 #include "core/ OrxonoxClass.h"33 #include "core/object/Listable.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _ToolsExport TimeFactorListener : virtual public OrxonoxClass37 class _ToolsExport TimeFactorListener : virtual public Listable 38 38 { 39 39 public: -
code/trunk/src/libraries/tools/interfaces/ToolsInterfaceCompilation.cc
r7172 r9667 46 46 float TimeFactorListener::timefactor_s = 1.0f; 47 47 48 RegisterAbstractClass(TimeFactorListener).inheritsFrom(Class(Listable)); 49 48 50 TimeFactorListener::TimeFactorListener() 49 51 { 50 Register RootObject(TimeFactorListener);52 RegisterObject(TimeFactorListener); 51 53 } 52 54 … … 65 67 // Tickable 66 68 //---------------------------- 69 RegisterAbstractClass(Tickable).inheritsFrom(Class(OrxonoxInterface)); 70 67 71 /** 68 72 @brief Constructor: Registers the object in the Tickable-list … … 70 74 Tickable::Tickable() 71 75 { 72 Register RootObject(Tickable);76 RegisterObject(Tickable); 73 77 } 74 78 }
Note: See TracChangeset
for help on using the changeset viewer.