Last change
on this file since 6699 was
6623,
checked in by rgrieder, 15 years ago
|
The lua "print" function was previously stored in "debug" —> changed that to "original_print".
Please use logMessage(level, message)
or its shortcut cout(level, message)
|
-
Property svn:eol-style set to
native
|
File size:
694 bytes
|
Rev | Line | |
---|
[6363] | 1 | -- SettingsMenu.lua |
---|
| 2 | |
---|
[6621] | 3 | local P = createSheet("SettingsMenu") |
---|
[6363] | 4 | |
---|
| 5 | function P.SettingsGameplayButton_clicked(e) |
---|
| 6 | showGUI("GameplayMenu", true) |
---|
| 7 | end |
---|
| 8 | |
---|
| 9 | function P.SettingsMultiplayerOptionsButton_clicked(e) |
---|
| 10 | showGUI("MultiplayerOptionsMenu", true) |
---|
| 11 | end |
---|
| 12 | |
---|
| 13 | function P.SettingsControlsButton_clicked(e) |
---|
| 14 | showGUI("ControlsMenu", true) |
---|
| 15 | end |
---|
| 16 | |
---|
| 17 | function P.SettingsGraphicsButton_clicked(e) |
---|
| 18 | showGUI("GraphicsMenu", true) |
---|
| 19 | end |
---|
| 20 | |
---|
| 21 | function P.SettingsAudioButton_clicked(e) |
---|
| 22 | showGUI("AudioMenu", true) |
---|
| 23 | end |
---|
| 24 | |
---|
| 25 | function P.SettingsResetSettingsButton_clicked(e) |
---|
| 26 | -- reset settings |
---|
[6623] | 27 | logMessage(0, "event: reset settings") |
---|
[6363] | 28 | end |
---|
| 29 | |
---|
| 30 | function P.SettingsBackButton_clicked(e) |
---|
| 31 | hideGUI(P.filename) |
---|
| 32 | end |
---|
| 33 | |
---|
| 34 | return P |
---|
| 35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.