20#define RULESET_CAPABILITIES_BASE "+Freeciv-3.1-ruleset"
22#define RULESET_CAPABILITIES RULESET_CAPABILITIES_BASE " +web-compatible"
24#define RULESET_CAPABILITIES RULESET_CAPABILITIES_BASE
36#define RSFORMAT_3_1 20
43bool load_rulesets(
const char *restore,
const char *alt,
bool compat_mode,
45 bool act,
bool buffer_script,
bool load_luadata);
52 const char *file,
const char *function,
54 const char *format, ...)
57#define ruleset_error(logger, level, format, ...) \
59 ruleset_error_real(logger, __FILE__, __FUNCTION__, __FC_LINE__, \
60 level, format, ## __VA_ARGS__); \
71#define GAME_DEFAULT_ADDTOSIZE 9
72#define GAME_DEFAULT_CHANGABLE_TAX TRUE
73#define GAME_DEFAULT_VISION_REVEAL_TILES FALSE
74#define GAME_DEFAULT_NATIONALITY FALSE
75#define GAME_DEFAULT_CONVERT_SPEED 50
76#define GAME_DEFAULT_DISASTER_FREQ 10
77#define GAME_DEFAULT_ACH_UNIQUE TRUE
78#define GAME_DEFAULT_ACH_VALUE 1
79#define RS_DEFAULT_MUUK_FOOD_WIPE TRUE
80#define RS_DEFAULT_MUUK_GOLD_WIPE TRUE
81#define RS_DEFAULT_MUUK_SHIELD_WIPE FALSE
82#define RS_DEFAULT_TECH_STEAL_HOLES TRUE
83#define RS_DEFAULT_TECH_TRADE_HOLES TRUE
84#define RS_DEFAULT_TECH_TRADE_LOSS_HOLES TRUE
85#define RS_DEFAULT_TECH_PARASITE_HOLES TRUE
86#define RS_DEFAULT_TECH_LOSS_HOLES TRUE
87#define RS_DEFAULT_PYTHAGOREAN_DIAGONAL FALSE
89#define RS_DEFAULT_GOLD_UPKEEP_STYLE "City"
90#define RS_DEFAULT_TECH_COST_STYLE "Civ I|II"
91#define RS_DEFAULT_TECH_LEAKAGE "None"
92#define RS_DEFAULT_TECH_UPKEEP_STYLE "None"
94#define RS_DEFAULT_CULTURE_VIC_POINTS 1000
95#define RS_DEFAULT_CULTURE_VIC_LEAD 300
96#define RS_DEFAULT_CULTURE_MIGRATION_PML 50
97#define RS_DEFAULT_HISTORY_INTEREST_PML 0
99#define RS_DEFAULT_GOODS_SELECTION GSM_LEAVING
101#define RS_DEFAULT_EXTRA_APPEARANCE 15
102#define RS_DEFAULT_EXTRA_DISAPPEARANCE 15
104#define RS_DEFAULT_ONLY_KILLING_VETERAN FALSE
105#define RS_DEFAULT_ONLY_REAL_FIGHT_VETERAN FALSE
106#define RS_DEFAULT_COMBAT_ODDS_SCALED_VETERANCY FALSE
107#define RS_DEFAULT_DAMAGE_REDUCES_BOMBARD_RATE TRUE
109#define RS_DEFAULT_SMALL_WONDER_VISIBILITY "Always"
int ruleset_purge_unused_entities(void)
void(* rs_conversion_logger)(const char *msg)
void rulesets_deinit(void)
bool load_rulesets(const char *restore, const char *alt, bool compat_mode, rs_conversion_logger logger, bool act, bool buffer_script, bool load_luadata)
int ruleset_purge_redundant_reqs(void)
bool reload_rulesets_settings(void)
char * get_parser_buffer(void)
void ruleset_error_real(rs_conversion_logger logger, const char *file, const char *function, int line, enum log_level level, const char *format,...) fc__attribute((__format__(__printf__
void send_rulesets(struct conn_list *dest)
char * get_script_buffer(void)
struct setting_list * level[OLEVELS_NUM]