Freeciv-3.3
|
Go to the source code of this file.
Functions | |
bool | autoadjust_ruleset_data (void) |
bool | autolock_settings (void) |
bool | sanity_check_ruleset_data (struct rscompat_info *compat) |
bool | sanity_check_server_setting_value_in_req (ssetv ssetval) |
Apply some automatic defaults to already loaded rulesets.
Returns TRUE iff everything ok.
Definition at line 1616 of file rssanity.c.
Referenced by load_rulesetdir(), rscompat_postprocess(), and tab_misc::save_now().
Set and lock settings that must have certain value.
Definition at line 1713 of file rssanity.c.
Referenced by settings_ruleset().
bool sanity_check_ruleset_data | ( | struct rscompat_info * | compat | ) |
Some more sanity checking once all rulesets are loaded. These check for some cross-referencing which was impossible to do while only one party was loaded in load_ruleset_xxx()
Returns TRUE iff everything ok.
Definition at line 903 of file rssanity.c.
Referenced by load_rulesetdir(), tab_misc::sanity_check(), and tab_misc::save_now().
Returns TRUE iff the given server setting and value combination is allowed to appear in ServerSetting requirements.
Definition at line 143 of file rssanity.c.
Referenced by universal_kind_values().