Changeset 3196 for code/trunk/src/orxonox/objects/quest
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 deleted
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/quest/AddQuest.cc
r3110 r3196 28 28 29 29 /** 30 @file AddQuest.cc30 @file 31 31 @brief Implementation of the AddQuest class. 32 32 */ … … 34 34 #include "AddQuest.h" 35 35 36 #include <string> 37 36 #include "util/Exception.h" 38 37 #include "core/CoreIncludes.h" 39 #include "util/Exception.h"40 41 #include "orxonox/objects/infos/PlayerInfo.h"42 38 #include "QuestManager.h" 43 #include "QuestDescription.h"44 39 #include "Quest.h" 45 40 -
code/trunk/src/orxonox/objects/quest/AddQuest.h
r3068 r3196 28 28 29 29 /** 30 @file AddQuest.h30 @file 31 31 @brief Definition of the AddQuest class. 32 32 */ … … 36 36 37 37 #include "OrxonoxPrereqs.h" 38 39 #include <string>40 41 #include "core/XMLPort.h"42 38 #include "ChangeQuestStatus.h" 43 39 -
code/trunk/src/orxonox/objects/quest/AddQuestHint.cc
r3110 r3196 28 28 29 29 /** 30 @file AddQuestHint.cc30 @file 31 31 @brief Implementation of the AddQuestHint class. 32 32 */ … … 34 34 #include "AddQuestHint.h" 35 35 36 #include "util/Exception.h" 36 37 #include "core/CoreIncludes.h" 37 #include "util/Exception.h" 38 39 #include "orxonox/objects/infos/PlayerInfo.h" 38 #include "core/XMLPort.h" 40 39 #include "QuestManager.h" 41 40 #include "QuestItem.h" -
code/trunk/src/orxonox/objects/quest/AddQuestHint.h
r3068 r3196 28 28 29 29 /** 30 @file AddQuestHint.h30 @file 31 31 @brief Definition of the AddQuestHint class. 32 32 */ … … 38 38 39 39 #include <string> 40 41 40 #include "QuestEffect.h" 42 41 -
code/trunk/src/orxonox/objects/quest/AddReward.cc
r3110 r3196 28 28 29 29 /** 30 @file AddReward.cc30 @file 31 31 @brief Implementation of the AddReward class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 38 #include "orxonox/objects/infos/PlayerInfo.h" 39 #include "Rewardable.h" 37 #include "core/XMLPort.h" 38 #include "interfaces/Rewardable.h" 40 39 41 40 namespace orxonox -
code/trunk/src/orxonox/objects/quest/AddReward.h
r3068 r3196 28 28 29 29 /** 30 @file AddReward.h30 @file 31 31 @brief Definition of the AddReward class. 32 32 */ … … 38 38 39 39 #include <list> 40 41 #include "core/XMLPort.h"42 40 #include "QuestEffect.h" 43 41 -
code/trunk/src/orxonox/objects/quest/CMakeLists.txt
r2911 r3196 17 17 QuestManager.cc 18 18 QuestNotification.cc 19 Rewardable.cc20 19 ) -
code/trunk/src/orxonox/objects/quest/ChangeQuestStatus.cc
r3110 r3196 28 28 29 29 /** 30 @file ChangeQuestStatus.cc30 @file 31 31 @brief Implementation of the ChangeQuestStatus class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/XMLPort.h" 38 38 #include "QuestItem.h" 39 39 -
code/trunk/src/orxonox/objects/quest/ChangeQuestStatus.h
r3068 r3196 28 28 29 29 /** 30 @file ChangeQuestStatus.h30 @file 31 31 @brief Definition of the ChangeQuestStatus class. 32 32 */ … … 38 38 39 39 #include <string> 40 41 #include "core/XMLPort.h"42 40 #include "QuestEffect.h" 43 41 -
code/trunk/src/orxonox/objects/quest/CompleteQuest.cc
r3110 r3196 28 28 29 29 /** 30 @file CompleteQuest.cc30 @file 31 31 @brief Implementation of the CompleteQuest class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "util/Exception.h" 38 39 #include "orxonox/objects/infos/PlayerInfo.h" 37 #include "core/XMLPort.h" 40 38 #include "QuestManager.h" 41 39 #include "Quest.h" -
code/trunk/src/orxonox/objects/quest/CompleteQuest.h
r3068 r3196 28 28 29 29 /** 30 @file CompleteQuest.h30 @file 31 31 @brief Definition of the CompleteQuest class. 32 32 */ … … 36 36 37 37 #include "OrxonoxPrereqs.h" 38 39 #include <string>40 41 #include "core/XMLPort.h"42 38 #include "ChangeQuestStatus.h" 43 39 -
code/trunk/src/orxonox/objects/quest/FailQuest.cc
r3110 r3196 28 28 29 29 /** 30 @file FailQuest.cc30 @file 31 31 @brief Implementation of the FailQuest class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "util/Exception.h" 38 39 #include "orxonox/objects/infos/PlayerInfo.h" 37 #include "core/XMLPort.h" 40 38 #include "QuestManager.h" 41 39 #include "Quest.h" -
code/trunk/src/orxonox/objects/quest/FailQuest.h
r3068 r3196 28 28 29 29 /** 30 @file FailQuest.h30 @file 31 31 @brief Definition of the FailQuest class. 32 32 */ … … 36 36 37 37 #include "OrxonoxPrereqs.h" 38 39 #include <string>40 41 #include "core/XMLPort.h"42 38 #include "ChangeQuestStatus.h" 43 39 -
code/trunk/src/orxonox/objects/quest/GlobalQuest.cc
r3110 r3196 28 28 29 29 /** 30 @file GlobalQuest.cc30 @file 31 31 @brief Implementation of the GlobalQuest class. 32 32 */ … … 34 34 #include "GlobalQuest.h" 35 35 36 #include "orxonox/objects/infos/PlayerInfo.h"37 36 #include "core/CoreIncludes.h" 38 #include "core/Super.h" 39 #include "util/Exception.h" 40 37 #include "core/XMLPort.h" 41 38 #include "QuestEffect.h" 42 39 -
code/trunk/src/orxonox/objects/quest/GlobalQuest.h
r3068 r3196 28 28 29 29 /** 30 @file GlobalQuest.h30 @file 31 31 @brief Definition of the GlobalQuest class. 32 32 */ … … 37 37 #include "OrxonoxPrereqs.h" 38 38 39 #include <list> 39 40 #include <set> 40 #include <list>41 42 #include "core/XMLPort.h"43 41 #include "Quest.h" 44 42 -
code/trunk/src/orxonox/objects/quest/LocalQuest.cc
r3110 r3196 28 28 29 29 /** 30 @file LocalQuest.cc30 @file 31 31 @brief Implementation of the LocalQuest class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/Super.h" 38 #include "util/Exception.h" 39 40 #include "orxonox/objects/infos/PlayerInfo.h" 37 #include "core/XMLPort.h" 41 38 #include "QuestEffect.h" 42 39 -
code/trunk/src/orxonox/objects/quest/LocalQuest.h
r3068 r3196 28 28 29 29 /** 30 @file LocalQuest.h30 @file 31 31 @brief Definition of the LocalQuest class. 32 32 */ … … 38 38 39 39 #include <map> 40 #include <string>41 42 #include "core/XMLPort.h"43 40 #include "Quest.h" 44 41 -
code/trunk/src/orxonox/objects/quest/Quest.cc
r3110 r3196 28 28 29 29 /** 30 @file Quest.cc30 @file 31 31 @brief Implementation of the Quest class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 38 #include "orxonox/objects/infos/PlayerInfo.h" 37 #include "core/XMLPort.h" 39 38 #include "QuestManager.h" 40 39 #include "QuestDescription.h" -
code/trunk/src/orxonox/objects/quest/Quest.h
r3068 r3196 28 28 29 29 /** 30 @file Quest.h30 @file 31 31 @brief Definition of the Quest class. 32 32 The Quest is the parent class of LocalQuest and GlobalQuest. … … 39 39 40 40 #include <list> 41 #include <string>42 43 #include "core/XMLPort.h"44 45 41 #include "QuestItem.h" 46 42 -
code/trunk/src/orxonox/objects/quest/QuestDescription.cc
r3110 r3196 28 28 29 29 /** 30 @file QuestDescription.cc30 @file 31 31 @brief Implementation of the QuestDescription class. 32 32 */ … … 36 36 37 37 #include "core/CoreIncludes.h" 38 #include "core/XMLPort.h" 38 39 #include "QuestNotification.h" 39 40 -
code/trunk/src/orxonox/objects/quest/QuestDescription.h
r3068 r3196 28 28 29 29 /** 30 @file QuestDescription.h30 @file 31 31 @brief Definition of the QuestDescription class. 32 32 */ … … 38 38 39 39 #include <string> 40 41 40 #include "core/BaseObject.h" 42 #include "core/XMLPort.h"43 41 44 42 // tolua_begin -
code/trunk/src/orxonox/objects/quest/QuestEffect.cc
r3110 r3196 28 28 29 29 /** 30 @file QuestEffect.cc30 @file 31 31 @brief Implementation of the QuestEffect class. 32 32 */ 33 33 34 34 #include "QuestEffect.h" 35 36 35 #include "core/CoreIncludes.h" 37 38 #include "orxonox/objects/infos/PlayerInfo.h"39 36 40 37 namespace orxonox -
code/trunk/src/orxonox/objects/quest/QuestEffect.h
r3068 r3196 28 28 29 29 /** 30 @file QuestEffect.h30 @file 31 31 @brief Definition of the QuestEffect class. 32 32 */ … … 38 38 39 39 #include <list> 40 41 40 #include "core/BaseObject.h" 42 41 -
code/trunk/src/orxonox/objects/quest/QuestEffectBeacon.cc
r3110 r3196 28 28 29 29 /** 30 @file QuestEffectBeacon.cc30 @file 31 31 @brief Implementation of the QuestEffectBeacon class. 32 32 */ … … 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/XMLPort.h" 38 #include "core/Event.h"39 38 #include "core/EventIncludes.h" 40 41 #include "orxonox/objects/infos/PlayerInfo.h"42 39 #include "orxonox/objects/worldentities/pawns/Pawn.h" 43 40 #include "orxonox/objects/worldentities/triggers/PlayerTrigger.h" … … 89 86 SUPER(QuestEffectBeacon, processEvent, event); 90 87 91 SetSubclassEvent(QuestEffectBeacon, "execute", execute, event, PlayerTrigger);88 ORXONOX_SET_SUBCLASS_EVENT(QuestEffectBeacon, "execute", execute, event, PlayerTrigger); 92 89 } 93 90 -
code/trunk/src/orxonox/objects/quest/QuestEffectBeacon.h
r2911 r3196 28 28 29 29 /** 30 @file QuestEffectBeacon.h30 @file 31 31 @brief Definition of the QuestEffectBeacon class. 32 32 */ … … 37 37 #include "OrxonoxPrereqs.h" 38 38 39 #include <list> 39 40 #include "orxonox/objects/worldentities/StaticEntity.h" 40 41 -
code/trunk/src/orxonox/objects/quest/QuestHint.cc
r3110 r3196 28 28 29 29 /** 30 @file QuestHint.cc30 @file 31 31 @brief Implementation of the QuestHint class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "util/Exception.h" 38 39 #include "orxonox/objects/infos/PlayerInfo.h" 37 #include "core/XMLPort.h" 40 38 #include "QuestManager.h" 41 39 #include "QuestDescription.h" -
code/trunk/src/orxonox/objects/quest/QuestHint.h
r3068 r3196 28 28 29 29 /** 30 @file QuestHint.h30 @file 31 31 @brief Definition of the QuestHint class. 32 32 */ … … 38 38 39 39 #include <map> 40 #include <string>41 42 #include "core/XMLPort.h"43 40 #include "QuestItem.h" 44 41 -
code/trunk/src/orxonox/objects/quest/QuestItem.cc
r3110 r3196 28 28 29 29 /** 30 @file QuestItem.cc30 @file 31 31 @brief Implementation of the QuestItem class. 32 32 */ … … 35 35 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/XMLPort.h" 38 38 #include "QuestDescription.h" 39 39 -
code/trunk/src/orxonox/objects/quest/QuestItem.h
r3068 r3196 28 28 29 29 /** 30 @file QuestItem.h30 @file 31 31 @brief Definition of the QuestItem class. 32 32 The QuestItem is the parent class of Quest and QuestHint. … … 40 40 41 41 #include <string> 42 43 42 #include "core/BaseObject.h" 44 #include "core/XMLPort.h"45 43 46 44 namespace orxonox -
code/trunk/src/orxonox/objects/quest/QuestListener.cc
r3110 r3196 28 28 29 29 /** 30 @file QuestListener.cc30 @file 31 31 @brief Implementation of the QuestListener class. 32 32 */ … … 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/XMLPort.h" 38 #include "util/Exception.h"39 40 38 #include "Quest.h" 41 39 #include "QuestManager.h" … … 164 162 Return the mode of the QuestListener. Can be eighter 'all', 'start', 'fail' or 'complete'. 165 163 */ 166 conststd::string QuestListener::getMode(void)164 std::string QuestListener::getMode(void) 167 165 { 168 166 if(this->mode_ == questListenerMode::all) … … 191 189 /** 192 190 @brief 191 Get the questId of the Quest the QuestListener reacts to. 192 @return 193 Returns the questId of the Quest the QuestListener reacts to. 194 */ 195 const std::string & QuestListener::getQuestId(void) 196 { 197 return this->quest_->getId(); 198 } 199 200 /** 201 @brief 193 202 Executes the QuestListener, resp. fires an Event. 194 203 @return -
code/trunk/src/orxonox/objects/quest/QuestListener.h
r2911 r3196 28 28 29 29 /** 30 @file QuestListener.h30 @file 31 31 @brief Definition of the QuestListener class. 32 32 */ … … 39 39 #include <string> 40 40 #include <list> 41 42 41 #include "core/BaseObject.h" 43 44 #include "Quest.h"45 42 46 43 namespace orxonox … … 90 87 bool setMode(const std::string & mode); //!< Sets the mode of the QuestListener. 91 88 92 conststd::string getMode(void); //!< Get the mode of the QuestListener.89 std::string getMode(void); //!< Get the mode of the QuestListener. 93 90 94 /** 95 @brief Get the questId of the Quest the QuestListener reacts to. 96 @return Returns the questId of the Quest the QuestListener reacts to. 97 */ 98 inline const std::string & getQuestId(void) 99 { return this->quest_->getId(); } 100 91 const std::string & getQuestId(void); 101 92 bool execute(void); //!< Executes the QuestListener, resp. fires an Event. 102 93 -
code/trunk/src/orxonox/objects/quest/QuestManager.cc
r3110 r3196 28 28 29 29 /** 30 @file QuestManager.cc30 @file 31 31 @brief Implementation of the QuestManager class. 32 32 */ … … 34 34 #include "QuestManager.h" 35 35 36 #include "util/Exception.h" 36 37 #include "core/CoreIncludes.h" 37 #include "core/ConsoleCommand.h"38 #include "core/input/InputManager.h"39 40 #include "util/Exception.h"41 38 #include "gui/GUIManager.h" 39 42 40 #include "objects/infos/PlayerInfo.h" 41 #include "objects/infos/PlayerInfo.h" 42 #include "overlays/GUIOverlay.h" 43 43 #include "Quest.h" 44 44 #include "QuestHint.h" 45 #include "QuestItem.h" 45 46 46 47 namespace orxonox -
code/trunk/src/orxonox/objects/quest/QuestManager.h
r3068 r3196 28 28 29 29 /** 30 @file QuestManager.h30 @file 31 31 @brief Definition of the QuestManager class. 32 32 */ … … 37 37 #include "OrxonoxPrereqs.h" 38 38 39 #include <list> 39 40 #include <map> 40 #include <list>41 41 #include <string> 42 43 42 #include "core/OrxonoxClass.h" 44 #include "orxonox/objects/infos/PlayerInfo.h"45 #include "overlays/GUIOverlay.h"46 43 47 44 // tolua_begin -
code/trunk/src/orxonox/objects/quest/QuestNotification.cc
r3110 r3196 28 28 29 29 #include "QuestNotification.h" 30 31 30 #include "core/CoreIncludes.h" 32 33 #include "orxonox/overlays/notifications/Notification.h"34 31 35 32 namespace orxonox { -
code/trunk/src/orxonox/objects/quest/QuestNotification.h
r3078 r3196 33 33 34 34 #include <string> 35 36 #include "orxonox/overlays/notifications/Notification.h" 35 #include "overlays/notifications/Notification.h" 37 36 38 37 namespace orxonox {
Note: See TracChangeset
for help on using the changeset viewer.