Changeset 9667 for code/trunk/src/modules/questsystem
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 33 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/questsystem/GlobalQuest.cc
r8858 r9667 41 41 namespace orxonox 42 42 { 43 CreateFactory(GlobalQuest);43 RegisterClass(GlobalQuest); 44 44 45 45 /** … … 47 47 Constructor. Registers the object. 48 48 */ 49 GlobalQuest::GlobalQuest( BaseObject* creator) : Quest(creator)49 GlobalQuest::GlobalQuest(Context* context) : Quest(context) 50 50 { 51 51 RegisterObject(GlobalQuest); -
code/trunk/src/modules/questsystem/GlobalQuest.h
r7552 r9667 90 90 { 91 91 public: 92 GlobalQuest( BaseObject* creator);92 GlobalQuest(Context* context); 93 93 virtual ~GlobalQuest(); 94 94 -
code/trunk/src/modules/questsystem/LocalQuest.cc
r8858 r9667 41 41 namespace orxonox 42 42 { 43 CreateFactory(LocalQuest);43 RegisterClass(LocalQuest); 44 44 45 45 /** … … 47 47 Constructor. Registers and initializes the object. 48 48 */ 49 LocalQuest::LocalQuest( BaseObject* creator) : Quest(creator)49 LocalQuest::LocalQuest(Context* context) : Quest(context) 50 50 { 51 51 RegisterObject(LocalQuest); -
code/trunk/src/modules/questsystem/LocalQuest.h
r7552 r9667 84 84 { 85 85 public: 86 LocalQuest( BaseObject* creator);86 LocalQuest(Context* context); 87 87 virtual ~LocalQuest(); 88 88 -
code/trunk/src/modules/questsystem/Quest.cc
r8858 r9667 45 45 namespace orxonox 46 46 { 47 RegisterAbstractClass(Quest).inheritsFrom(Class(QuestItem)); 48 47 49 /** 48 50 @brief 49 51 Constructor. Registers and initializes object. 50 52 */ 51 Quest::Quest( BaseObject* creator) : QuestItem(creator)53 Quest::Quest(Context* context) : QuestItem(context) 52 54 { 53 55 RegisterObject(Quest); -
code/trunk/src/modules/questsystem/Quest.h
r7552 r9667 82 82 { // tolua_export 83 83 public: 84 Quest( BaseObject* creator);84 Quest(Context* context); 85 85 virtual ~Quest(); 86 86 -
code/trunk/src/modules/questsystem/QuestDescription.cc
r8858 r9667 44 44 namespace orxonox 45 45 { 46 CreateFactory(QuestDescription);46 RegisterClass(QuestDescription); 47 47 48 48 /*static*/ const std::string QuestDescription::SENDER = "questsystem"; … … 52 52 Constructor. Registers and initializes the object. 53 53 */ 54 QuestDescription::QuestDescription( BaseObject* creator) : BaseObject(creator)54 QuestDescription::QuestDescription(Context* context) : BaseObject(context) 55 55 { 56 56 RegisterObject(QuestDescription); -
code/trunk/src/modules/questsystem/QuestDescription.h
r7552 r9667 64 64 // tolua_end 65 65 public: 66 QuestDescription( BaseObject* creator);66 QuestDescription(Context* context); 67 67 virtual ~QuestDescription(); 68 68 -
code/trunk/src/modules/questsystem/QuestEffect.cc
r8858 r9667 37 37 namespace orxonox 38 38 { 39 RegisterAbstractClass(QuestEffect).inheritsFrom(Class(BaseObject)); 40 39 41 /** 40 42 @brief … … 42 44 Is not meant to be invoked directly, since this is only an interface. 43 45 */ 44 QuestEffect::QuestEffect( BaseObject* creator) : BaseObject(creator)46 QuestEffect::QuestEffect(Context* context) : BaseObject(context) 45 47 { 46 48 RegisterObject(QuestEffect); -
code/trunk/src/modules/questsystem/QuestEffect.h
r7552 r9667 57 57 { 58 58 public: 59 QuestEffect( BaseObject* creator);59 QuestEffect(Context* context); 60 60 virtual ~QuestEffect(); 61 61 -
code/trunk/src/modules/questsystem/QuestEffectBeacon.cc
r8858 r9667 45 45 namespace orxonox 46 46 { 47 CreateFactory(QuestEffectBeacon);47 RegisterClass(QuestEffectBeacon); 48 48 49 49 /** … … 51 51 Constructor. Registers the object and initializes defaults. 52 52 */ 53 QuestEffectBeacon::QuestEffectBeacon( BaseObject* creator) : StaticEntity(creator)53 QuestEffectBeacon::QuestEffectBeacon(Context* context) : StaticEntity(context) 54 54 { 55 55 RegisterObject(QuestEffectBeacon); -
code/trunk/src/modules/questsystem/QuestEffectBeacon.h
r7552 r9667 93 93 { 94 94 public: 95 QuestEffectBeacon( BaseObject* creator);95 QuestEffectBeacon(Context* context); 96 96 virtual ~QuestEffectBeacon(); 97 97 -
code/trunk/src/modules/questsystem/QuestHint.cc
r8858 r9667 43 43 namespace orxonox 44 44 { 45 CreateFactory(QuestHint);45 RegisterClass(QuestHint); 46 46 47 47 /** … … 49 49 Constructor. Registers the object. 50 50 */ 51 QuestHint::QuestHint( BaseObject* creator) : QuestItem(creator)51 QuestHint::QuestHint(Context* context) : QuestItem(context) 52 52 { 53 53 RegisterObject(QuestHint); -
code/trunk/src/modules/questsystem/QuestHint.h
r7552 r9667 82 82 83 83 public: 84 QuestHint( BaseObject* creator);84 QuestHint(Context* context); 85 85 virtual ~QuestHint(); 86 86 -
code/trunk/src/modules/questsystem/QuestItem.cc
r8858 r9667 42 42 { 43 43 44 CreateUnloadableFactory(QuestItem);44 RegisterUnloadableClass(QuestItem); 45 45 46 46 /** … … 48 48 Constructor. Registers and initializes the object. 49 49 */ 50 QuestItem::QuestItem( BaseObject* creator) : BaseObject(creator)50 QuestItem::QuestItem(Context* context) : BaseObject(context) 51 51 { 52 52 this->registered_ = false; -
code/trunk/src/modules/questsystem/QuestItem.h
r8891 r9667 60 60 61 61 public: 62 QuestItem( BaseObject* creator);62 QuestItem(Context* context); 63 63 virtual ~QuestItem(); 64 64 -
code/trunk/src/modules/questsystem/QuestListener.cc
r8858 r9667 42 42 namespace orxonox 43 43 { 44 CreateFactory(QuestListener);44 RegisterClass(QuestListener); 45 45 46 46 // Initialization of the static variables for the modes as strings. … … 54 54 Constructor. Registers the object and initializes variables. 55 55 */ 56 QuestListener::QuestListener( BaseObject* creator) : BaseObject(creator)56 QuestListener::QuestListener(Context* context) : BaseObject(context) 57 57 { 58 58 RegisterObject(QuestListener); -
code/trunk/src/modules/questsystem/QuestListener.h
r7552 r9667 87 87 88 88 public: 89 QuestListener( BaseObject* creator);89 QuestListener(Context* context); 90 90 virtual ~QuestListener(); 91 91 -
code/trunk/src/modules/questsystem/QuestManager.cc
r8952 r9667 38 38 #include "util/ScopedSingletonManager.h" 39 39 #include "core/command/ConsoleCommand.h" 40 #include "core/CoreIncludes.h"41 40 #include "core/GUIManager.h" 42 41 #include "core/LuaState.h" … … 60 59 QuestManager::QuestManager() 61 60 { 62 RegisterRootObject(QuestManager);63 61 orxout(internal_info, context::quests) << "QuestManager created." << endl; 64 62 } -
code/trunk/src/modules/questsystem/QuestManager.h
r8706 r9667 43 43 44 44 #include "util/Singleton.h" 45 #include "core/OrxonoxClass.h"46 45 47 46 namespace orxonox // tolua_export … … 59 58 */ 60 59 class _QuestsystemExport QuestManager // tolua_export 61 : public Singleton<QuestManager> , public orxonox::OrxonoxClass60 : public Singleton<QuestManager> 62 61 { // tolua_export 63 62 -
code/trunk/src/modules/questsystem/effects/AddQuest.cc
r8858 r9667 43 43 namespace orxonox 44 44 { 45 CreateFactory(AddQuest);45 RegisterClass(AddQuest); 46 46 47 47 /** … … 49 49 Constructor. Registers the object. 50 50 */ 51 AddQuest::AddQuest( BaseObject* creator) : ChangeQuestStatus(creator)51 AddQuest::AddQuest(Context* context) : ChangeQuestStatus(context) 52 52 { 53 53 RegisterObject(AddQuest); -
code/trunk/src/modules/questsystem/effects/AddQuest.h
r7552 r9667 59 59 { 60 60 public: 61 AddQuest( BaseObject* creator);61 AddQuest(Context* context); 62 62 virtual ~AddQuest(); 63 63 -
code/trunk/src/modules/questsystem/effects/AddQuestHint.cc
r8858 r9667 44 44 namespace orxonox 45 45 { 46 CreateFactory(AddQuestHint);46 RegisterClass(AddQuestHint); 47 47 48 48 /** … … 50 50 Constructor. Registers the object. 51 51 */ 52 AddQuestHint::AddQuestHint( BaseObject* creator) : QuestEffect(creator)52 AddQuestHint::AddQuestHint(Context* context) : QuestEffect(context) 53 53 { 54 54 RegisterObject(AddQuestHint); -
code/trunk/src/modules/questsystem/effects/AddQuestHint.h
r7552 r9667 61 61 { 62 62 public: 63 AddQuestHint( BaseObject* creator);63 AddQuestHint(Context* context); 64 64 virtual ~AddQuestHint(); 65 65 -
code/trunk/src/modules/questsystem/effects/AddReward.cc
r8858 r9667 41 41 namespace orxonox 42 42 { 43 CreateFactory(AddReward);43 RegisterClass(AddReward); 44 44 45 45 /** … … 47 47 Constructor. Registers the object. 48 48 */ 49 AddReward::AddReward( BaseObject* creator) : QuestEffect(creator)49 AddReward::AddReward(Context* context) : QuestEffect(context) 50 50 { 51 51 RegisterObject(AddReward); -
code/trunk/src/modules/questsystem/effects/AddReward.h
r7552 r9667 65 65 { 66 66 public: 67 AddReward( BaseObject* creator);67 AddReward(Context* context); 68 68 virtual ~AddReward(); 69 69 -
code/trunk/src/modules/questsystem/effects/ChangeQuestStatus.cc
r8858 r9667 42 42 namespace orxonox 43 43 { 44 RegisterAbstractClass(ChangeQuestStatus).inheritsFrom(Class(QuestEffect)); 45 44 46 /** 45 47 @brief 46 48 Constructor. Registers the object. 47 49 */ 48 ChangeQuestStatus::ChangeQuestStatus( BaseObject* creator) : QuestEffect(creator)50 ChangeQuestStatus::ChangeQuestStatus(Context* context) : QuestEffect(context) 49 51 { 50 52 RegisterObject(ChangeQuestStatus); -
code/trunk/src/modules/questsystem/effects/ChangeQuestStatus.h
r7552 r9667 56 56 { 57 57 public: 58 ChangeQuestStatus( BaseObject* creator);58 ChangeQuestStatus(Context* context); 59 59 virtual ~ChangeQuestStatus(); 60 60 -
code/trunk/src/modules/questsystem/effects/CompleteQuest.cc
r8858 r9667 42 42 namespace orxonox 43 43 { 44 CreateFactory(CompleteQuest);44 RegisterClass(CompleteQuest); 45 45 46 46 /** … … 48 48 Constructor. Registers the object. 49 49 */ 50 CompleteQuest::CompleteQuest( BaseObject* creator) : ChangeQuestStatus(creator)50 CompleteQuest::CompleteQuest(Context* context) : ChangeQuestStatus(context) 51 51 { 52 52 RegisterObject(CompleteQuest); -
code/trunk/src/modules/questsystem/effects/CompleteQuest.h
r7552 r9667 59 59 { 60 60 public: 61 CompleteQuest( BaseObject* creator);61 CompleteQuest(Context* context); 62 62 virtual ~CompleteQuest(); 63 63 -
code/trunk/src/modules/questsystem/effects/FailQuest.cc
r8858 r9667 42 42 namespace orxonox 43 43 { 44 CreateFactory(FailQuest);44 RegisterClass(FailQuest); 45 45 46 46 /** … … 48 48 Constructor. Registers the object. 49 49 */ 50 FailQuest::FailQuest( BaseObject* creator) : ChangeQuestStatus(creator)50 FailQuest::FailQuest(Context* context) : ChangeQuestStatus(context) 51 51 { 52 52 RegisterObject(FailQuest); -
code/trunk/src/modules/questsystem/effects/FailQuest.h
r7552 r9667 59 59 { 60 60 public: 61 FailQuest( BaseObject* creator);61 FailQuest(Context* context); 62 62 virtual ~FailQuest(); 63 63
Note: See TracChangeset
for help on using the changeset viewer.