PropertyValue
rdfs:label
  • Source:SLASH'EM 0.0.7E7F2/file.h
rdfs:comment
  • 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.
dcterms:subject
dbkwik:nethack/property/wikiPageUsesTemplate
abstract
  • 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. 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"