Freeciv-3.3
|
#include "fcintl.h"
#include "shared.h"
#include "support.h"
#include "fc_types.h"
#include "version.h"
Go to the source code of this file.
Functions | |
const char * | freeciv_name_version (void) |
const char * | word_version (void) |
const char * | fc_git_revision (void) |
const char * | fc_comparable_version (void) |
const char * | beta_message (void) |
const char * | alpha_message (void) |
const char * | unstable_message (void) |
const char * | freeciv_motto (void) |
const char * | freeciv_datafile_version (void) |
Return the alpha message. If returns NULL, not an alpha version.
Definition at line 147 of file version.c.
Referenced by unstable_message().
Return the BETA message. If returns NULL, not a beta version.
Definition at line 104 of file version.c.
Referenced by unstable_message().
Returns version string that can be used to compare two freeciv builds. This does not handle git revisions, as there's no way to compare which of the two commits is "higher".
Definition at line 95 of file version.c.
Referenced by api_utilities_comparable_version().
Returns string with git revision information if it is possible to determine. Can return also some fallback string or even NULL.
Definition at line 75 of file version.c.
Referenced by fc_client::create_main_page(), freeciv_datafile_version(), freeciv_name_version(), intro_expose(), intro_expose(), main(), modinst_setup_widgets(), modinst_setup_widgets(), modinst_setup_widgets(), mpgui::setup(), ruledit_gui::setup(), and show_main_page().
Return version string in a format suitable to be written to created datafiles as human readable information.
Definition at line 186 of file version.c.
Referenced by api_utilities_version_string(), create_ruleset_file(), manual_start(), sg_save_savefile(), srv_main(), and srv_prepare().
Return string containing both name of Freeciv and version.
Definition at line 35 of file version.c.
Referenced by api_utilities_fc_version(), api_utilities_name_version(), client_main(), establish_new_connection(), fcmp_parse_cmdline(), insert_generated_text(), main(), main(), re_parse_cmdline(), and set_title_topic().
Return the alpha or beta message. If returns NULL, not such a version.
Definition at line 160 of file version.c.
Referenced by fc_client::create_main_page(), create_main_page(), show_main_page(), and srv_prepare().
Return string describing version type.
Definition at line 62 of file version.c.
Referenced by fc_client::create_main_page(), intro_expose(), intro_expose(), main(), modinst_setup_widgets(), modinst_setup_widgets(), modinst_setup_widgets(), mpgui::setup(), and ruledit_gui::setup().