Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/gui/scripts/mainmenu.lua @ 5491

Last change on this file since 5491 was 5430, checked in by rgrieder, 16 years ago

svn:eol-style "native" for the gui scripts.

  • Property svn:eol-style set to native
File size: 588 bytes
Line 
1layoutPath = "MainMenu.layout"
2
3-- events for mainmenu
4function button_quit_clicked(e)
5  hideGUI()
6  orxonox.CommandExecutor:execute("exit")
7end
8
9function button_standalone_clicked(e)
10  orxonox.CommandExecutor:execute("startGame")
11  toggleGUI()
12end
13
14function button_server_clicked(e)
15  orxonox.CommandExecutor:execute("echo Not yet supported!")
16  hideGUI()
17end
18
19function button_dedicated_clicked(e)
20  orxonox.CommandExecutor:execute("echo Not yet supported!")
21  hideGUI()
22end
23
24function button_client_clicked(e)
25  orxonox.CommandExecutor:execute("echo Not yet supported!")
26  hideGUI()
27end
Note: See TracBrowser for help on using the repository browser.