simplify #vanquished monsters processing...
[aNetHack.git] / include / sys.h
blobd2989a84282f99f79be6a04da4c39b6e79dec4a8
1 /* NetHack 3.6 sys.h $NHDT-Date: 1449296291 2015/12/05 06:18:11 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.27 $ */
2 /* Copyright (c) Kenneth Lorber, Kensington, Maryland, 2008. */
3 /* NetHack may be freely redistributed. See license for details. */
5 #ifndef SYS_H
6 #define SYS_H
8 struct sysopt {
9 char *support; /* local support contact */
10 char *recover; /* how to run recover - may be overridden by win port */
11 char *wizards; /* space-separated list of usernames */
12 char *fmtd_wizard_list; /* formatted version of wizards; null or "one"
13 or "one or two" or "one, two, or three", &c */
14 char *explorers; /* like wizards, but for access to explore mode */
15 char *shellers; /* like wizards, for ! command (-DSHELL); also ^Z */
16 char *debugfiles; /* files to show debugplines in. '*' is all. */
17 int env_dbgfl; /* 1: debugfiles comes from getenv("DEBUGFILES")
18 * so sysconf's DEBUGFILES shouldn't override it;
19 * 0: getenv() hasn't been attempted yet;
20 * -1: getenv() didn't find a value for DEBUGFILES.
22 int maxplayers;
23 int seduce;
24 int check_save_uid; /* restoring savefile checks UID? */
25 int check_plname; /* use plname for checking wizards/explorers/shellers */
27 /* record file */
28 int persmax;
29 int pers_is_uid;
30 int entrymax;
31 int pointsmin;
32 int tt_oname_maxrank;
34 /* panic options */
35 char *gdbpath;
36 char *greppath;
37 int panictrace_gdb;
38 int panictrace_libc;
41 extern struct sysopt sysopt;
43 #define SYSOPT_SEDUCE sysopt.seduce
45 #endif /* SYS_H */