diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-02 00:07:41 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-02 00:07:41 +0000 |
commit | f83f192309542b306e874cf7d4dedc74e6384e62 (patch) | |
tree | ba995e27ac0a458843c9244dc671fe4a7c5bf2d6 /network_client.c | |
parent | 1e247cab2127acfb42976f24645d360f9906e013 (diff) | |
download | openttd-f83f192309542b306e874cf7d4dedc74e6384e62.tar.xz |
(svn r3720) - [2/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. This second part gets rid of the old SettingDesc structures and updates them with the unified types. These new settings are heavily macro'd, which should make it easy to add/edit entries within sections.
- This unified structure merges the settings in settings.c (concerned with the ini file) and the ones in setting_gui., having to do with the GUI. I tried to give sensible min and maximum values to _patches that were not present in the GUI I hope they work out all right.
- All patch settings miss their callback function which have been temporarily reset to NULL
- Fixed a really small typo in a Doxygen comment in settings.h
- NOTE! When for example _patches are saved to the savegame (as are _gameopt_settings now), you cannot just blindly edit the struct. The same rules apply as to all the other SaveLoad structs. Eg correct CONDVAR's and only adding new entries at the end.
- NOTE! The game is not compilable after this commit.
Diffstat (limited to 'network_client.c')
0 files changed, 0 insertions, 0 deletions