Annotation of early-roguelike/xrogue/mach_dep.h, Revision 1.1.1.1
1.1 rubenllo 1: /*
2: mach_dep.h - machine dependents
3:
4: XRogue: Expeditions into the Dungeons of Doom
5: Copyright (C) 1991 Robert Pietkivitch
6: All rights reserved.
7:
8: Based on "Advanced Rogue"
9: Copyright (C) 1984, 1985 Michael Morgan, Ken Dalka and AT&T
10: All rights reserved.
11:
12: Based on "Rogue: Exploring the Dungeons of Doom"
13: Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman
14: All rights reserved.
15:
16: See the file LICENSE.TXT for full copyright and licensing information.
17: */
18:
19: /*
20: * define/undefine that the wizard commands exist
21: */
22: #ifndef HAVE_CONFIG_H
23: #undef WIZARD
24: #endif
25:
26: #if defined(_WIN32)
27: #define fstat _fstat
28: #define stat _stat
29: #define open _open
30: #define popen _popen
31: #define pclose _pclose
32: #if !defined(__MINGW32__)
33: #define PATH_MAX _MAX_PATH
34: #endif
35: #endif
36:
37: #define NOOP(x) (x += 0)
38:
39: extern char *md_getusername();
40: extern char *md_gethomedir();
41: extern char *md_getroguedir();
42: extern void md_flushinp();
43: extern char *md_getshell();
44: extern char *md_gethostname();
45: extern void md_dobinaryio();
46: extern char *md_getpass();
47: extern void md_init();
48: extern char *xcrypt();
49:
50: /*
51: * define if you want to limit scores to one per class per userid
52: */
53:
54: #ifndef HAVE_CONFIG_H
55: /* #define LIMITSCORE 1*/
56: #undef LIMITSCORE
57: #endif
58:
59: /*
60: * fudge factor allowed in time for saved game
61: */
62:
63: #define FUDGE_TIME 200
64:
65: /* File locations. Define here if necessary. */
66: #if 0
67: #define SCOREFILE "xrogue.scr"
68: #define LOGFILE "xrogue.log"
69: #endif
CVSweb