Follow-up Comment #6, patch #1200 (project freeciv):
Some comments:
* TRUE and FALSE instead of 1 and 0 for boolean values
* The lock maybe should be a part of the setting structure.
* The lock should modify the work of setting_is_changeable().
* I would prefer a format like:
[settings]
set = { "name", "value", "lock",
"bool_set", TRUE, FALSE",
"int_set", "int, FALSE",
"str_set", "test", FALSE" }
where values are accessible through the path: "settings.set%d.%s", line,
column name.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1200>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev