Freeciv21
Develop your civilization from humble roots to a global empire
rssanity.h File Reference
#include "fc_types.h"
+ Include dependency graph for rssanity.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool autoadjust_ruleset_data ()
 Apply some automatic defaults to already loaded rulesets. More...
 
bool autolock_settings ()
 Set and lock settings that must have certain value. More...
 
bool sanity_check_ruleset_data (bool ignore_retired)
 Some more sanity checking once all rulesets are loaded. More...
 
bool sanity_check_server_setting_value_in_req (ssetv ssetval)
 Returns TRUE iff the given server setting and value combination is allowed to appear in ServerSetting requirements. More...
 

Function Documentation

◆ autoadjust_ruleset_data()

bool autoadjust_ruleset_data ( )

Apply some automatic defaults to already loaded rulesets.

Returns TRUE iff everything ok.

Definition at line 1389 of file rssanity.cpp.

Referenced by load_rulesetdir(), rscompat_postprocess(), and tab_misc::save_now().

◆ autolock_settings()

bool autolock_settings ( )

Set and lock settings that must have certain value.

Definition at line 1481 of file rssanity.cpp.

Referenced by settings_ruleset().

◆ sanity_check_ruleset_data()

bool sanity_check_ruleset_data ( bool  ignore_retired)

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 716 of file rssanity.cpp.

Referenced by load_rulesetdir(), and tab_misc::save_now().

◆ sanity_check_server_setting_value_in_req()

bool sanity_check_server_setting_value_in_req ( ssetv  ssetval)

Returns TRUE iff the given server setting and value combination is allowed to appear in ServerSetting requirements.

Definition at line 122 of file rssanity.cpp.

Referenced by universal_kind_values().