Last change
on this file since 6907 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
|
Line | |
---|
1 | -- QuestGUI.lua |
---|
2 | |
---|
3 | local P = createMenuSheet("QuestGUI") |
---|
4 | |
---|
5 | function P.show() |
---|
6 | P.window:show() -- TODO: Do this through parent... |
---|
7 | P.visible = true |
---|
8 | |
---|
9 | local questManager = orxonox.QuestManager:getInstance() |
---|
10 | |
---|
11 | local questsList = winMgr:getWindow("orxonox/QuestGUI/QuestsList") |
---|
12 | |
---|
13 | local window = questManager:getQuestGUI(P.name) |
---|
14 | |
---|
15 | questsList:addChildWindow(window) |
---|
16 | |
---|
17 | end |
---|
18 | |
---|
19 | return P |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.