Changeset 8891 for code/trunk/data/gui
- Timestamp:
- Oct 12, 2011, 7:50:43 PM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/data/gui/scripts/QuestGUI.lua
r8858 r8891 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() 31 -- Pause the game - possible conflict for multiplayer quests 32 orxonox.execute("setPause 1") 33 end 34 35 function P.onQuit() 36 orxonox.execute("setPause 0") 32 37 end 33 38 … … 171 176 window:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.borderSize-P.scrollbarWidth), CEGUI.UDim(0,offset+P.borderSize))) 172 177 end 173 174 P.currentQuest = quest175 178 end 176 179 … … 204 207 end 205 208 hints:setSize(CEGUI.UVector2(CEGUI.UDim(1, -P.scrollbarWidth-P.borderSize), CEGUI.UDim(0, 0))) 206 207 P.currentQuest = nil208 209 end 209 210
Note: See TracChangeset
for help on using the changeset viewer.