Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 15, 2010, 7:29:16 PM (14 years ago)
Author:
dafrick
Message:

Reviewing documentation fo Questsystem, moving documentation fully into doxygen.
Added some files to modules they belong to.

File:
1 edited

Legend:

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

    r7163 r7456  
    3939    questWindow:setSize(CEGUI.UVector2(CEGUI.UDim(1, 0),CEGUI.UDim(1, 0)))
    4040
    41     -- Iterate through all parent-quests.
    42     local numParentQuests = orxonox.QuestManager:getInstance():getNumParentQuests(P.player)
     41    -- Iterate through all root-quests.
     42    local numRootQuests = orxonox.QuestManager:getInstance():getNumRootQuests(P.player)
    4343    local i = 0
    44     while i <= numParentQuests-1 do
    45         local quest = orxonox.QuestManager:getInstance():getParentQuest(P.player, i)
     44    while i <= numRootQuests-1 do
     45        local quest = orxonox.QuestManager:getInstance():getRootQuest(P.player, i)
    4646        index = P.createQuestNodes(questWindow, quest, depth, index)
    4747        i = i+1
Note: See TracChangeset for help on using the changeset viewer.