Last change
on this file since 5482 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 | |
---|
1 | layoutPath = "MainMenu.layout" |
---|
2 | |
---|
3 | -- events for mainmenu |
---|
4 | function button_quit_clicked(e) |
---|
5 | hideGUI() |
---|
6 | orxonox.CommandExecutor:execute("exit") |
---|
7 | end |
---|
8 | |
---|
9 | function button_standalone_clicked(e) |
---|
10 | orxonox.CommandExecutor:execute("startGame") |
---|
11 | toggleGUI() |
---|
12 | end |
---|
13 | |
---|
14 | function button_server_clicked(e) |
---|
15 | orxonox.CommandExecutor:execute("echo Not yet supported!") |
---|
16 | hideGUI() |
---|
17 | end |
---|
18 | |
---|
19 | function button_dedicated_clicked(e) |
---|
20 | orxonox.CommandExecutor:execute("echo Not yet supported!") |
---|
21 | hideGUI() |
---|
22 | end |
---|
23 | |
---|
24 | function button_client_clicked(e) |
---|
25 | orxonox.CommandExecutor:execute("echo Not yet supported!") |
---|
26 | hideGUI() |
---|
27 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.