Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/scripts/QuestGUI.lua @ 7048

Last change on this file since 7048 was 6746, checked in by rgrieder, 15 years ago

Merged gamestates2 branch back to trunk.
This brings in some heavy changes in the GUI framework.
It should also fix problems with triggered asserts in the InputManager.

Note: PickupInventory does not seem to work —> Segfault when showing because before, the owner in GUIOverlay::setGUIName is already NULL.
I haven't tested it before, so I can't tell whether it's my changes.

  • Property svn:eol-style set to native
File size: 391 bytes
RevLine 
[6746]1-- QuestGUI.lua
[5746]2
[6746]3local P = createMenuSheet("QuestGUI")
[5746]4
[6746]5function P.show()
6    P.window:show() -- TODO: Do this through parent...
7    P.visible = true
[5746]8
[5754]9    local questManager = orxonox.QuestManager:getInstance()
[6417]10
[5756]11    local questsList = winMgr:getWindow("orxonox/QuestGUI/QuestsList")
[5746]12
[6746]13    local window = questManager:getQuestGUI(P.name)
[5746]14
15    questsList:addChildWindow(window)
16
17end
18
19return P
20
Note: See TracBrowser for help on using the repository browser.