console options

This commit is contained in:
Eduardo Bart
2012-01-08 21:28:49 -02:00
parent fdc9087870
commit 90900e44a7
6 changed files with 50 additions and 16 deletions

View File

@@ -9,7 +9,13 @@ function Options.init()
showfps = true,
fullscreen = false,
classicControl = false,
showLevelInConsole = false}
showStatusMessagesInConsole = true,
showEventMessagesInConsole = true,
showInfoMessagesInConsole = true,
showTimestampsInConsole = true,
showLevelsInConsole = true,
showPrivateMessagesInConsole = true,
}
for k,v in pairs(booleanOptions) do
Settings.setDefault(k, v)

View File

@@ -19,7 +19,7 @@ OptionCheckBox < CheckBox
MainWindow
id: optionsWindow
title: Options
size: 286 160
size: 286 280
@onEnter: Options.hide()
@onEscape: Options.hide()
@@ -41,8 +41,27 @@ MainWindow
text: Classic control
OptionCheckBox
id: showLevelInConsole
text: Show players level in console
id: showInfoMessagesInConsole
text: Show info messages in console
OptionCheckBox
id: showEventMessagesInConsole
text: Show event messages in console
OptionCheckBox
id: showStatusMessagesInConsole
text: Show status messages in console
OptionCheckBox
id: showTimestampsInConsole
text: Show timestamps in console
OptionCheckBox
id: showLevelsInConsole
text: Show levels in console
//OptionCheckBox
// id: showPrivateMessagesInConsole
// text: Show private messages in console
Button
text: Ok