Changeset 11341 for code/branches/Presentation_HS16/data/gui/scripts
- Timestamp:
- Dec 14, 2016, 3:33:41 PM (8 years ago)
- Location:
- code/branches/Presentation_HS16
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS16
- Property svn:mergeinfo changed
/code/branches/StoryModeMap_HS16 (added) merged: 11221,11229,11234,11242,11255,11269,11286,11299,11308,11316,11330
- Property svn:mergeinfo changed
-
code/branches/Presentation_HS16/data/gui/scripts/CampaignMenu.lua
r11052 r11341 9 9 function P.updateButtons() 10 10 P.updateButton(0, winMgr:getWindow("orxonox/Mission1Button")) 11 P.updateButton(0, winMgr:getWindow("orxonox/Mission1Text")) 11 12 P.updateButton(1, winMgr:getWindow("orxonox/Mission2Button")) 13 P.updateButton(1, winMgr:getWindow("orxonox/Mission2Text")) 12 14 P.updateButton(2, winMgr:getWindow("orxonox/Mission3Button")) 15 P.updateButton(2, winMgr:getWindow("orxonox/Mission3Text")) 13 16 P.updateButton(3, winMgr:getWindow("orxonox/Mission4Button")) 17 P.updateButton(3, winMgr:getWindow("orxonox/Mission4Text")) 14 18 P.updateButton(4, winMgr:getWindow("orxonox/Mission5Button")) 19 P.updateButton(4, winMgr:getWindow("orxonox/Mission5Text")) 15 20 P.updateButton(5, winMgr:getWindow("orxonox/Mission6Button")) 21 P.updateButton(5, winMgr:getWindow("orxonox/Mission6Text")) 16 22 P.updateButton(6, winMgr:getWindow("orxonox/Mission7Button")) 23 P.updateButton(6, winMgr:getWindow("orxonox/Mission7Text")) 17 24 P.updateButton(7, winMgr:getWindow("orxonox/Mission8Button")) 25 P.updateButton(7, winMgr:getWindow("orxonox/Mission8Text")) 18 26 P.updateButton(8, winMgr:getWindow("orxonox/Mission9Button")) 27 P.updateButton(8, winMgr:getWindow("orxonox/Mission9Text")) 19 28 20 29 … … 97 106 98 107 function P.loadLevel(level) 99 orxonox.execute(" startGame " .. level:getXMLFilename())108 orxonox.execute("changeGame " .. level:getXMLFilename()) 100 109 hideAllMenuSheets() 101 110 end … … 118 127 119 128 function P.CampaignMenuBackButton_clicked(e) 120 hideMenuSheet(P.name) 129 orxonox.execute("startMainMenu") 130 hideMenuSheet("CampaignMenu") 121 131 end 122 132 -
code/branches/Presentation_HS16/data/gui/scripts/SingleplayerMenu.lua
r10258 r11341 172 172 173 173 function P.CampaignButton_clicked(e) 174 showMenuSheet("CampaignMenu", true) 174 -- showMenuSheet("CampaignMenu", true) 175 hideAllMenuSheets() 176 orxonox.execute("startGame StoryModeMap.oxw") 175 177 end 176 178
Note: See TracChangeset
for help on using the changeset viewer.