implement chat colors, rework on UI layout update system

This commit is contained in:
Eduardo Bart
2012-01-08 20:32:55 -02:00
parent 23ebcd9048
commit fdc9087870
23 changed files with 205 additions and 136 deletions

View File

@@ -8,7 +8,8 @@ function Options.init()
local booleanOptions = { vsync = true,
showfps = true,
fullscreen = false,
classicControl = false }
classicControl = false,
showLevelInConsole = false}
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 140
size: 286 160
@onEnter: Options.hide()
@onEscape: Options.hide()
@@ -40,6 +40,10 @@ MainWindow
id: classicControl
text: Classic control
OptionCheckBox
id: showLevelInConsole
text: Show players level in console
Button
text: Ok
width: 64