|
From: Lasse Kärkkäi. <tr...@us...> - 2009-10-28 23:30:48
|
Module: performous Branch: master Commit: 0b5390f85bcec037f49cbaf8bdf78670c0a2e0fb Author: Lasse Karkkainen <tro...@tr...> Date: Thu Oct 29 01:26:23 2009 +0200 Renamed all config files, now config schema is schema.xml and config files are stored in performous folders under system config paths as config.xml. Use Ctrl+Alt+S to save system config (requires write access to /etc) and Ctrl+Alt+R to reset to factory default (rather than to system default). Config system improved so that it doesn't leave extra files behind and that it tracks the default values of factory and system configs separately. Added a catcher for runtime errors in main loop. For now it just prints to console, but eventually when Performous gets "flash message" support, they should be displayed as such. --- data/CMakeLists.txt | 3 +- data/schema.xml | 8 +++--- game/configuration.cc | 59 ++++++++++++++++++++++++++++------------- game/configuration.hh | 14 ++++++--- game/main.cc | 32 +++++++++++++---------- game/players.cc | 2 + game/screen_configuration.cc | 4 +- 7 files changed, 77 insertions(+), 45 deletions(-) |