Add end-of-game dumplogs
[aNetHack.git] / include / sys.h
blob91c5d3522fd6f9d933a4696c89ee2ae346ddf5dc
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 *genericusers; /* usernames that prompt for user name */
17 char *debugfiles; /* files to show debugplines in. '*' is all. */
18 #ifdef DUMPLOG
19 char *dumplogfile; /* where the dump file is saved */
20 #endif
21 int env_dbgfl; /* 1: debugfiles comes from getenv("DEBUGFILES")
22 * so sysconf's DEBUGFILES shouldn't override it;
23 * 0: getenv() hasn't been attempted yet;
24 * -1: getenv() didn't find a value for DEBUGFILES.
26 int maxplayers;
27 int seduce;
28 int check_save_uid; /* restoring savefile checks UID? */
29 int check_plname; /* use plname for checking wizards/explorers/shellers */
31 /* record file */
32 int persmax;
33 int pers_is_uid;
34 int entrymax;
35 int pointsmin;
36 int tt_oname_maxrank;
38 /* panic options */
39 char *gdbpath;
40 char *greppath;
41 int panictrace_gdb;
42 int panictrace_libc;
45 extern struct sysopt sysopt;
47 #define SYSOPT_SEDUCE sysopt.seduce
49 #endif /* SYS_H */