Changeset 8842 for code/branches/ai2
- Timestamp:
- Aug 14, 2011, 1:45:06 PM (13 years ago)
- Location:
- code/branches/ai2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/data/gui/scripts/QuestGUI.lua
r8838 r8842 264 264 window:setID(index) 265 265 hintsWindow:addChildWindow(window) 266 local description = P.questManager:get Description(hint)266 local description = P.questManager:getHintDescription(hint) 267 267 window:setText(description:getDescription()) 268 268 window:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.borderSize), CEGUI.UDim(1, 0))) -
code/branches/ai2/src/modules/questsystem/QuestItem.h
r7552 r8842 105 105 QuestDescription* description_; //!< The QuestDescription of the QuestItem. 106 106 107 bool registered_; 107 bool registered_; //!< Whether the QuestItem is registered with the QuestManager. 108 108 109 109 }; -
code/branches/ai2/src/modules/questsystem/QuestManager.cc
r8841 r8842 400 400 Returns a pointer to the QuestDescription of the input QuestHint. 401 401 */ 402 QuestDescription* QuestManager::get Description(QuestHint* item)402 QuestDescription* QuestManager::getHintDescription(QuestHint* item) 403 403 { 404 404 OrxAssert(item, "The input QuestHint is NULL."); … … 428 428 Returns the id of the input QuestHint. 429 429 */ 430 const std::string QuestManager::get Id(QuestHint* item) const430 const std::string QuestManager::getHintId(QuestHint* item) const 431 431 { 432 432 OrxAssert(item, "The input QuestHint is NULL."); -
code/branches/ai2/src/modules/questsystem/QuestManager.h
r8706 r8842 84 84 85 85 QuestDescription* getDescription(Quest* item); //!< Get the QuestDescription of the input Quest. 86 QuestDescription* get Description(QuestHint* item); //!< Get the QuestDescription of the input QuestHint.86 QuestDescription* getHintDescription(QuestHint* item); //!< Get the QuestDescription of the input QuestHint. 87 87 88 88 const std::string getId(Quest* item) const; //!< Get the id of the input Quest. 89 const std::string get Id(QuestHint* item) const; //!< Get the id of the input QuestHint.89 const std::string getHintId(QuestHint* item) const; //!< Get the id of the input QuestHint. 90 90 // tolua_end 91 91
Note: See TracChangeset
for help on using the changeset viewer.