22#ifdef FREECIV_HAVE_SYS_TIME_H
80#define TURNS_NEEDED_TO_RANK 10
324#define any_web_conns() (FALSE)
375#define GAME_DEFAULT_SEED 0
376#define GAME_MIN_SEED 0
377#define GAME_MAX_SEED (MAX_UINT32 >> 1)
379#define GAME_DEFAULT_GOLD 50
380#define GAME_MIN_GOLD 0
381#define GAME_MAX_GOLD 50000
383#define GAME_DEFAULT_INFRA 0
384#define GAME_MIN_INFRA 0
385#define GAME_MAX_INFRA 50000
387#define GAME_DEFAULT_START_UNITS "ccwwx"
388#define GAME_DEFAULT_START_CITY FALSE
390#define GAME_DEFAULT_DISPERSION 0
391#define GAME_MIN_DISPERSION 0
392#define GAME_MAX_DISPERSION 10
394#define GAME_DEFAULT_TECHLEVEL 0
395#define GAME_MIN_TECHLEVEL 0
396#define GAME_MAX_TECHLEVEL 100
398#define GAME_DEFAULT_ANGRYCITIZEN TRUE
400#define GAME_DEFAULT_END_TURN 5000
401#define GAME_MIN_END_TURN 1
402#define GAME_MAX_END_TURN 32767
404#define GAME_DEFAULT_MIN_PLAYERS 1
405#define GAME_MIN_MIN_PLAYERS 0
406#define GAME_MAX_MIN_PLAYERS MAX_NUM_PLAYERS
408#define GAME_DEFAULT_MAX_PLAYERS MAX_NUM_PLAYERS
409#define GAME_MIN_MAX_PLAYERS 1
410#define GAME_MAX_MAX_PLAYERS MAX_NUM_PLAYERS
412#define GAME_DEFAULT_AIFILL 5
413#define GAME_MIN_AIFILL 0
414#define GAME_MAX_AIFILL GAME_MAX_MAX_PLAYERS
416#define GAME_DEFAULT_NATIONSET ""
418#define GAME_DEFAULT_FOODBOX 100
419#define GAME_MIN_FOODBOX 1
420#define GAME_MAX_FOODBOX 10000
422#define GAME_DEFAULT_SHIELDBOX 100
423#define GAME_MIN_SHIELDBOX 1
424#define GAME_MAX_SHIELDBOX 10000
426#define GAME_DEFAULT_SCIENCEBOX 100
427#define GAME_MIN_SCIENCEBOX 1
428#define GAME_MAX_SCIENCEBOX 10000
430#define GAME_DEFAULT_DIPLBULBCOST 0
431#define GAME_MIN_DIPLBULBCOST 0
432#define GAME_MAX_DIPLBULBCOST 100
434#define GAME_DEFAULT_DIPLGOLDCOST 0
435#define GAME_MIN_DIPLGOLDCOST 0
436#define GAME_MAX_DIPLGOLDCOST 100
438#define GAME_DEFAULT_INCITE_GOLD_LOSS_CHANCE 0
439#define GAME_MIN_INCITE_GOLD_LOSS_CHANCE 0
440#define GAME_MAX_INCITE_GOLD_LOSS_CHANCE 100
442#define GAME_DEFAULT_INCITE_GOLD_CAPT_CHANCE 0
443#define GAME_MIN_INCITE_GOLD_CAPT_CHANCE 0
444#define GAME_MAX_INCITE_GOLD_CAPT_CHANCE 100
446#define GAME_DEFAULT_FOGOFWAR TRUE
448#define GAME_DEFAULT_FOGGEDBORDERS FALSE
450#define GAME_DEFAULT_GLOBAL_WARMING TRUE
452#define GAME_DEFAULT_GLOBAL_WARMING_PERCENT 100
453#define GAME_MIN_GLOBAL_WARMING_PERCENT 1
454#define GAME_MAX_GLOBAL_WARMING_PERCENT 10000
456#define GAME_DEFAULT_NUCLEAR_WINTER TRUE
458#define GAME_DEFAULT_NUCLEAR_WINTER_PERCENT 100
459#define GAME_MIN_NUCLEAR_WINTER_PERCENT 1
460#define GAME_MAX_NUCLEAR_WINTER_PERCENT 10000
462#define GAME_DEFAULT_BORDERS BORDERS_ENABLED
464#define GAME_DEFAULT_HAPPYBORDERS HB_NATIONAL
466#define GAME_DEFAULT_DIPLOMACY DIPLO_FOR_ALL
468#define GAME_DEFAULT_DIPLCHANCE 80
469#define GAME_MIN_DIPLCHANCE 40
470#define GAME_MAX_DIPLCHANCE 100
472#define GAME_DEFAULT_FREECOST 0
473#define GAME_MIN_FREECOST 0
474#define GAME_MAX_FREECOST 100
476#define GAME_DEFAULT_CONQUERCOST 0
477#define GAME_MIN_CONQUERCOST 0
478#define GAME_MAX_CONQUERCOST 100
480#define GAME_DEFAULT_TECHLOSSFG -1
481#define GAME_MIN_TECHLOSSFG -1
482#define GAME_MAX_TECHLOSSFG 200
484#define GAME_DEFAULT_TECHLOSSREST 50
485#define GAME_MIN_TECHLOSSREST -1
486#define GAME_MAX_TECHLOSSREST 100
488#define GAME_DEFAULT_TECHLEAK 100
489#define GAME_MIN_TECHLEAK 0
490#define GAME_MAX_TECHLEAK 300
492#define GAME_DEFAULT_CITYMINDIST 2
493#define GAME_MIN_CITYMINDIST 1
494#define GAME_MAX_CITYMINDIST 11
496#define GAME_DEFAULT_CIVILWARSIZE 10
497#define GAME_MIN_CIVILWARSIZE 2
498#define GAME_MAX_CIVILWARSIZE 1000
500#define GAME_DEFAULT_RESTRICTINFRA FALSE
501#define GAME_DEFAULT_UNRPROTECTS TRUE
503#define GAME_DEFAULT_CONTACTTURNS 20
504#define GAME_MIN_CONTACTTURNS 0
505#define GAME_MAX_CONTACTTURNS 100
507#define GAME_DEFAULT_CELEBRATESIZE 3
509#define GAME_DEFAULT_RAPTUREDELAY 1
510#define GAME_MIN_RAPTUREDELAY 1
511#define GAME_MAX_RAPTUREDELAY 99
513#define GAME_DEFAULT_DISASTERS 10
514#define GAME_MIN_DISASTERS 0
515#define GAME_MAX_DISASTERS 1000
517#define GAME_DEFAULT_TRAIT_DIST_MODE TDM_FIXED
519#define GAME_DEFAULT_SAVEPALACE TRUE
521#define GAME_DEFAULT_HOMECAUGHTUNITS TRUE
523#define GAME_DEFAULT_NATURALCITYNAMES TRUE
525#define GAME_DEFAULT_MIGRATION FALSE
527#define GAME_DEFAULT_MGR_TURNINTERVAL 5
528#define GAME_MIN_MGR_TURNINTERVAL 1
529#define GAME_MAX_MGR_TURNINTERVAL 100
531#define GAME_DEFAULT_MGR_FOODNEEDED TRUE
536#define GAME_DEFAULT_MGR_DISTANCE 0
537#define GAME_MIN_MGR_DISTANCE (0 - CITY_MAP_MAX_RADIUS)
538#define GAME_MAX_MGR_DISTANCE (1 + CITY_MAP_MAX_RADIUS)
540#define GAME_DEFAULT_MGR_NATIONCHANCE 50
541#define GAME_MIN_MGR_NATIONCHANCE 0
542#define GAME_MAX_MGR_NATIONCHANCE 100
544#define GAME_DEFAULT_MGR_WORLDCHANCE 10
545#define GAME_MIN_MGR_WORLDCHANCE 0
546#define GAME_MAX_MGR_WORLDCHANCE 100
548#define GAME_DEFAULT_AQUEDUCTLOSS 0
549#define GAME_MIN_AQUEDUCTLOSS 0
550#define GAME_MAX_AQUEDUCTLOSS 100
552#define GAME_DEFAULT_KILLSTACK TRUE
553#define GAME_DEFAULT_KILLCITIZEN TRUE
555#define GAME_DEFAULT_KILLUNHOMED 0
556#define GAME_MIN_KILLUNHOMED 0
557#define GAME_MAX_KILLUNHOMED 100
559#define GAME_DEFAULT_TECHPENALTY 100
560#define GAME_MIN_TECHPENALTY 0
561#define GAME_MAX_TECHPENALTY 100
563#define GAME_DEFAULT_TECHLOST_RECV 0
564#define GAME_MIN_TECHLOST_RECV 0
565#define GAME_MAX_TECHLOST_RECV 100
567#define GAME_DEFAULT_TECHLOST_DONOR 0
568#define GAME_MIN_TECHLOST_DONOR 0
569#define GAME_MAX_TECHLOST_DONOR 100
571#define GAME_DEFAULT_TEAM_POOLED_RESEARCH TRUE
572#define GAME_DEFAULT_MULTIRESEARCH FALSE
574#define GAME_DEFAULT_RAZECHANCE 20
575#define GAME_MIN_RAZECHANCE 0
576#define GAME_MAX_RAZECHANCE 100
578#define GAME_DEFAULT_REVEALMAP REVEAL_MAP_NONE
580#define GAME_DEFAULT_SCORELOG FALSE
581#define GAME_DEFAULT_SCORELOGLEVEL SL_ALL
582#define GAME_DEFAULT_SCOREFILE "freeciv-score.log"
587#define GAME_DEFAULT_SCORETURN 20
589#define GAME_DEFAULT_VICTORY_CONDITIONS (1 << VC_SPACERACE | 1 << VC_ALLIED)
590#define GAME_DEFAULT_END_SPACESHIP TRUE
592#define GAME_DEFAULT_SPACESHIP_TRAVEL_PCT 100
593#define GAME_MIN_SPACESHIP_TRAVEL_PCT 50
594#define GAME_MAX_SPACESHIP_TRAVEL_PCT 1000
596#define GAME_DEFAULT_TURNBLOCK TRUE
598#define GAME_DEFAULT_AUTO_AI_TOGGLE FALSE
600#define GAME_DEFAULT_TIMEOUT 0
601#define GAME_DEFAULT_FIRST_TIMEOUT -1
602#define GAME_DEFAULT_TIMEOUTINT 0
603#define GAME_DEFAULT_TIMEOUTINTINC 0
604#define GAME_DEFAULT_TIMEOUTINC 0
605#define GAME_DEFAULT_TIMEOUTINCMULT 1
606#define GAME_DEFAULT_TIMEOUTADDEMOVE 0
607#define GAME_DEFAULT_TIMEOUTCOUNTER 1
609#define GAME_DEFAULT_MAXCONNECTIONSPERHOST 4
610#define GAME_MIN_MAXCONNECTIONSPERHOST 0
611#define GAME_MAX_MAXCONNECTIONSPERHOST MAX_NUM_CONNECTIONS
613#define GAME_MIN_TIMEOUT -1
614#define GAME_MAX_TIMEOUT 8639999
615#define GAME_MIN_FIRST_TIMEOUT -1
616#define GAME_MAX_FIRST_TIMEOUT GAME_MAX_TIMEOUT
618#define GAME_MIN_UNITWAITTIME 0
619#define GAME_MAX_UNITWAITTIME GAME_MAX_TIMEOUT
620#define GAME_DEFAULT_UNITWAITTIME 0
622#define GAME_DEFAULT_PHASE_MODE 0
624#define GAME_DEFAULT_TCPTIMEOUT 10
625#define GAME_MIN_TCPTIMEOUT 0
626#define GAME_MAX_TCPTIMEOUT 120
628#define GAME_DEFAULT_NETWAIT 4
629#define GAME_MIN_NETWAIT 0
630#define GAME_MAX_NETWAIT 20
632#define GAME_DEFAULT_PINGTIME 20
633#define GAME_MIN_PINGTIME 1
634#define GAME_MAX_PINGTIME 1800
636#define GAME_DEFAULT_PINGTIMEOUT 60
637#define GAME_MIN_PINGTIMEOUT 60
638#define GAME_MAX_PINGTIMEOUT 1800
640#define GAME_DEFAULT_IPHIDE FALSE
642#define GAME_DEFAULT_NOTRADESIZE 0
643#define GAME_MIN_NOTRADESIZE 0
644#define GAME_MAX_NOTRADESIZE 49
646#define GAME_DEFAULT_TRADEWORLDRELPCT 50
647#define GAME_MIN_TRADEWORLDRELPCT 0
648#define GAME_MAX_TRADEWORLDRELPCT 100
650#define GAME_DEFAULT_FULLTRADESIZE 1
651#define GAME_MIN_FULLTRADESIZE 1
652#define GAME_MAX_FULLTRADESIZE 50
654#define GAME_DEFAULT_TRADING_TECH TRUE
655#define GAME_DEFAULT_TRADING_GOLD TRUE
656#define GAME_DEFAULT_TRADING_CITY TRUE
658#define GAME_DEFAULT_CARAVAN_BONUS_STYLE CBS_CLASSIC
660#define GAME_DEFAULT_TRADEMINDIST 9
661#define GAME_MIN_TRADEMINDIST 1
662#define GAME_MAX_TRADEMINDIST 999
664#define GAME_DEFAULT_TRADE_REVENUE_STYLE TRS_CLASSIC
666#define GAME_DEFAULT_BARBARIANRATE BARBS_NORMAL
668#define GAME_DEFAULT_ONSETBARBARIAN 60
669#define GAME_MIN_ONSETBARBARIAN 1
670#define GAME_MAX_ONSETBARBARIAN GAME_MAX_END_TURN
672#define GAME_DEFAULT_OCCUPYCHANCE 0
673#define GAME_MIN_OCCUPYCHANCE 0
674#define GAME_MAX_OCCUPYCHANCE 100
676#define GAME_DEFAULT_AUTOATTACK FALSE
679#define GAME_DEFAULT_RULESETDIR "classic"
681#define GAME_DEFAULT_RULESETDIR "civ2civ3"
684#define GAME_DEFAULT_SAVE_NAME "freeciv"
685#define GAME_DEFAULT_SAVETURNS 1
686#define GAME_MIN_SAVETURNS 1
687#define GAME_MAX_SAVETURNS 200
688#define GAME_DEFAULT_SAVEFREQUENCY 15
689#define GAME_MIN_SAVEFREQUENCY 2
690#define GAME_MAX_SAVEFREQUENCY 1440
693#define GAME_DEFAULT_AUTOSAVES 0
695#define GAME_DEFAULT_AUTOSAVES (1 << AS_TURN | 1 << AS_GAME_OVER | 1 << AS_QUITIDLE | 1 << AS_INTERRUPT)
698#define GAME_DEFAULT_THREADED_SAVE FALSE
700#define GAME_DEFAULT_USER_META_MESSAGE ""
702#define GAME_DEFAULT_SKILL_LEVEL AI_LEVEL_EASY
703#define GAME_HARDCODED_DEFAULT_SKILL_LEVEL 3
704#define GAME_OLD_DEFAULT_SKILL_LEVEL 5
706#define GAME_DEFAULT_TOP_CITIES_COUNT 5
707#define GAME_MIN_TOP_CITIES_COUNT 0
708#define GAME_MAX_TOP_CITIES_COUNT 40
710#define GAME_DEFAULT_DEMOGRAPHY "NASRLPEMOCqrb"
711#define GAME_DEFAULT_ALLOW_TAKE "HAhadOo"
713#define GAME_DEFAULT_EVENT_CACHE_TURNS 1
714#define GAME_MIN_EVENT_CACHE_TURNS 0
715#define GAME_MAX_EVENT_CACHE_TURNS (GAME_MAX_END_TURN + 1)
717#define GAME_DEFAULT_EVENT_CACHE_MAX_SIZE 256
718#define GAME_MIN_EVENT_CACHE_MAX_SIZE 10
719#define GAME_MAX_EVENT_CACHE_MAX_SIZE 20000
721#define GAME_DEFAULT_EVENT_CACHE_CHAT TRUE
723#define GAME_DEFAULT_EVENT_CACHE_INFO FALSE
725#define GAME_DEFAULT_COMPRESS_LEVEL 6
726#define GAME_MIN_COMPRESS_LEVEL 1
727#define GAME_MAX_COMPRESS_LEVEL 9
729#if defined(FREECIV_HAVE_LIBZSTD)
730# define GAME_DEFAULT_COMPRESS_TYPE FZ_ZSTD
731#elif defined(FREECIV_HAVE_LIBLZMA)
732# define GAME_DEFAULT_COMPRESS_TYPE FZ_XZ
733#elif defined(FREECIV_HAVE_LIBZ)
734# define GAME_DEFAULT_COMPRESS_TYPE FZ_ZLIB
736# define GAME_DEFAULT_COMPRESS_TYPE FZ_PLAIN
739#define GAME_DEFAULT_ALLOWED_CITY_NAMES CNM_PLAYER_UNIQUE
741#define GAME_DEFAULT_PLRCOLORMODE PLRCOL_PLR_ORDER
743#define GAME_DEFAULT_REVOLENTYPE REVOLEN_RANDOM
744#define GAME_DEFAULT_REVOLUTION_LENGTH 5
745#define GAME_MIN_REVOLUTION_LENGTH 1
746#define GAME_MAX_REVOLUTION_LENGTH 20
748#define GAME_DEFAULT_START_YEAR -4000
750#define GAME_DEFAULT_AIRLIFTINGSTYLE AIRLIFTING_CLASSICAL
751#define GAME_DEFAULT_PERSISTENTREADY PERSISTENTR_DISABLED
753#define GAME_MAX_READ_RECURSION 10
755#define GAME_DEFAULT_KICK_TIME 1800
756#define GAME_MIN_KICK_TIME 0
757#define GAME_MAX_KICK_TIME 86400
759#define GAME_DEFAULT_LUA_TIMEOUT 5
760#define GAME_MIN_LUA_TIMEOUT 5
761#define GAME_MAX_LUA_TIMEOUT 30
764#define GAME_UNIT_BRIBE_DIST_MAX 32
767#define GAME_TRANSPORT_MAX_RECURSIVE 5
771#define RS_MAX_VALUE 1000000
774#define RS_DEFAULT_POS_YEAR_LABEL N_("AD")
776#define RS_DEFAULT_NEG_YEAR_LABEL N_("BC")
778#define RS_DEFAULT_ILLNESS_ON FALSE
780#define RS_DEFAULT_ILLNESS_BASE_FACTOR 25
781#define RS_MIN_ILLNESS_BASE_FACTOR 0
782#define RS_MAX_ILLNESS_BASE_FACTOR RS_MAX_VALUE
784#define RS_DEFAULT_ILLNESS_MIN_SIZE 3
785#define RS_MIN_ILLNESS_MIN_SIZE 1
786#define RS_MAX_ILLNESS_MIN_SIZE 100
788#define RS_DEFAULT_ILLNESS_TRADE_INFECTION_PCT 50
789#define RS_MIN_ILLNESS_TRADE_INFECTION_PCT 0
790#define RS_MAX_ILLNESS_TRADE_INFECTION_PCT 500
792#define RS_DEFAULT_ILLNESS_POLLUTION_PCT 50
793#define RS_MIN_ILLNESS_POLLUTION_PCT 0
794#define RS_MAX_ILLNESS_POLLUTION_PCT 500
796#define RS_DEFAULT_CALENDAR_SKIP_0 TRUE
798#define RS_DEFAULT_BORDER_RADIUS_SQ_CITY 17
799#define RS_MIN_BORDER_RADIUS_SQ_CITY 0
800#define RS_MAX_BORDER_RADIUS_SQ_CITY 401
802#define RS_DEFAULT_BORDER_SIZE_EFFECT 1
803#define RS_MIN_BORDER_SIZE_EFFECT 0
804#define RS_MAX_BORDER_SIZE_EFFECT 100
806#define RS_DEFAULT_BORDER_RADIUS_SQ_CITY_PERMANENT 0
807#define RS_MIN_BORDER_RADIUS_SQ_CITY_PERMANENT (-CITY_MAP_MAX_RADIUS_SQ)
808#define RS_MAX_BORDER_RADIUS_SQ_CITY_PERMANENT 401
810#define RS_DEFAULT_INCITE_BASE_COST 1000
811#define RS_MIN_INCITE_BASE_COST 0
812#define RS_MAX_INCITE_BASE_COST RS_MAX_VALUE
814#define RS_DEFAULT_INCITE_IMPROVEMENT_FCT 1
815#define RS_MIN_INCITE_IMPROVEMENT_FCT 0
816#define RS_MAX_INCITE_IMPROVEMENT_FCT RS_MAX_VALUE
818#define RS_DEFAULT_INCITE_UNIT_FCT 2
819#define RS_MIN_INCITE_UNIT_FCT 0
820#define RS_MAX_INCITE_UNIT_FCT RS_MAX_VALUE
822#define RS_DEFAULT_INCITE_TOTAL_FCT 100
823#define RS_MIN_INCITE_TOTAL_FCT 0
824#define RS_MAX_INCITE_TOTAL_FCT RS_MAX_VALUE
826#define RS_DEFAULT_GRANARY_FOOD_INI 20
828#define RS_DEFAULT_GRANARY_FOOD_INC 10
829#define RS_MIN_GRANARY_FOOD_INC 0
830#define RS_MAX_GRANARY_FOOD_INC RS_MAX_VALUE
832#define RS_DEFAULT_CITY_CENTER_OUTPUT 0
833#define RS_MIN_CITY_CENTER_OUTPUT 0
834#define RS_MAX_CITY_CENTER_OUTPUT RS_MAX_VALUE
836#define RS_DEFAULT_CITIES_MIN_DIST 2
837#define RS_MIN_CITIES_MIN_DIST 1
838#define RS_MAX_CITIES_MIN_DIST RS_MAX_VALUE
841#define RS_DEFAULT_CITY_RADIUS_SQ CITY_MAP_DEFAULT_RADIUS_SQ
842#define RS_MIN_CITY_RADIUS_SQ CITY_MAP_MIN_RADIUS_SQ
843#define RS_MAX_CITY_RADIUS_SQ CITY_MAP_MAX_RADIUS_SQ
845#define RS_DEFAULT_VIS_RADIUS_SQ 5
846#define RS_MIN_VIS_RADIUS_SQ 0
847#define RS_MAX_VIS_RADIUS_SQ 401
849#define RS_DEFAULT_BASE_POLLUTION -20
854#define RS_DEFAULT_HAPPY_COST 2
855#define RS_MIN_HAPPY_COST 0
856#define RS_MAX_HAPPY_COST 10000
858#define RS_DEFAULT_FOOD_COST 2
859#define RS_MIN_FOOD_COST 0
860#define RS_MAX_FOOD_COST 10000
862#define RS_DEFAULT_TIRED_ATTACK FALSE
863#define RS_DEFAULT_NUKE_POP_LOSS_PCT 49
864#define RS_MIN_NUKE_POP_LOSS_PCT 0
865#define RS_MAX_NUKE_POP_LOSS_PCT 100
866#define RS_DEFAULT_NUKE_DEFENDER_SURVIVAL_CHANCE_PCT 0
867#define RS_MIN_NUKE_DEFENDER_SURVIVAL_CHANCE_PCT 0
868#define RS_MAX_NUKE_DEFENDER_SURVIVAL_CHANCE_PCT 100
870#define RS_DEFAULT_BASE_BRIBE_COST 750
871#define RS_MIN_BASE_BRIBE_COST 0
872#define RS_MAX_BASE_BRIBE_COST RS_MAX_VALUE
874#define RS_DEFAULT_RANSOM_GOLD 100
875#define RS_MIN_RANSOM_GOLD 0
876#define RS_MAX_RANSOM_GOLD RS_MAX_VALUE
878#define RS_DEFAULT_PILLAGE_SELECT TRUE
880#define RS_DEFAULT_UPGRADE_VETERAN_LOSS 0
881#define RS_MIN_UPGRADE_VETERAN_LOSS 0
882#define RS_MAX_UPGRADE_VETERAN_LOSS MAX_VET_LEVELS
884#define RS_DEFAULT_TECH_UPKEEP_DIVIDER 100
885#define RS_MIN_TECH_UPKEEP_DIVIDER 1
886#define RS_MAX_TECH_UPKEEP_DIVIDER 100000
888#define RS_DEFAULT_POISON_EMPTIES_FOOD_STOCK FALSE
889#define RS_DEFAULT_STEAL_MAP_REVEALS_CITIES TRUE
890#define RS_DEFAULT_ACTION_ACTOR_CONSUMING_ALWAYS FALSE
891#define RS_DEFAULT_USER_ACTION_TARGET_KIND ATK_UNIT
892#define RS_DEFAULT_ACTION_MIN_RANGE 0
893#define RS_DEFAULT_ACTION_MAX_RANGE 1
895#define RS_DEFAULT_MOVE_MIN_RANGE 1
896#define RS_DEFAULT_EXPLODE_NUCLEAR_MAX_RANGE 0
898#define RS_ACTION_NO_MAX_DISTANCE "unlimited"
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city * pcity
#define MAX_NUM_BUILDING_LIST
#define MAX_LEN_ALLOW_TAKE
#define MAX_LEN_STARTUNIT
#define MAX_LEN_DEMOGRAPHY
#define MAX_NUM_TECH_LIST
const char * population_to_text(int thousand_citizen)
void user_flag_init(struct user_flag *flag)
static bool is_ruleset_compat_mode(void)
void user_flag_free(struct user_flag *flag)
void game_ruleset_init(void)
bool is_player_phase(const struct player *pplayer, int phase)
int current_turn_timeout(void)
struct city * game_city_by_name(const char *name)
void game_ruleset_free(void)
void game_init(bool keep_ruleset_value)
bool _ruleset_compat_mode
void game_remove_unit(struct world *gworld, struct unit *punit)
struct unit * game_unit_by_number(int id)
int civ_population(const struct player *pplayer)
void game_remove_city(struct world *gworld, struct city *pcity)
void initialize_globals(void)
int generate_save_name(const char *format, char *buf, int buflen, const char *reason)
static void set_ruleset_compat_mode(bool active)
struct city * game_city_by_number(int id)
enum city_names_mode allowed_city_names
struct civ_game::@32::@35 client
int incite_gold_capt_chance
char scorefile[MAX_LEN_PATH]
struct civ_game::@32::@36::@42 ruledit
struct rgbcolor_list * plr_colors
const char ** allowed_govs
void(* unit_deallocate)(int unit_id)
enum barbarians_rate barbarianrate
struct rgbcolor * plr_bg_color
struct civ_game::@32::@36::@41 mutexes
char start_units[MAX_LEN_STARTUNIT]
struct packet_scenario_description scenario_desc
char connectmsg[MAX_LEN_MSG]
struct conn_list * glob_observers
struct packet_ruleset_control control
struct player * random_move_time
int incite_gold_loss_chance
bool settings_gamestart_valid
enum plrcolor_mode plrcolormode
char demography[MAX_LEN_DEMOGRAPHY]
struct conn_list * est_connections
struct civ_game::@32::@36::@40 meta_info
struct civ_game::@34 callbacks
struct packet_game_info info
int autoupgrade_veteran_loss
struct timer * save_timer
enum scorelog_level scoreloglevel
char rulesetdir[MAX_LEN_NAME]
int additional_phase_seconds
int incite_improvement_factor
struct section_file * luadata
int maxconnectionsperhost
struct packet_scenario_info scenario
struct trait_limits default_traits[TRAIT_COUNT]
struct conn_list * web_client_connections
struct timer * phase_timer
int nuclear_winter_percent
char orig_game_version[MAX_LEN_NAME]
const char ** allowed_terrains
char default_ai_type_name[256]
char * ruleset_description
struct conn_list * all_connections
char nationset[MAX_LEN_NAME]
const char ** allowed_styles
char save_name[MAX_LEN_NAME]
enum fz_method save_compress_type
enum trait_dist_mode trait_dist
struct civ_game::@31 rgame
size_t embedded_nations_count
struct civ_game::@32::@36::@39 save_options
char * ruleset_capabilities
struct civ_game::@32::@36::@38 event_cache
struct civ_game::@32::@36 server
struct packet_timeout_info tinfo
char allow_take[MAX_LEN_ALLOW_TAKE]
struct veteran_system * veteran
int global_warming_percent
struct packet_calendar_info calendar
struct government * default_government
struct civ_game::@32::@36::@37 deprecated
struct government * government_during_revolution