Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cmdline.h

Go to the documentation of this file.
00001 /* Command-line parsing definitions for Xconq.
00002    Copyright (C) 1993, 1994, 1995, 1999, 2000 Stanley T. Shebs.
00003 
00004 Xconq is free software; you can redistribute it and/or modify
00005 it under the terms of the GNU General Public License as published by
00006 the Free Software Foundation; either version 2, or (at your option)
00007 any later version.  See the file COPYING.  */
00008 
00009 #define CLIBUFSIZE  1024
00010 
00017 enum parsestage {
00018     general_options,
00019     variant_options,
00020     player_options,
00021     interface_options,
00022     leftover_options
00023 };
00024 
00025 /* Global variables that command-line options tweak. */
00026 
00027 extern int checkpointinterval;
00028 extern int option_popup_new_game_dialog;
00029 extern char *option_game_to_host;
00030 extern char *option_game_to_join;
00031 extern int option_num_to_wait_for;
00032 extern char *default_player_spec;
00033 extern char *raw_default_player_spec;
00034 extern char *args_used;
00035 
00036 extern void init_options(void);
00037 extern void parse_command_line(int argc, char **argv, int spec);
00038 extern void add_a_module(char *name, char *filename);
00039 extern void load_all_modules(void);
00040 extern void set_variants_from_options(void);
00041 extern void set_players_from_options(void);
00042 extern void print_instructions(void);

Generated on Sat Sep 17 10:28:52 2005 for XconqKernel by doxygen 1.3.6