File: cmdline.h

package info (click to toggle)
xconq 7.1.0-7
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 7,056 kB
  • ctags: 7,960
  • sloc: ansic: 88,493; perl: 2,057; sh: 1,766; makefile: 1,110; csh: 81; awk: 47; lisp: 39
file content (30 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Command-line parsing definitions for Xconq.
   Copyright (C) 1993, 1994, 1995 Stanley T. Shebs.

Xconq is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.  See the file COPYING.  */

enum parsestage {
    general_options,
    variant_options,
    player_options,
    interface_options,
    leftover_options
};

/* Global variables that command-line options tweak. */

extern int checkpointinterval;
extern int allbedesigners;
extern int option_popup_new_game_dialog;
extern int warnings_suppressed;

extern void init_options PARAMS ((void));
extern void parse_command_line PARAMS ((int argc, char **argv, int spec));
extern void add_a_module PARAMS ((char *name, char *filename));
extern void load_all_modules PARAMS ((void));
extern void set_variants_from_options PARAMS ((void));
extern void set_players_from_options PARAMS ((void));
extern void print_instructions PARAMS ((void));