Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 9, 2017, 3:38:58 PM (8 years ago)
Author:
patricwi
Message:

merged space race with trunk

Location:
code/trunk
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/data/gui/scripts/MainMenu.lua

    r8079 r11356  
    22
    33local P = createMenuSheet("MainMenu")
    4 P.loadAlong = { "SingleplayerMenu", "MultiplayerMenu", "SettingsMenu", "CreditsMenu" }
     4P.loadAlong = { "SingleplayerMenu", "MultiplayerMenu", "HighscoreMenu", "SettingsMenu", "CreditsMenu" }
    55
    66function P.onLoad()
     
    2222
    2323    P:setButton(4, 1, {
     24            ["button"] = winMgr:getWindow("orxonox/HighscoreButton"),
     25            ["callback"]  = P.MultiplayerButton_clicked
     26    })
     27
     28    P:setButton(5, 1, {
    2429            ["button"] = winMgr:getWindow("orxonox/SettingsButton"),
    2530            ["callback"]  = P.SettingsButton_clicked
    2631    })
    2732
    28     P:setButton(5, 1, {
     33    P:setButton(6, 1, {
    2934            ["button"] = winMgr:getWindow("orxonox/CreditsButton"),
    3035            ["callback"]  = P.CreditsButton_clicked
    3136    })
    3237
    33     P:setButton(6, 1, {
     38    P:setButton(7, 1, {
    3439            ["button"] = winMgr:getWindow("orxonox/ExitButton"),
    3540            ["callback"]  = P.ExitButton_clicked
     
    5156end
    5257
     58function P.HighscoreButton_clicked(e)
     59    showMenuSheet("HighscoreMenu", true)
     60end
     61
    5362function P.SettingsButton_clicked(e)
    5463    showMenuSheet("SettingsMenu", true)
  • code/trunk/data/gui/scripts/MiscConfigMenu.lua

    r9977 r11356  
    1818
    1919    P.commandList = {}
     20    table.insert(P.commandList, "Highscore playerName_")
    2021    table.insert(P.commandList, "KeyBinder mouseSensitivity_")
    2122    table.insert(P.commandList, "KeyBinder mouseSensitivityDerived_")
     
    4344
    4445    P.nameList = {}
     46    table.insert(P.nameList, "Playername")
    4547    table.insert(P.nameList, "Mouse sensitivity")
    4648    table.insert(P.nameList, "Mouse acceleration")
Note: See TracChangeset for help on using the changeset viewer.