Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource2/media/gui/scripts/mainmenu.lua @ 4073

Last change on this file since 4073 was 3374, checked in by rgrieder, 15 years ago

Added most of the text based files of the media directory (the file I deleted in the previous commit of the media repo) with svn:eol-style=native

  • 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.