usf-team team mailing list archive
-
usf-team team
-
Mailing list archive
-
Message #00019
Re: New Config impressions?
Hi,
I like very much this new config :)
It is easier than the old one for the GUI (especialy for the option
menu) but some files aren't ported yet and they cause some bugs.
As has been evident the last couple of days (or weeks if you consider
the period of inactivity, lol), while most of the porting process from
the old config to the new config system has been smooth, there have
been a few rough patches that stop me from removing the old config
entirely. As such, I've been debating whether or not the benefits of
the new config system out-weigh the effort neccessary to sanitize the
code enough to put it into full effect. As it stands, the new config
offers the following benefits:
1. Single config file - All configuration is handled in one file
instead of 3
2. Auto-recognition of new config values and sections
3. Recognition of default and user config values - If new config
values are introduced, when a player upgrades, he need not delete his
old config file first just to play.
4. Automatic type-casting - The config parser knows whether it is
dealing with a string, a float, or an integer.
But if it is a boolean... We need to change all boolean in integer.
5. No need for reverse lookup (though, this could have been
implemented even with the old config ;-)
There is still a problem with reverse_keymap for the keyboard menu :(
6. Automatic saving - when a config value is changed, it is
automatically saved.*
At any rate, opinions from the rest of the dev community would be
greatly appreciated.
Regards,
Aspidites
* easy enough to set a value to turn off automatic saving
But I like this new system.
xapantu
____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!
_______________________________________________
Mailing list: https://launchpad.net/~usf-team
Post to : usf-team@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~usf-team
More help : https://help.launchpad.net/ListHelp
References