config.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /**/
  2. #define PACKAGE "prboom"
  3. #define VERSION "2.5.0"
  4. #ifdef DEBUG
  5. /* Define to enable internal range checking */
  6. #define RANGECHECK 1
  7. /* Define this to see real-time memory allocation
  8. * statistics, and enable extra debugging features
  9. */
  10. #define INSTRUMENTED 1
  11. /* Uncomment this to exhaustively run memory checks
  12. * while the game is running (this is EXTREMELY slow).
  13. * Only useful if INSTRUMENTED is also defined.
  14. */
  15. #define CHECKHEAP 1
  16. /* Uncomment this to cause heap dumps to be generated.
  17. * Only useful if INSTRUMENTED is also defined.
  18. */
  19. #define HEAPDUMP 1
  20. /* Uncomment this to perform id checks on zone blocks,
  21. * to detect corrupted and illegally freed blocks
  22. */
  23. #define ZONEIDCHECK 1
  24. /* CPhipps - some debugging macros for the new wad lump handling code */
  25. /* Defining this causes quick checks which only impose an overhead if a
  26. * posible error is detected. */
  27. #define SIMPLECHECKS 1
  28. /* Defining this causes time stamps to be created each time a lump is locked, and
  29. * lumps locked for long periods of time are reported */
  30. #define TIMEDIAG 1
  31. #endif // DEBUG
  32. #define DOGS 1
  33. #define MONITOR_VISIBILITY 1
  34. /*#define DISABLE_LUMP_CACHING*/
  35. /**/
  36. #define USE_SDL 1
  37. #define HAVE_LIBSDL_MIXER 1
  38. #define HAVE_NET 1
  39. #define USE_SDL_NET 1
  40. /**/
  41. #define HIGHRES 1
  42. #define GL_DOOM 1
  43. #define USE_GLU_TESS 1
  44. #define USE_GLU_IMAGESCALE 1
  45. #define USE_GLU_MIPMAP 1
  46. #define DISABLE_DOUBLEBUFFER
  47. /**/
  48. #define STDC_HEADERS 1
  49. #define stricmp strcasecmp
  50. #define strnicmp strncasecmp
  51. #define HAVE_INET_ATON 1
  52. #define HAVE_INET_NTOP 1
  53. #define HAVE_INET_PTON 1
  54. #define HAVE_SETSOCKOPT 1
  55. #define HAVE_SNPRINTF 1
  56. #define HAVE_VSNPRINTF 1
  57. #define HAVE_MKSTEMPS 1
  58. #define HAVE_IPv6 1
  59. #define HAVE_UNISTD_H
  60. #define HAVE_SYS_WAIT_H
  61. #define HAVE_GETOPT
  62. /* causes a duplicate define warning
  63. #define HAVE_NETINET_IN_H
  64. */
  65. #define SYS_SIGLIST_DECLARED
  66. /**/
  67. #ifdef __BIG_ENDIAN__
  68. #define WORDS_BIGENDIAN
  69. #endif
  70. #ifdef __i386__
  71. #define I386_ASM 1
  72. #endif
  73. #define PACKEDATTR __attribute__((packed))
  74. #define MACOSX
  75. #define HAVE_LIBKERN_OSBYTEORDER_H
  76. //------ JDC config changes for iPhone ------------
  77. #undef I386_ASM
  78. #undef USE_SDL
  79. #undef USE_SDL_NET
  80. #undef HAVE_NET
  81. #undef DOGS // not sure why this needs to be removed, info.c complains
  82. #undef USE_GLU_IMAGESCALE
  83. #undef USE_GLU_MIPMAP