26#ifdef FREECIV_MSWINDOWS
72 "<html><head><link rel=\"stylesheet\" type=\"text/css\" "
73 "href=\"manual.css\"/><meta http-equiv=\"Content-Type\" "
74 "content=\"text/html; charset=UTF-8\"/></head><body>\n\n",
83 "<h3 class='section'>",
95 "<div class='item' id='%s%d'>\n",
139 "----\n<!-- %s %d -->\n",
301 log_error(
_(
"Could not write manual file %s."), filename);
307 fprintf(
doc,
"<!-- Generated by freeciv-manual version %s -->\n\n",
325 log_normal(
_(
"%s (%d) manual successfully written."),
370#ifdef FREECIV_MSWINDOWS
371# ifndef FREECIV_NDEBUG
374 fprintf(
stderr,
"exchndl.dll could not be loaded, no crash debugger\n");
399 "ruleset at a time is supported.\n"));
412#ifndef FREECIV_NDEBUG
469 _(
"Set debug log level (one of f,e,w,n,v,d, or "
470 "d:file1,min,max:...)"));
475 _(
"Set debug log level (one of f,e,w,n,v)"));
477#ifndef FREECIV_NDEBUG
481 _(
"Raise a signal on failed assertion"));
484 _(
"Print a summary of the options"));
488 _(
"Use FILE as logfile"));
491 _(
"ruleset RULESET"),
492 _(
"Make manual for RULESET"));
494 _(
"Print the version number"));
496 _(
"Write manual in wiki format"));
void init_our_capability(void)
void con_log_init(const char *log_filename, enum log_level level, int fatal_assertions)
void cmdhelp_destroy(struct cmdhelp *pcmdhelp)
void cmdhelp_display(struct cmdhelp *pcmdhelp, bool sort, bool gui_options, bool report_bugs)
struct cmdhelp * cmdhelp_new(const char *cmdname)
void cmdhelp_add(struct cmdhelp *pcmdhelp, const char *shortarg, const char *longarg, const char *helpstr,...)
bool is_option(const char *option_name, char *option)
char * get_option_malloc(const char *option_name, char **argv, int *i, int argc, bool gc)
void cmdline_option_values_free(void)
void libfreeciv_free(void)
static void i_am_tool(void)
const char * client_string
void manual_finalize(struct tag_types *tag_info, FILE *doc, enum manuals manual)
int main(int argc, char **argv)
const char * current_musicset_version(void)
const char * current_musicset_name(void)
const char * current_musicset_summary(void)
const char * tileset_description(struct tileset *t)
const char * current_musicset_description(void)
bool client_nation_is_in_current_set(const struct nation_type *pnation)
void popdown_help_dialog(void)
const char * tileset_summary(struct tileset *t)
void popup_help_dialog_string(const char *item)
char * html_special_chars(char *str, size_t *len)
FILE * manual_start(struct tag_types *tag_info, int manual_number)
void insert_client_build_info(char *outbuf, size_t outlen)
enum client_states client_state(void)
static bool manual_command(struct tag_types *tag_info)
const char * tileset_name_get(struct tileset *t)
const char * tileset_version(struct tileset *t)
struct tag_types html_tags
struct tag_types wiki_tags
bool manual_terrain(struct tag_types *tag_info)
bool manual_units(struct tag_types *tag_info)
bool manual_buildings(struct tag_types *tag_info)
bool manual_extras(struct tag_types *tag_info)
bool manual_settings(struct tag_types *tag_info)
bool manual_governments(struct tag_types *tag_info)
bool manual_commands(struct tag_types *tag_info)
bool manual_techs(struct tag_types *tag_info)
bool manual_uclasses(struct tag_types *tag_info)
static char void init_character_encodings(const char *my_internal_encoding, bool my_use_transliteration)
#define FC_DEFAULT_DATA_ENCODING
void fc_fprintf(FILE *stream, const char *format,...) fc__attribute((__format__(__printf__
void game_init(bool keep_ruleset_value)
bool log_parse_level_str(const char *level_str, enum log_level *ret_level)
#define log_normal(message,...)
#define log_error(message,...)
void registry_module_init(void)
void registry_module_close(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)
void init_connections(void)
void settings_init(bool act)
bool str_to_int(const char *str, int *pint)
struct server_arguments srvarg
struct packet_game_info info
char rulesetdir[MAX_LEN_NAME]
struct civ_game::@31::@35 server
int fc_snprintf(char *str, size_t n, const char *format,...)
FILE * fc_fopen(const char *filename, const char *opentype)
bool is_reg_file_for_access(const char *name, bool write_access)
char * fc_strrep_resize(char *str, size_t *len, const char *search, const char *replace)
#define sz_strlcpy(dest, src)
const char * freeciv_name_version(void)
const char * freeciv_datafile_version(void)