#include "conq.h"
#include "kpublic.h"
#include "cmdline.h"
Include dependency graph for cmdline.c:
Classes | |
struct | raw_spec |
Defines | |
#define | REQUIRE_ONE_ARG |
#define | GENERAL_OPTION if (spec != general_options) continue; |
#define | VARIANT_OPTION if (spec != variant_options) continue; |
#define | PLAYER_OPTION if (spec != player_options) continue; |
Functions | |
void | init_options (void) |
void | parse_command_line (int argc, char *argv[], int spec) |
void | add_a_module (char *name, char *filename) |
void | load_all_modules (void) |
void | set_variants_from_options (void) |
void | set_players_from_options (void) |
void | print_instructions (void) |
Variables | |
short | initially_no_ai |
char * | option_game_to_host = NULL |
char * | option_game_to_join = NULL |
int | option_num_to_wait_for = 0 |
char * | args_used |
raw_spec * | raw_player_specs |
raw_spec * | last_raw_player_spec |
char * | raw_default_player_spec |
|
|
|
|
|
Value: if (i + 1 >= argc) { \ fprintf(stderr, "Error: `%s' requires an argument, exiting now\n", argv[i]); \ had_error = TRUE; \ continue; \ } \ numused = 2; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|