Source:NetHack 5.0.0/include/sfmacros.h
Jump to navigation
Jump to search
Below is the full text to sfmacros.h from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/include/sfmacros.h#line12]], for example.
The NetHack General Public License applies to screenshots, source code and other content from NetHack.
This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.
1. /* NetHack 5.0 sfmacros.h $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */ 2. /* Copyright (c) Michael Allison, 2025. */ 3. /* NetHack may be freely redistributed. See license for details. */ 4. 5. /* This file is included by sfbase.c, sfstruct.c */ 6. 7. #if defined(SF_C) && defined(SF_A) 8. 9. SF_C(struct, arti_info) 10. SF_C(struct, nhrect) 11. SF_C(struct, branch) 12. SF_C(struct, bubble) 13. SF_C(struct, cemetery) 14. SF_C(struct, context_info) 15. SF_C(struct, nhcoord) 16. SF_C(struct, damage) 17. SF_C(struct, dest_area) 18. SF_C(struct, dgn_topology) 19. SF_C(struct, dungeon) 20. SF_C(struct, d_level) 21. SF_C(struct, ebones) 22. SF_C(struct, edog) 23. SF_C(struct, egd) 24. SF_C(struct, emin) 25. SF_C(struct, engr) 26. SF_C(struct, epri) 27. SF_C(struct, eshk) 28. SF_C(struct, fe) 29. SF_C(struct, flag) 30. SF_C(struct, fruit) 31. SF_C(struct, gamelog_line) 32. SF_C(struct, kinfo) 33. SF_C(struct, levelflags) 34. SF_C(struct, ls_t) 35. SF_C(struct, linfo) 36. SF_C(struct, mapseen_feat) 37. SF_C(struct, mapseen_flags) 38. SF_C(struct, mapseen_rooms) 39. SF_C(struct, mkroom) 40. SF_C(struct, monst) 41. SF_C(struct, mvitals) 42. SF_C(struct, obj) 43. SF_C(struct, objclass) 44. SF_C(struct, q_score) 45. SF_C(struct, rm) 46. SF_C(struct, spell) 47. SF_C(struct, stairway) 48. SF_C(struct, s_level) 49. SF_C(struct, trap) 50. SF_C(struct, you) 51. SF_C(union, any) 52. 53. SF_A(aligntyp) 54. SF_A(boolean) 55. SF_A(coordxy) 56. //SF_A(genericptr) 57. SF_A(int) 58. SF_A(int16) 59. SF_A(int32) 60. SF_A(int64) 61. SF_A(long) 62. SF_A(schar) 63. SF_A(short) 64. SF_A(size_t) 65. SF_A(time_t) 66. SF_A(uchar) 67. SF_A(uint16) 68. SF_A(uint32) 69. SF_A(uint64) 70. SF_A(ulong) 71. SF_A(unsigned) 72. SF_A(ushort) 73. SF_A(xint16) 74. SF_A(xint8) 75. 76. #else 77. 78. #error Non-productive inclusion of sfmacros.h 79. 80. #endif /* SF_C && SF_A */ 81.