Fandom

Wikihack

Source:SLASH'EM 0.0.7E7F2/file.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 file.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/file.h#line123]], for example.

The latest source code for vanilla NetHack is at Source code.


The NetHack General Public License applies to screenshots, source code and other content from NetHack.
1.    /*      SCCS Id: @(#)file.h       3.2     96/11/19        */
2.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    
5.    /* WAC New file used by Makedefs*/
6.    /* This file is read by makedefs and is turned into file.h*/
7.    /* Various File Names */
8.    /*Makedefs will hunt for the @ sign and then remove the next 6 chars*/
9.    /*replacing with DEF_GAME_NAME in patchlev.h*/
10.   /*Makedefs starts reading after a line with # START*/
11.   /* @Lxxxxx makes DEF_GAME_NAME lowercase*/
12.   
13.   # START
14.   
15.   /* Config Filename */
16.   #ifdef UNIX                
17.   # define NH_CONFIG_FILE     ".@LOWER@rc"
18.   #else
19.   # if defined(MAC) || defined(__BEOS__)
20.   #  define NH_CONFIG_FILE     "Slash'EM Defaults"
21.   # else                     
22.   #  ifdef VMS                
23.   #   define NH_CONFIG_FILE     "@LOWER@ini"
24.   /*file2 should be the same as file except with sys$login: prepend*/
25.   #   define NH_CONFIG_FILE2    "sys$login:@LOWER@.ini"
26.   #   define NH_CONFIG_FILE3    "@UPPER@.cnf"
27.   #  else                     
28.   #   if defined(MSDOS) || defined(WIN32)
29.   #    define NH_CONFIG_FILE     "defaults.nh";
30.   #   else                     
31.   #    define NH_CONFIG_FILE     "@UPPER@.cnf"
32.   #   endif
33.   #  endif
34.   # endif
35.   #endif
36.   
37.   /* Tile Files*/
38.   #define NETHACK_PLANAR_TILEFILE "@UPPER@1.tib"  /* Planar style tiles */
39.   #define NETHACK_PACKED_TILEFILE "@UPPER@2.tib"  /* Packed style tiles */
40.   #define NETHACK_OVERVIEW_TILEFILE "@UPPER@o.tib" /* thin overview tiles */
41.   
42.   /* Environment Options Name */
43.   #define NETHACK_ENV_OPTIONS "@UPPER@OPTIONS"

Also on Fandom

Random Wiki