Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8842 for code/branches/ai2


Ignore:
Timestamp:
Aug 14, 2011, 1:45:06 PM (13 years ago)
Author:
dafrick
Message:

Renam to find bug.

Location:
code/branches/ai2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/data/gui/scripts/QuestGUI.lua

    r8838 r8842  
    264264    window:setID(index)
    265265    hintsWindow:addChildWindow(window)
    266     local description = P.questManager:getDescription(hint)
     266    local description = P.questManager:getHintDescription(hint)
    267267    window:setText(description:getDescription())
    268268    window:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.borderSize), CEGUI.UDim(1, 0)))
  • code/branches/ai2/src/modules/questsystem/QuestItem.h

    r7552 r8842  
    105105            QuestDescription* description_; //!< The QuestDescription of the QuestItem.
    106106
    107             bool registered_;
     107            bool registered_; //!< Whether the QuestItem is registered with the QuestManager.
    108108
    109109    };
  • code/branches/ai2/src/modules/questsystem/QuestManager.cc

    r8841 r8842  
    400400        Returns a pointer to the QuestDescription of the input QuestHint.
    401401    */
    402     QuestDescription* QuestManager::getDescription(QuestHint* item)
     402    QuestDescription* QuestManager::getHintDescription(QuestHint* item)
    403403    {
    404404        OrxAssert(item, "The input QuestHint is NULL.");
     
    428428        Returns the id of the input QuestHint.
    429429    */
    430     const std::string QuestManager::getId(QuestHint* item) const
     430    const std::string QuestManager::getHintId(QuestHint* item) const
    431431    {
    432432        OrxAssert(item, "The input QuestHint is NULL.");
  • code/branches/ai2/src/modules/questsystem/QuestManager.h

    r8706 r8842  
    8484
    8585            QuestDescription* getDescription(Quest* item); //!< Get the QuestDescription of the input Quest.
    86             QuestDescription* getDescription(QuestHint* item); //!< Get the QuestDescription of the input QuestHint.
     86            QuestDescription* getHintDescription(QuestHint* item); //!< Get the QuestDescription of the input QuestHint.
    8787
    8888            const std::string getId(Quest* item) const; //!< Get the id of the input Quest.
    89             const std::string getId(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.
    9090            // tolua_end
    9191
Note: See TracChangeset for help on using the changeset viewer.