About: Source:NetHack 3.1.0/qtext.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 qtext.h from the source code of NetHack 3.1.0. To link to a particular line, write [[NetHack 3.1.0/qtext.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.1.0/qtext.h
rdfs:comment
  • Below is the full text to qtext.h from the source code of NetHack 3.1.0. To link to a particular line, write [[NetHack 3.1.0/qtext.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 qtext.h from the source code of NetHack 3.1.0. To link to a particular line, write [[NetHack 3.1.0/qtext.h#line123]], for example. Warning! This is the source code from an old release. For the latest release, see Source code 1. /* SCCS Id: @(#)qtext.h 3.1 92/01/22 */ 2. /* Copyright (c) Mike Stephenson 1991. */ 3. /* NetHack may be freely redistributed. See license for details. */ 4. 5. #ifdef MULDGN 6. #ifndef QTEXT_H 7. #define QTEXT_H 8. 9. #define N_HDR 13 /* number of classes + 1 */ 10. #define COMMON_ID '-' /* common message id value */ 11. 12. struct qtmsg { 13. int msgnum; 14. char delivery; 15. long offset, 16. size; 17. }; 18. 19. #ifdef MAKEDEFS_C 20. 21. #define N_MSG 100 /* arbitrary */ 22. 23. struct msghdr { 24. int n_msg; 25. struct qtmsg qt_msg[N_MSG]; 26. }; 27. 28. struct qthdr { 29. int n_hdr; 30. char id[N_HDR]; 31. long offset[N_HDR]; 32. }; 33. 34. /* Error message macros */ 35. #define CREC_IN_MSG "Control record encountered during message - line %d " 36. #define DUP_MSG "Duplicate message number at line %d " 37. #define END_NOT_IN_MSG "End record encountered before message - line %d " 38. #define UNREC_CREC "Unrecognized Control record at line %d " 39. #define OUT_OF_HEADERS "Too many message types (line %d) Adjust N_HDR in qtext.h and recompile. " 40. #define OUT_OF_MESSAGES "Too many messages in class (line %d) Adjust N_MSG in qtext.h and recompile. " 41. 42. #else /* !MAKEDEFS_C */ 43. 44. struct qtlists { 45. struct qtmsg *common, 46. *chclass; 47. }; 48. 49. 50. /* 51. * Quest message defines. Used in quest.c to trigger off "realistic" 52. * dialogue to the player. 53. */ 54. #define QT_FIRSTTIME 1 55. #define QT_NEXTTIME 2 56. #define QT_OTHERTIME 3 57. 58. #define QT_GUARDTALK 5 /* 5 random things for guards to say */ 59. 60. #define QT_FIRSTLEADER 10 61. #define QT_NEXTLEADER 11 62. #define QT_OTHERLEADER 12 63. #define QT_LASTLEADER 13 64. #define QT_BADLEVEL 14 65. #define QT_BADALIGN 15 66. #define QT_ASSIGNQUEST 16 67. 68. #define QT_ENCOURAGE 20 /* 1-10 random encouragement messages */ 69. 70. #define QT_FIRSTLOCATE 30 71. #define QT_NEXTLOCATE 31 72. 73. #define QT_FIRSTGOAL 40 74. #define QT_NEXTGOAL 41 75. 76. #define QT_FIRSTNEMESIS 50 77. #define QT_NEXTNEMESIS 51 78. #define QT_OTHERNEMESIS 52 79. #define QT_NEMWANTSIT 53 /* you somehow got the artifact */ 80. 81. #define QT_DISCOURAGE 60 /* 1-10 random maledictive messages */ 82. 83. #define QT_GOTIT 70 84. 85. #define QT_KILLEDNEM 80 86. #define QT_OFFEREDIT 81 87. 88. #define QT_POSTHANKS 90 89. #define QT_HASAMULET 91 90. 91. /* 92. * Message defines for common text used in maledictions. 93. */ 94. #define QT_ANGELIC 10 95. #define QTN_ANGELIC 10 96. 97. #define QT_DEMONIC 30 98. #define QTN_DEMONIC 20 99. 100. #endif /* MAKEDEFS_C */ 101. 102. #endif /* QTEXT_H */ 103. #endif /* MULDGN */
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