Source:NetHack 5.0.0/include/sys.h
Jump to navigation
Jump to search
Below is the full text to sys.h from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/include/sys.h#line12]], for example.
The NetHack General Public License applies to screenshots, source code and other content from NetHack.
This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.
1. /* NetHack 5.0 sys.h $NHDT-Date: 1693083207 2023/08/26 20:53:27 $ $NHDT-Branch: keni-crashweb2 $:$NHDT-Revision: 1.41 $ */ 2. /* Copyright (c) Kenneth Lorber, Kensington, Maryland, 2008. */ 3. /* NetHack may be freely redistributed. See license for details. */ 4. 5. #ifndef SYS_H 6. #define SYS_H 7. 8. struct sysopt_s { 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. char *msghandler; 19. #ifdef DUMPLOG 20. char *dumplogfile; /* where the dump file is saved */ 21. #endif 22. int env_dbgfl; /* 1: debugfiles comes from getenv("DEBUGFILES") 23. * so sysconf's DEBUGFILES shouldn't override it; 24. * 0: getenv() hasn't been attempted yet; 25. * -1: getenv() didn't find a value for DEBUGFILES. 26. */ 27. int maxplayers; 28. int seduce; 29. int check_save_uid; /* restoring savefile checks UID? */ 30. int check_plname; /* use plname for checking wizards/explorers/shellers */ 31. int bones_pools; 32. long livelog; /* LL_foo events to livelog */ 33. 34. /* record file */ 35. int persmax; 36. int pers_is_uid; 37. int entrymax; 38. int pointsmin; 39. int tt_oname_maxrank; 40. 41. /* panic options */ 42. char *gdbpath; 43. char *greppath; 44. char *crashreporturl; 45. int panictrace_gdb; 46. int panictrace_libc; 47. 48. /* save and bones format */ 49. int saveformat[2]; /* primary and onetime conversion */ 50. int bonesformat[2]; /* primary and onetime conversion */ 51. 52. /* enable accessibility options */ 53. int accessibility; 54. #ifdef WIN32 55. int portable_device_paths; /* nethack config for a portable device */ 56. #endif 57. 58. /* nethack's interactive help menu */ 59. int hideusage; /* 0: include 'command-line usage' entry in help menu; 60. * 1: suppress it */ 61. }; 62. 63. extern struct sysopt_s sysopt; 64. 65. #define SYSOPT_SEDUCE sysopt.seduce 66. 67. #endif /* SYS_H */