mirror of
https://github.com/id-Software/DOOM-iOS.git
synced 2025-02-24 04:11:39 +00:00
112 lines
2.3 KiB
C
112 lines
2.3 KiB
C
/**/
|
|
#define PACKAGE "prboom"
|
|
#define VERSION "2.5.0"
|
|
|
|
#ifdef DEBUG
|
|
|
|
/* Define to enable internal range checking */
|
|
#define RANGECHECK 1
|
|
|
|
/* Define this to see real-time memory allocation
|
|
* statistics, and enable extra debugging features
|
|
*/
|
|
#define INSTRUMENTED 1
|
|
|
|
/* Uncomment this to exhaustively run memory checks
|
|
* while the game is running (this is EXTREMELY slow).
|
|
* Only useful if INSTRUMENTED is also defined.
|
|
*/
|
|
#define CHECKHEAP 1
|
|
|
|
/* Uncomment this to cause heap dumps to be generated.
|
|
* Only useful if INSTRUMENTED is also defined.
|
|
*/
|
|
#define HEAPDUMP 1
|
|
|
|
/* Uncomment this to perform id checks on zone blocks,
|
|
* to detect corrupted and illegally freed blocks
|
|
*/
|
|
#define ZONEIDCHECK 1
|
|
|
|
/* CPhipps - some debugging macros for the new wad lump handling code */
|
|
/* Defining this causes quick checks which only impose an overhead if a
|
|
* posible error is detected. */
|
|
#define SIMPLECHECKS 1
|
|
|
|
/* Defining this causes time stamps to be created each time a lump is locked, and
|
|
* lumps locked for long periods of time are reported */
|
|
#define TIMEDIAG 1
|
|
|
|
#endif // DEBUG
|
|
|
|
#define DOGS 1
|
|
#define MONITOR_VISIBILITY 1
|
|
/*#define DISABLE_LUMP_CACHING*/
|
|
|
|
/**/
|
|
#define USE_SDL 1
|
|
/*#define HAVE_MIXER 1*/
|
|
#define HAVE_NET 1
|
|
#define USE_SDL_NET 1
|
|
|
|
/**/
|
|
#define HIGHRES 1
|
|
#define GL_DOOM 1
|
|
#define USE_GLU_TESS 1
|
|
#define USE_GLU_IMAGESCALE 1
|
|
#define USE_GLU_MIPMAP 1
|
|
#define DISABLE_DOUBLEBUFFER
|
|
|
|
/**/
|
|
#define STDC_HEADERS 1
|
|
|
|
#define stricmp strcasecmp
|
|
#define strnicmp strncasecmp
|
|
|
|
#define HAVE_INET_ATON 1
|
|
#define HAVE_INET_NTOP 1
|
|
#define HAVE_INET_PTON 1
|
|
#define HAVE_SETSOCKOPT 1
|
|
|
|
#define HAVE_SNPRINTF 1
|
|
#define HAVE_VSNPRINTF 1
|
|
|
|
#define HAVE_MKSTEMPS 1
|
|
|
|
#define HAVE_IPv6 1
|
|
|
|
#define HAVE_UNISTD_H
|
|
#define HAVE_SYS_WAIT_H
|
|
#define HAVE_GETOPT
|
|
/* causes a duplicate define warning
|
|
#define HAVE_NETINET_IN_H
|
|
*/
|
|
#define SYS_SIGLIST_DECLARED
|
|
|
|
/**/
|
|
#ifdef __BIG_ENDIAN__
|
|
#define WORDS_BIGENDIAN
|
|
#endif
|
|
|
|
#ifdef __i386__
|
|
#define I386_ASM 1
|
|
#endif
|
|
|
|
#define PACKEDATTR __attribute__((packed))
|
|
|
|
#define MACOSX
|
|
#define HAVE_LIBKERN_OSBYTEORDER_H
|
|
#define HAVE_OWN_MUSIC
|
|
#define UPDATE_MUSIC
|
|
#define SCREENSHOT_DIR I_DoomExeDir()
|
|
#define HEAPDUMP_DIR I_DoomExeDir()
|
|
|
|
|
|
//------ JDC config changes for iPhone ------------
|
|
#undef I386_ASM
|
|
#undef USE_SDL
|
|
#undef USE_SDL_NET
|
|
#undef HAVE_NET
|
|
#undef DOGS // not sure why this needs to be removed, info.c complains
|
|
#undef USE_GLU_IMAGESCALE
|
|
#undef USE_GLU_MIPMAP
|