Freeciv-3.2
|
#include "fc_cmdline.h"
#include "fciconv.h"
#include "fcintl.h"
#include "support.h"
#include "fc_cmdhelp.h"
#include "version.h"
#include "modinst.h"
#include "mpcmdline.h"
Go to the source code of this file.
Functions | |
int | fcmp_parse_cmdline (int argc, char *argv[]) |
Variables | |
struct fcmp_params | fcmp |
Parse commandline parameters. Modified argv[] so it contains only ui-specific options afterwards. Number of those ui-specific options is returned. Currently this is implemented in a way that it never fails. Either it returns with success or exit()s. Implementation can be changed so that this returns with value -1 in case program should be shut down instead of exiting itself. Callers are prepared for such implementation. This call initialises the log system.
Definition at line 45 of file mpcmdline.c.
|
extern |
Definition at line 37 of file mpcli.c.
Referenced by activate_gui(), download_modpack(), download_modpack_list(), download_modpack_recursive(), download_thread(), download_thread(), fcmp_parse_cmdline(), gui_download_modpack(), load_install_info_lists(), main(), main(), modinst_setup_widgets(), and modinst_setup_widgets().