About: Source:NetHack 3.2.0/ntconf.h   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Below is the full text to ntconf.h from the source code of NetHack 3.2.0. To link to a particular line, write [[NetHack 3.2.0/ntconf.h#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code

AttributesValues
rdfs:label
  • Source:NetHack 3.2.0/ntconf.h
rdfs:comment
  • Below is the full text to ntconf.h from the source code of NetHack 3.2.0. To link to a particular line, write [[NetHack 3.2.0/ntconf.h#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code
dcterms:subject
dbkwik:nethack/pro...iPageUsesTemplate
abstract
  • Below is the full text to ntconf.h from the source code of NetHack 3.2.0. To link to a particular line, write [[NetHack 3.2.0/ntconf.h#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code 1. /* SCCS Id: @(#)ntconf.h 3.2 94/12/08 */ 2. /* Copyright (c) NetHack PC Development Team 1993, 1994. */ 3. /* NetHack may be freely redistributed. See license for details. */ 4. 5. #ifndef NTCONF_H 6. #define NTCONF_H 7. 8. /* #define SHELL /* nt use of pcsys routines caused a hang */ 9. 10. #define RANDOM /* have Berkeley random(3) */ 11. 12. #define TEXTCOLOR /* Color text */ 13. 14. #define PATHLEN 64 /* maximum pathlength */ 15. #define FILENAME 80 /* maximum filename length (conservative) */ 16. #define SHORT_FILENAMES 17. #define EXEPATH /* Allow .exe location to be used as HACKDIR */ 18. /* 19. * ----------------------------------------------------------------- 20. * The remaining code shouldn't need modification. 21. * ----------------------------------------------------------------- 22. */ 23. 24. #define MICRO /* always define this! */ 25. #define NO_TERMS 26. #define ASCIIGRAPH 27. 28. /* The following is needed for prototypes of certain functions */ 29. #if defined(_MSC_VER) 31. #endif 32. 33. #ifndef SYSTEM_H 34. #include "system.h" 35. #endif 36. #define index strchr 37. #define rindex strrchr 38. 39. #include 40. 41. #ifdef RANDOM 42. /* Use the high quality random number routines. */ 43. #define Rand() random() 44. #else 45. #define Rand() rand() 46. #endif 47. 48. #define FCMASK 0660 /* file creation mask */ 49. #define regularize nt_regularize 50. 51. #ifndef M 52. #define M(c) (0x80 | (c)) 53. /* #define M(c) ((c) - 128) */ 54. #endif 55. 56. #ifndef C 57. #define C(c) (0x1f & (c)) 58. #endif 59. 60. #if defined(DLB) 61. #define FILENAME_CMP stricmp /* case insensitive */ 62. #endif 63. 64. #ifdef MICRO 65. # ifndef MICRO_H 66. #include "micro.h" /* contains necessary externs for [os_name].c */ 67. # endif 68. #endif 69. 70. #include 71. #include 72. #include 73. #include 74. #undef kbhit /* Use our special NT kbhit */ 75. #define kbhit (*nt_kbhit) 76. 77. #ifndef alloca 78. #define ALLOCA_HACK /* used in util/panic.c */ 79. #endif 80. 81. #ifdef MICRO 82. #define exit msexit /* do chdir first */ 83. #endif 84. 85. #ifndef REDO 86. #undef Getchar 87. #define Getchar nhgetch 88. #endif 89. 90. #ifdef _MSC_VER 91. #pragma warning(disable:4018) /* signed/unsigned mismatch */ 92. #pragma warning(disable:4305) /* init, conv from 'const int' to 'char' */ 93. #endif 94. 95. #endif /* NTCONF_H */
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software