Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 10:13:13 PM (15 years ago)
Author:
dafrick
Message:

Improved GUI. (Especially IngameMenu)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/InGameMenu.lua

    r6150 r6217  
    2525    orxonox.Game:getInstance():popState()
    2626    orxonox.Game:getInstance():requestState("mainmenu")
    27     orxonox.CommandExecutor:execute("hideGUI InGameMenu")
     27    hideGUI("InGameMenu")
     28end
     29
     30function P.button_settings_clicked(e)
     31    showGUI("SettingsMenu", true)
    2832end
    2933
    3034function P.button_return_clicked(e)
    31     orxonox.CommandExecutor:execute("hideGUI InGameMenu")
     35    hideGUI("InGameMenu")
    3236end
    3337
    3438function P.callback(doExit)
    3539    if doExit then
    36         orxonox.CommandExecutor:execute("hideGUI InGameMenu")
     40        hideGUI("InGameMenu")
    3741        orxonox.CommandExecutor:execute("exit")
    3842    end
Note: See TracChangeset for help on using the changeset viewer.