Changeset 10255 for code/branches/presentationHS14merge/data/gui/scripts
- Timestamp:
- Feb 4, 2015, 10:21:28 PM (10 years ago)
- Location:
- code/branches/presentationHS14merge
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS14merge
- Property svn:mergeinfo changed
/code/branches/storymodeHS14 (added) merged: 10085,10157,10174,10249-10251,10253-10254
- Property svn:mergeinfo changed
-
code/branches/presentationHS14merge/data/gui/scripts/SingleplayerMenu.lua
r9348 r10255 2 2 3 3 local P = createMenuSheet("SingleplayerMenu") 4 P.loadAlong = {"ShipSelectionMenu" }4 P.loadAlong = {"ShipSelectionMenu","CampaignMenu"} 5 5 P.levelList = {} 6 6 P.activeTabIndexes = {} … … 23 23 P.SingleplayerSelectionChanged() 24 24 25 --buttons are arranged in a 1x3 matrix25 --buttons are arranged in a 2x3 matrix 26 26 P:setButton(1, 1, { 27 27 ["button"] = winMgr:getWindow("orxonox/SingleplayerStartButton"), … … 37 37 ["button"] = winMgr:getWindow("orxonox/SingleplayerBackButton"), 38 38 ["callback"] = P.SingleplayerBackButton_clicked 39 }) 40 41 P:setButton(2, 2,{ 42 ["button"] = winMgr:getWindow("orxonox/CampaignButton"), 43 ["callback"] = P.CampaignButton_clicked 39 44 }) 40 45 end … … 166 171 end 167 172 173 function P.CampaignButton_clicked(e) 174 showMenuSheet("CampaignMenu", true) 175 end 176 168 177 return P
Note: See TracChangeset
for help on using the changeset viewer.