Changeset 11356 for code/trunk/data
- Timestamp:
- Mar 9, 2017, 3:38:58 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/Highscore_HS16 (added) merged: 11226,11233,11235,11245,11254,11265,11267,11304,11313,11315,11324,11326,11333
- Property svn:mergeinfo changed
-
code/trunk/data/gui/layouts/MainMenu.layout
r6746 r11356 11 11 <Property Name="Text" Value="Quickstart" /> 12 12 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 13 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.2 875,0},{0.6,0},{0.3375,0}}" />13 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.25,0},{0.6,0},{0.3,0}}" /> 14 14 <Event Name="Clicked" Function="MainMenu.QuickGameTestButton_clicked"/> 15 15 </Window> … … 17 17 <Property Name="Text" Value="Singleplayer" /> 18 18 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 19 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3 625,0},{0.6,0},{0.4125,0}}" />19 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.325,0},{0.6,0},{0.375,0}}" /> 20 20 <Event Name="Clicked" Function="MainMenu.SingleplayerButton_clicked"/> 21 21 </Window> … … 23 23 <Property Name="Text" Value="Multiplayer" /> 24 24 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 25 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4 375,0},{0.6,0},{0.4875,0}}" />25 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4,0},{0.6,0},{0.45,0}}" /> 26 26 <Event Name="Clicked" Function="MainMenu.MultiplayerButton_clicked"/> 27 </Window> 28 <Window Type="MenuWidgets/Button" Name="orxonox/HighscoreButton" > 29 <Property Name="Text" Value="Highscore" /> 30 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 31 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.475,0},{0.6,0},{0.525,0}}" /> 32 <Event Name="Clicked" Function="MainMenu.HighscoreButton_clicked"/> 27 33 </Window> 28 34 <Window Type="MenuWidgets/Button" Name="orxonox/SettingsButton" > 29 35 <Property Name="Text" Value="Settings" /> 30 36 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 31 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5 125,0},{0.6,0},{0.5625,0}}" />37 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.55,0},{0.6,0},{0.6,0}}" /> 32 38 <Event Name="Clicked" Function="MainMenu.SettingsButton_clicked"/> 33 39 </Window> … … 35 41 <Property Name="Text" Value="Credits" /> 36 42 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 37 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0. 5875,0},{0.6,0},{0.6375,0}}" />43 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.625,0},{0.6,0},{0.675,0}}" /> 38 44 <Event Name="Clicked" Function="MainMenu.CreditsButton_clicked"/> 39 45 </Window> … … 41 47 <Property Name="Text" Value="Exit" /> 42 48 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 43 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0. 6625,0},{0.6,0},{0.7125,0}}" />49 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.7,0},{0.6,0},{0.75,0}}" /> 44 50 <Event Name="Clicked" Function="MainMenu.ExitButton_clicked"/> 45 51 </Window> -
code/trunk/data/gui/scripts/MainMenu.lua
r8079 r11356 2 2 3 3 local P = createMenuSheet("MainMenu") 4 P.loadAlong = { "SingleplayerMenu", "MultiplayerMenu", " SettingsMenu", "CreditsMenu" }4 P.loadAlong = { "SingleplayerMenu", "MultiplayerMenu", "HighscoreMenu", "SettingsMenu", "CreditsMenu" } 5 5 6 6 function P.onLoad() … … 22 22 23 23 P:setButton(4, 1, { 24 ["button"] = winMgr:getWindow("orxonox/HighscoreButton"), 25 ["callback"] = P.MultiplayerButton_clicked 26 }) 27 28 P:setButton(5, 1, { 24 29 ["button"] = winMgr:getWindow("orxonox/SettingsButton"), 25 30 ["callback"] = P.SettingsButton_clicked 26 31 }) 27 32 28 P:setButton( 5, 1, {33 P:setButton(6, 1, { 29 34 ["button"] = winMgr:getWindow("orxonox/CreditsButton"), 30 35 ["callback"] = P.CreditsButton_clicked 31 36 }) 32 37 33 P:setButton( 6, 1, {38 P:setButton(7, 1, { 34 39 ["button"] = winMgr:getWindow("orxonox/ExitButton"), 35 40 ["callback"] = P.ExitButton_clicked … … 51 56 end 52 57 58 function P.HighscoreButton_clicked(e) 59 showMenuSheet("HighscoreMenu", true) 60 end 61 53 62 function P.SettingsButton_clicked(e) 54 63 showMenuSheet("SettingsMenu", true) -
code/trunk/data/gui/scripts/MiscConfigMenu.lua
r9977 r11356 18 18 19 19 P.commandList = {} 20 table.insert(P.commandList, "Highscore playerName_") 20 21 table.insert(P.commandList, "KeyBinder mouseSensitivity_") 21 22 table.insert(P.commandList, "KeyBinder mouseSensitivityDerived_") … … 43 44 44 45 P.nameList = {} 46 table.insert(P.nameList, "Playername") 45 47 table.insert(P.nameList, "Mouse sensitivity") 46 48 table.insert(P.nameList, "Mouse acceleration")
Note: See TracChangeset
for help on using the changeset viewer.