22#ifdef FREECIV_HAVE_SYS_TIME_H
80#define TURNS_NEEDED_TO_RANK 10
348#define GAME_DEFAULT_SEED 0
349#define GAME_MIN_SEED 0
350#define GAME_MAX_SEED (MAX_UINT32 >> 1)
352#define GAME_DEFAULT_GOLD 50
353#define GAME_MIN_GOLD 0
354#define GAME_MAX_GOLD 50000
356#define GAME_DEFAULT_INFRA 0
357#define GAME_MIN_INFRA 0
358#define GAME_MAX_INFRA 50000
360#define GAME_DEFAULT_START_UNITS "ccwwx"
361#define GAME_DEFAULT_START_CITY FALSE
363#define GAME_DEFAULT_DISPERSION 0
364#define GAME_MIN_DISPERSION 0
365#define GAME_MAX_DISPERSION 10
367#define GAME_DEFAULT_TECHLEVEL 0
368#define GAME_MIN_TECHLEVEL 0
369#define GAME_MAX_TECHLEVEL 100
371#define GAME_DEFAULT_ANGRYCITIZEN TRUE
373#define GAME_DEFAULT_END_TURN 5000
374#define GAME_MIN_END_TURN 1
375#define GAME_MAX_END_TURN 32767
377#define GAME_DEFAULT_MIN_PLAYERS 1
378#define GAME_MIN_MIN_PLAYERS 0
379#define GAME_MAX_MIN_PLAYERS MAX_NUM_PLAYERS
381#define GAME_DEFAULT_MAX_PLAYERS MAX_NUM_PLAYERS
382#define GAME_MIN_MAX_PLAYERS 1
383#define GAME_MAX_MAX_PLAYERS MAX_NUM_PLAYERS
385#define GAME_DEFAULT_AIFILL 5
386#define GAME_MIN_AIFILL 0
387#define GAME_MAX_AIFILL GAME_MAX_MAX_PLAYERS
389#define GAME_DEFAULT_NATIONSET ""
391#define GAME_DEFAULT_FOODBOX 100
392#define GAME_MIN_FOODBOX 1
393#define GAME_MAX_FOODBOX 10000
395#define GAME_DEFAULT_SHIELDBOX 100
396#define GAME_MIN_SHIELDBOX 1
397#define GAME_MAX_SHIELDBOX 10000
399#define GAME_DEFAULT_SCIENCEBOX 100
400#define GAME_MIN_SCIENCEBOX 1
401#define GAME_MAX_SCIENCEBOX 10000
403#define GAME_DEFAULT_DIPLBULBCOST 0
404#define GAME_MIN_DIPLBULBCOST 0
405#define GAME_MAX_DIPLBULBCOST 100
407#define GAME_DEFAULT_DIPLGOLDCOST 0
408#define GAME_MIN_DIPLGOLDCOST 0
409#define GAME_MAX_DIPLGOLDCOST 100
411#define GAME_DEFAULT_INCITE_GOLD_LOSS_CHANCE 0
412#define GAME_MIN_INCITE_GOLD_LOSS_CHANCE 0
413#define GAME_MAX_INCITE_GOLD_LOSS_CHANCE 100
415#define GAME_DEFAULT_INCITE_GOLD_CAPT_CHANCE 0
416#define GAME_MIN_INCITE_GOLD_CAPT_CHANCE 0
417#define GAME_MAX_INCITE_GOLD_CAPT_CHANCE 100
419#define GAME_DEFAULT_FOGOFWAR TRUE
421#define GAME_DEFAULT_FOGGEDBORDERS FALSE
423#define GAME_DEFAULT_GLOBAL_WARMING TRUE
425#define GAME_DEFAULT_GLOBAL_WARMING_PERCENT 100
426#define GAME_MIN_GLOBAL_WARMING_PERCENT 1
427#define GAME_MAX_GLOBAL_WARMING_PERCENT 10000
429#define GAME_DEFAULT_NUCLEAR_WINTER TRUE
431#define GAME_DEFAULT_NUCLEAR_WINTER_PERCENT 100
432#define GAME_MIN_NUCLEAR_WINTER_PERCENT 1
433#define GAME_MAX_NUCLEAR_WINTER_PERCENT 10000
435#define GAME_DEFAULT_BORDERS BORDERS_ENABLED
437#define GAME_DEFAULT_HAPPYBORDERS HB_NATIONAL
439#define GAME_DEFAULT_DIPLOMACY DIPLO_FOR_ALL
441#define GAME_DEFAULT_DIPLCHANCE 80
442#define GAME_MIN_DIPLCHANCE 40
443#define GAME_MAX_DIPLCHANCE 100
445#define GAME_DEFAULT_FREECOST 0
446#define GAME_MIN_FREECOST 0
447#define GAME_MAX_FREECOST 100
449#define GAME_DEFAULT_CONQUERCOST 0
450#define GAME_MIN_CONQUERCOST 0
451#define GAME_MAX_CONQUERCOST 100
453#define GAME_DEFAULT_TECHLOSSFG -1
454#define GAME_MIN_TECHLOSSFG -1
455#define GAME_MAX_TECHLOSSFG 200
457#define GAME_DEFAULT_TECHLOSSREST 50
458#define GAME_MIN_TECHLOSSREST -1
459#define GAME_MAX_TECHLOSSREST 100
461#define GAME_DEFAULT_TECHLEAK 100
462#define GAME_MIN_TECHLEAK 0
463#define GAME_MAX_TECHLEAK 300
465#define GAME_DEFAULT_CITYMINDIST 2
466#define GAME_MIN_CITYMINDIST 1
467#define GAME_MAX_CITYMINDIST 11
469#define GAME_DEFAULT_CIVILWARSIZE 10
470#define GAME_MIN_CIVILWARSIZE 2
471#define GAME_MAX_CIVILWARSIZE 1000
473#define GAME_DEFAULT_RESTRICTINFRA FALSE
474#define GAME_DEFAULT_UNRPROTECTS TRUE
476#define GAME_DEFAULT_CONTACTTURNS 20
477#define GAME_MIN_CONTACTTURNS 0
478#define GAME_MAX_CONTACTTURNS 100
480#define GAME_DEFAULT_CELEBRATESIZE 3
482#define GAME_DEFAULT_RAPTUREDELAY 1
483#define GAME_MIN_RAPTUREDELAY 1
484#define GAME_MAX_RAPTUREDELAY 99
486#define GAME_DEFAULT_DISASTERS 10
487#define GAME_MIN_DISASTERS 0
488#define GAME_MAX_DISASTERS 1000
490#define GAME_DEFAULT_TRAIT_DIST_MODE TDM_FIXED
492#define GAME_DEFAULT_SAVEPALACE TRUE
494#define GAME_DEFAULT_HOMECAUGHTUNITS TRUE
496#define GAME_DEFAULT_NATURALCITYNAMES TRUE
498#define GAME_DEFAULT_MIGRATION FALSE
500#define GAME_DEFAULT_MGR_TURNINTERVAL 5
501#define GAME_MIN_MGR_TURNINTERVAL 1
502#define GAME_MAX_MGR_TURNINTERVAL 100
504#define GAME_DEFAULT_MGR_FOODNEEDED TRUE
509#define GAME_DEFAULT_MGR_DISTANCE 0
510#define GAME_MIN_MGR_DISTANCE (0 - CITY_MAP_MAX_RADIUS)
511#define GAME_MAX_MGR_DISTANCE (1 + CITY_MAP_MAX_RADIUS)
513#define GAME_DEFAULT_MGR_NATIONCHANCE 50
514#define GAME_MIN_MGR_NATIONCHANCE 0
515#define GAME_MAX_MGR_NATIONCHANCE 100
517#define GAME_DEFAULT_MGR_WORLDCHANCE 10
518#define GAME_MIN_MGR_WORLDCHANCE 0
519#define GAME_MAX_MGR_WORLDCHANCE 100
521#define GAME_DEFAULT_AQUEDUCTLOSS 0
522#define GAME_MIN_AQUEDUCTLOSS 0
523#define GAME_MAX_AQUEDUCTLOSS 100
525#define GAME_DEFAULT_KILLSTACK TRUE
526#define GAME_DEFAULT_KILLCITIZEN TRUE
528#define GAME_DEFAULT_KILLUNHOMED 0
529#define GAME_MIN_KILLUNHOMED 0
530#define GAME_MAX_KILLUNHOMED 100
532#define GAME_DEFAULT_TECHPENALTY 100
533#define GAME_MIN_TECHPENALTY 0
534#define GAME_MAX_TECHPENALTY 100
536#define GAME_DEFAULT_TECHLOST_RECV 0
537#define GAME_MIN_TECHLOST_RECV 0
538#define GAME_MAX_TECHLOST_RECV 100
540#define GAME_DEFAULT_TECHLOST_DONOR 0
541#define GAME_MIN_TECHLOST_DONOR 0
542#define GAME_MAX_TECHLOST_DONOR 100
544#define GAME_DEFAULT_TEAM_POOLED_RESEARCH TRUE
545#define GAME_DEFAULT_MULTIRESEARCH FALSE
547#define GAME_DEFAULT_RAZECHANCE 20
548#define GAME_MIN_RAZECHANCE 0
549#define GAME_MAX_RAZECHANCE 100
551#define GAME_DEFAULT_REVEALMAP REVEAL_MAP_NONE
553#define GAME_DEFAULT_SCORELOG FALSE
554#define GAME_DEFAULT_SCORELOGLEVEL SL_ALL
555#define GAME_DEFAULT_SCOREFILE "freeciv-score.log"
560#define GAME_DEFAULT_SCORETURN 20
562#define GAME_DEFAULT_VICTORY_CONDITIONS (1 << VC_SPACERACE | 1 << VC_ALLIED)
563#define GAME_DEFAULT_END_SPACESHIP TRUE
565#define GAME_DEFAULT_SPACESHIP_TRAVEL_TIME 100
566#define GAME_MIN_SPACESHIP_TRAVEL_TIME 50
567#define GAME_MAX_SPACESHIP_TRAVEL_TIME 1000
569#define GAME_DEFAULT_TURNBLOCK TRUE
571#define GAME_DEFAULT_AUTO_AI_TOGGLE FALSE
573#define GAME_DEFAULT_TIMEOUT 0
574#define GAME_DEFAULT_FIRST_TIMEOUT -1
575#define GAME_DEFAULT_TIMEOUTINT 0
576#define GAME_DEFAULT_TIMEOUTINTINC 0
577#define GAME_DEFAULT_TIMEOUTINC 0
578#define GAME_DEFAULT_TIMEOUTINCMULT 1
579#define GAME_DEFAULT_TIMEOUTADDEMOVE 0
580#define GAME_DEFAULT_TIMEOUTCOUNTER 1
582#define GAME_DEFAULT_MAXCONNECTIONSPERHOST 4
583#define GAME_MIN_MAXCONNECTIONSPERHOST 0
584#define GAME_MAX_MAXCONNECTIONSPERHOST MAX_NUM_CONNECTIONS
586#define GAME_MIN_TIMEOUT -1
587#define GAME_MAX_TIMEOUT 8639999
588#define GAME_MIN_FIRST_TIMEOUT -1
589#define GAME_MAX_FIRST_TIMEOUT GAME_MAX_TIMEOUT
591#define GAME_MIN_UNITWAITTIME 0
592#define GAME_MAX_UNITWAITTIME GAME_MAX_TIMEOUT
593#define GAME_DEFAULT_UNITWAITTIME 0
595#define GAME_DEFAULT_PHASE_MODE 0
597#define GAME_DEFAULT_TCPTIMEOUT 10
598#define GAME_MIN_TCPTIMEOUT 0
599#define GAME_MAX_TCPTIMEOUT 120
601#define GAME_DEFAULT_NETWAIT 4
602#define GAME_MIN_NETWAIT 0
603#define GAME_MAX_NETWAIT 20
605#define GAME_DEFAULT_PINGTIME 20
606#define GAME_MIN_PINGTIME 1
607#define GAME_MAX_PINGTIME 1800
609#define GAME_DEFAULT_PINGTIMEOUT 60
610#define GAME_MIN_PINGTIMEOUT 60
611#define GAME_MAX_PINGTIMEOUT 1800
613#define GAME_DEFAULT_IPHIDE FALSE
615#define GAME_DEFAULT_NOTRADESIZE 0
616#define GAME_MIN_NOTRADESIZE 0
617#define GAME_MAX_NOTRADESIZE 49
619#define GAME_DEFAULT_TRADEWORLDRELPCT 50
620#define GAME_MIN_TRADEWORLDRELPCT 0
621#define GAME_MAX_TRADEWORLDRELPCT 100
623#define GAME_DEFAULT_FULLTRADESIZE 1
624#define GAME_MIN_FULLTRADESIZE 1
625#define GAME_MAX_FULLTRADESIZE 50
627#define GAME_DEFAULT_TRADING_TECH TRUE
628#define GAME_DEFAULT_TRADING_GOLD TRUE
629#define GAME_DEFAULT_TRADING_CITY TRUE
631#define GAME_DEFAULT_CARAVAN_BONUS_STYLE CBS_CLASSIC
633#define GAME_DEFAULT_TRADEMINDIST 9
634#define GAME_MIN_TRADEMINDIST 1
635#define GAME_MAX_TRADEMINDIST 999
637#define GAME_DEFAULT_TRADE_REVENUE_STYLE TRS_CLASSIC
639#define GAME_DEFAULT_BARBARIANRATE BARBS_NORMAL
641#define GAME_DEFAULT_ONSETBARBARIAN 60
642#define GAME_MIN_ONSETBARBARIAN 1
643#define GAME_MAX_ONSETBARBARIAN GAME_MAX_END_TURN
645#define GAME_DEFAULT_OCCUPYCHANCE 0
646#define GAME_MIN_OCCUPYCHANCE 0
647#define GAME_MAX_OCCUPYCHANCE 100
649#define GAME_DEFAULT_AUTOATTACK FALSE
652#define GAME_DEFAULT_RULESETDIR "classic"
654#define GAME_DEFAULT_RULESETDIR "civ2civ3"
657#define GAME_DEFAULT_SAVE_NAME "freeciv"
658#define GAME_DEFAULT_SAVETURNS 1
659#define GAME_MIN_SAVETURNS 1
660#define GAME_MAX_SAVETURNS 200
661#define GAME_DEFAULT_SAVEFREQUENCY 15
662#define GAME_MIN_SAVEFREQUENCY 2
663#define GAME_MAX_SAVEFREQUENCY 1440
666#define GAME_DEFAULT_AUTOSAVES 0
668#define GAME_DEFAULT_AUTOSAVES (1 << AS_TURN | 1 << AS_GAME_OVER | 1 << AS_QUITIDLE | 1 << AS_INTERRUPT)
671#define GAME_DEFAULT_THREADED_SAVE FALSE
673#define GAME_DEFAULT_USER_META_MESSAGE ""
675#define GAME_DEFAULT_SKILL_LEVEL AI_LEVEL_EASY
676#define GAME_HARDCODED_DEFAULT_SKILL_LEVEL 3
677#define GAME_OLD_DEFAULT_SKILL_LEVEL 5
679#define GAME_DEFAULT_DEMOGRAPHY "NASRLPEMOCqrb"
680#define GAME_DEFAULT_ALLOW_TAKE "HAhadOo"
682#define GAME_DEFAULT_EVENT_CACHE_TURNS 1
683#define GAME_MIN_EVENT_CACHE_TURNS 0
684#define GAME_MAX_EVENT_CACHE_TURNS (GAME_MAX_END_TURN + 1)
686#define GAME_DEFAULT_EVENT_CACHE_MAX_SIZE 256
687#define GAME_MIN_EVENT_CACHE_MAX_SIZE 10
688#define GAME_MAX_EVENT_CACHE_MAX_SIZE 20000
690#define GAME_DEFAULT_EVENT_CACHE_CHAT TRUE
692#define GAME_DEFAULT_EVENT_CACHE_INFO FALSE
694#define GAME_DEFAULT_COMPRESS_LEVEL 6
695#define GAME_MIN_COMPRESS_LEVEL 1
696#define GAME_MAX_COMPRESS_LEVEL 9
698#if defined(FREECIV_HAVE_LIBLZMA)
699# define GAME_DEFAULT_COMPRESS_TYPE FZ_XZ
700#elif defined(FREECIV_HAVE_LIBZ)
701# define GAME_DEFAULT_COMPRESS_TYPE FZ_ZLIB
703# define GAME_DEFAULT_COMPRESS_TYPE FZ_PLAIN
706#define GAME_DEFAULT_ALLOWED_CITY_NAMES CNM_PLAYER_UNIQUE
708#define GAME_DEFAULT_PLRCOLORMODE PLRCOL_PLR_ORDER
710#define GAME_DEFAULT_REVOLENTYPE REVOLEN_RANDOM
711#define GAME_DEFAULT_REVOLUTION_LENGTH 5
712#define GAME_MIN_REVOLUTION_LENGTH 1
713#define GAME_MAX_REVOLUTION_LENGTH 20
715#define GAME_DEFAULT_START_YEAR -4000
717#define GAME_DEFAULT_AIRLIFTINGSTYLE AIRLIFTING_CLASSICAL
718#define GAME_DEFAULT_PERSISTENTREADY PERSISTENTR_DISABLED
720#define GAME_MAX_READ_RECURSION 10
722#define GAME_DEFAULT_KICK_TIME 1800
723#define GAME_MIN_KICK_TIME 0
724#define GAME_MAX_KICK_TIME 86400
727#define GAME_UNIT_BRIBE_DIST_MAX 32
730#define GAME_TRANSPORT_MAX_RECURSIVE 5
734#define RS_MAX_VALUE 1000000
737#define RS_DEFAULT_POS_YEAR_LABEL N_("AD")
739#define RS_DEFAULT_NEG_YEAR_LABEL N_("BC")
741#define RS_DEFAULT_ILLNESS_ON FALSE
743#define RS_DEFAULT_ILLNESS_BASE_FACTOR 25
744#define RS_MIN_ILLNESS_BASE_FACTOR 0
745#define RS_MAX_ILLNESS_BASE_FACTOR RS_MAX_VALUE
747#define RS_DEFAULT_ILLNESS_MIN_SIZE 3
748#define RS_MIN_ILLNESS_MIN_SIZE 1
749#define RS_MAX_ILLNESS_MIN_SIZE 100
751#define RS_DEFAULT_ILLNESS_TRADE_INFECTION_PCT 50
752#define RS_MIN_ILLNESS_TRADE_INFECTION_PCT 0
753#define RS_MAX_ILLNESS_TRADE_INFECTION_PCT 500
755#define RS_DEFAULT_ILLNESS_POLLUTION_PCT 50
756#define RS_MIN_ILLNESS_POLLUTION_PCT 0
757#define RS_MAX_ILLNESS_POLLUTION_PCT 500
759#define RS_DEFAULT_CALENDAR_SKIP_0 TRUE
761#define RS_DEFAULT_BORDER_RADIUS_SQ_CITY 17
762#define RS_MIN_BORDER_RADIUS_SQ_CITY 0
763#define RS_MAX_BORDER_RADIUS_SQ_CITY 401
765#define RS_DEFAULT_BORDER_SIZE_EFFECT 1
766#define RS_MIN_BORDER_SIZE_EFFECT 0
767#define RS_MAX_BORDER_SIZE_EFFECT 100
769#define RS_DEFAULT_BORDER_RADIUS_SQ_CITY_PERMANENT 0
770#define RS_MIN_BORDER_RADIUS_SQ_CITY_PERMANENT (-CITY_MAP_MAX_RADIUS_SQ)
771#define RS_MAX_BORDER_RADIUS_SQ_CITY_PERMANENT 401
773#define RS_DEFAULT_INCITE_BASE_COST 1000
774#define RS_MIN_INCITE_BASE_COST 0
775#define RS_MAX_INCITE_BASE_COST RS_MAX_VALUE
777#define RS_DEFAULT_INCITE_IMPROVEMENT_FCT 1
778#define RS_MIN_INCITE_IMPROVEMENT_FCT 0
779#define RS_MAX_INCITE_IMPROVEMENT_FCT RS_MAX_VALUE
781#define RS_DEFAULT_INCITE_UNIT_FCT 2
782#define RS_MIN_INCITE_UNIT_FCT 0
783#define RS_MAX_INCITE_UNIT_FCT RS_MAX_VALUE
785#define RS_DEFAULT_INCITE_TOTAL_FCT 100
786#define RS_MIN_INCITE_TOTAL_FCT 0
787#define RS_MAX_INCITE_TOTAL_FCT RS_MAX_VALUE
789#define RS_DEFAULT_GRANARY_FOOD_INI 20
791#define RS_DEFAULT_GRANARY_FOOD_INC 10
792#define RS_MIN_GRANARY_FOOD_INC 0
793#define RS_MAX_GRANARY_FOOD_INC RS_MAX_VALUE
795#define RS_DEFAULT_CITY_CENTER_OUTPUT 0
796#define RS_MIN_CITY_CENTER_OUTPUT 0
797#define RS_MAX_CITY_CENTER_OUTPUT RS_MAX_VALUE
799#define RS_DEFAULT_CITIES_MIN_DIST 2
800#define RS_MIN_CITIES_MIN_DIST 1
801#define RS_MAX_CITIES_MIN_DIST RS_MAX_VALUE
804#define RS_DEFAULT_CITY_RADIUS_SQ CITY_MAP_DEFAULT_RADIUS_SQ
805#define RS_MIN_CITY_RADIUS_SQ CITY_MAP_MIN_RADIUS_SQ
806#define RS_MAX_CITY_RADIUS_SQ CITY_MAP_MAX_RADIUS_SQ
808#define RS_DEFAULT_VIS_RADIUS_SQ 5
809#define RS_MIN_VIS_RADIUS_SQ 0
810#define RS_MAX_VIS_RADIUS_SQ 401
812#define RS_DEFAULT_BASE_POLLUTION -20
817#define RS_DEFAULT_HAPPY_COST 2
818#define RS_MIN_HAPPY_COST 0
819#define RS_MAX_HAPPY_COST 10000
821#define RS_DEFAULT_FOOD_COST 2
822#define RS_MIN_FOOD_COST 0
823#define RS_MAX_FOOD_COST 10000
825#define RS_DEFAULT_CIVIL_WAR_CELEB -5
826#define RS_DEFAULT_CIVIL_WAR_UNHAPPY 5
828#define RS_DEFAULT_TIRED_ATTACK FALSE
829#define RS_DEFAULT_NUKE_POP_LOSS_PCT 49
830#define RS_MIN_NUKE_POP_LOSS_PCT 0
831#define RS_MAX_NUKE_POP_LOSS_PCT 100
832#define RS_DEFAULT_NUKE_DEFENDER_SURVIVAL_CHANCE_PCT 0
833#define RS_MIN_NUKE_DEFENDER_SURVIVAL_CHANCE_PCT 0
834#define RS_MAX_NUKE_DEFENDER_SURVIVAL_CHANCE_PCT 100
836#define RS_DEFAULT_BASE_BRIBE_COST 750
837#define RS_MIN_BASE_BRIBE_COST 0
838#define RS_MAX_BASE_BRIBE_COST RS_MAX_VALUE
840#define RS_DEFAULT_RANSOM_GOLD 100
841#define RS_MIN_RANSOM_GOLD 0
842#define RS_MAX_RANSOM_GOLD RS_MAX_VALUE
844#define RS_DEFAULT_PILLAGE_SELECT TRUE
846#define RS_DEFAULT_UPGRADE_VETERAN_LOSS 0
847#define RS_MIN_UPGRADE_VETERAN_LOSS 0
848#define RS_MAX_UPGRADE_VETERAN_LOSS MAX_VET_LEVELS
850#define RS_DEFAULT_TECH_UPKEEP_DIVIDER 100
851#define RS_MIN_TECH_UPKEEP_DIVIDER 1
852#define RS_MAX_TECH_UPKEEP_DIVIDER 100000
854#define RS_DEFAULT_BASE_TECH_COST 20
855#define RS_MIN_BASE_TECH_COST 0
856#define RS_MAX_BASE_TECH_COST 20000
858#define RS_DEFAULT_POISON_EMPTIES_FOOD_STOCK FALSE
859#define RS_DEFAULT_STEAL_MAP_REVEALS_CITIES TRUE
860#define RS_DEFAULT_ACTION_ACTOR_CONSUMING_ALWAYS FALSE
861#define RS_DEFAULT_USER_ACTION_TARGET_KIND ATK_UNIT
862#define RS_DEFAULT_ACTION_MIN_RANGE 0
863#define RS_DEFAULT_ACTION_MAX_RANGE 1
864#define RS_DEFAULT_EXPLODE_NUCLEAR_MAX_RANGE 0
866#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
#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)
struct civ_game::@30::@34::@36 save_options
enum city_names_mode allowed_city_names
struct civ_game::@29 rgame
int incite_gold_capt_chance
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::@30::@34 server
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 civ_game::@30::@34::@35 event_cache
struct civ_game::@32 callbacks
int incite_gold_loss_chance
bool settings_gamestart_valid
enum plrcolor_mode plrcolormode
int spaceship_travel_time
char demography[MAX_LEN_DEMOGRAPHY]
struct conn_list * est_connections
struct packet_game_info info
int autoupgrade_veteran_loss
struct civ_game::@30::@33 client
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
struct civ_game::@30::@34::@37 meta_info
struct civ_game::@30::@34::@39 ruledit
int maxconnectionsperhost
struct packet_scenario_info scenario
struct trait_limits default_traits[TRAIT_COUNT]
struct civ_game::@30::@34::@38 mutexes
struct timer * phase_timer
int nuclear_winter_percent
const char ** allowed_terrains
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
size_t embedded_nations_count
char * ruleset_capabilities
struct packet_timeout_info tinfo
char allow_take[MAX_LEN_ALLOW_TAKE]
char scorefile[MAX_LEN_NAME]
struct veteran_system * veteran
int global_warming_percent
struct packet_calendar_info calendar
struct government * default_government
struct government * government_during_revolution