Source:NetHack 3.0.0/amiconf.h

From NetHackWiki
Revision as of 04:16, 4 March 2008 by Kernigh bot (talk | contribs) (NetHack 3.0.0/amiconf.h moved to Source:NetHack 3.0.0/amiconf.h: Robot: moved page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Below is the full text to amiconf.h from the source code of NetHack 3.0.0. To link to a particular line, write [[NetHack 3.0.0/amiconf.h#line123]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

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.    /*      SCCS Id: @(#)amiconf.h  3.0     89/04/28
2.    /* NetHack may be freely redistributed.  See license for details. */
3.    
4.    #ifndef AMICONF_H
5.    #define AMICONF_H
6.    
7.    #define MSDOS           /* must be defined to allow some inclusions */
8.    #define AMIGA           /* and for some other inclusions */
9.    
10.   #define O_BINARY        0
11.   #define remove(x)       unlink(x)
12.   
13.   #define DGK             /* You'll probably want this; define it in PCCONF.H */
14.   #define RANDOM
15.   
16.   #ifndef MSDOS_H
17.   #include "msdos.h"
18.   #endif
19.   #ifndef PCCONF_H
20.   #include "pcconf.h"     /* remainder of stuff is almost same as the PC */
21.   #endif
22.   
23.   #undef  index
24.   #undef  rindex
25.   
26.   /*
27.    *  Configurable Amiga options:
28.    */
29.   
30.   #define MSDOSCOLOR              /* Use colored monsters and objects */
31.   #define HACKFONT                /* Use special hack.font */
32.   #define SHELL                   /* Have a shell escape command (!) */
33.   #define MAIL                    /* Get mail at unexpected occasions */
34.   #undef  TERMLIB
35.   #define fopen       fopenp      /* Open most text files according to PATH */
36.   
37.   #endif /* AMICONF_H /* */