Changeset 8843 for code/branches/ai2/data
- Timestamp:
- Aug 14, 2011, 6:45:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/data/gui/scripts/QuestGUI.lua
r8842 r8843 5 5 P.questManager = nil -- The QuestManager. 6 6 P.showActive = true -- Whether the active or finished quest list is displayed. 7 P.currentQuest = nil -- The quest that is currently displayed.8 7 P.player = nil -- The player the quests are displayed for. 9 8 P.quests = {} … … 29 28 30 29 -- Load the list of quests to be displayed. 31 P.loadQuestsList( P.currentQuest)30 P.loadQuestsList() 32 31 -- Pause the game - possible conflict for multiplayer quests 33 32 orxonox.execute("setPause 1") … … 177 176 window:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.borderSize-P.scrollbarWidth), CEGUI.UDim(0,offset+P.borderSize))) 178 177 end 179 180 P.currentQuest = quest181 178 end 182 179 … … 210 207 end 211 208 hints:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.scrollbarWidth-P.borderSize), CEGUI.UDim(0, 0))) 212 213 P.currentQuest = nil214 209 end 215 210 … … 264 259 window:setID(index) 265 260 hintsWindow:addChildWindow(window) 266 local description = P.questManager:get HintDescription(hint)261 local description = P.questManager:getDescription(hint) 267 262 window:setText(description:getDescription()) 268 263 window:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.borderSize), CEGUI.UDim(1, 0)))
Note: See TracChangeset
for help on using the changeset viewer.