46 char main_db_filename[500];
47 char scenario_db_filename[500];
50 fc_snprintf(main_db_filename,
sizeof(main_db_filename),
53 fc_snprintf(scenario_db_filename,
sizeof(scenario_db_filename),
64 if (
fc_stat(main_db_filename, &buf)) {
71 if (
fc_stat(scenario_db_filename, &buf)) {
void libfreeciv_init(bool check_fc_interface)
void libfreeciv_free(void)
static char void init_character_encodings(const char *my_internal_encoding, bool my_use_transliteration)
#define FC_DEFAULT_DATA_ENCODING
void load_install_info_lists(struct fcmp_params *fcmp)
static char main_ii_filename[500]
static char scenario_ii_filename[500]
void load_install_info_list(const char *filename)
void create_mpdb(const char *filename, bool scenario_db)
void open_mpdb(const char *filename, bool scenario_db)
void fc_shutdown_network(void)
void fc_init_network(void)
void fc_srand(RANDOM_TYPE seed)
void registry_module_init(void)
void registry_module_close(void)
int fc_snprintf(char *str, size_t n, const char *format,...)
int fc_stat(const char *filename, struct stat *buf)