Fandom

Wikihack

Source:NetHack 3.0.0/amiconf.h

2,034pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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.
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 /* */

Also on Fandom

Random Wiki