2018-12-19 18:53:04 +00:00
/***
*
2022-04-23 20:10:18 +00:00
* Copyright ( c ) 2000 - 2022 , Vera Visions . All rights reserved .
2018-12-19 18:53:04 +00:00
*
* * * */
2017-02-19 00:15:42 +00:00
2022-04-23 20:10:18 +00:00
# ifndef DEMO
# define FULLENGINENAME "The Wastes"
# define GAME_SHORTNAME "TW"
# define GAME_BASEGAMES "platform","wastes"
# define GAME_PROTOCOL "The-Wastes"
# else
# define FULLENGINENAME "The Wastes Demo"
# define GAME_SHORTNAME "TWDemo"
# define GAME_BASEGAMES "platform","demotw"
# define GAME_PROTOCOL "TW-Demo"
# endif
# define BRANDING_ICON "wastes.ico"
2017-02-19 00:15:42 +00:00
# define DISTRIBUTION "VTW"
# define DISTRIBUTIONLONG "Vera Visions"
2018-12-19 18:53:04 +00:00
# define GAME_FULLNAME FULLENGINENAME
# define GAME_DEFAULTPORT 23000
2022-04-23 20:10:18 +00:00
# define ENGINEWEBSITE "https: //www.vera-visions.com/"
2018-12-19 18:53:04 +00:00
2018-08-02 20:08:37 +00:00
# ifndef GLQUAKE
# define GLQUAKE
# endif
2020-02-23 22:02:51 +00:00
/*
2018-08-02 20:08:37 +00:00
# ifndef VKQUAKE
# define VKQUAKE
2018-01-23 03:00:45 +00:00
# endif
2020-02-23 22:02:51 +00:00
*/
# undef VKQUAKE /* not yet, needs more testing */
2018-08-02 20:08:37 +00:00
2020-02-23 22:02:51 +00:00
/* disable quake specific hacks and overrides */
2022-06-23 18:08:31 +00:00
# undef QUAKETC
2020-02-23 22:02:51 +00:00
# define NOBUILTINMENUS
2022-06-23 18:08:31 +00:00
# undef NOLEGACY
2020-02-23 22:02:51 +00:00
/* engine behaviour */
# define PLUGINS /* enables fteplug_ files */
# define AVAIL_ZLIB /* we need this for pk3 and ogg vorbis */
# define CL_MASTER /* allows for serverbrowser builtins */
# define CSQC_DAT /* clientside qcvm */
# define MENU_DAT /* persistent qcvm */
# define PSET_SCRIPT /* scripts defining particles */
# define LOADERTHREAD /* multithreading related */
# define USEAREAGRID /* leave it on, improves performance */
# define AVAIL_DINPUT /* input for Windows */
# define AVAIL_FREETYPE /* for truetype font rendering */
# define AVAIL_STBI /* avoid libpng/libjpeg dependancies */
# define ENGINE_ROUTING /* engine-side, fast routing */
2022-04-23 20:10:18 +00:00
# ifndef LEGACY_GPU
# define RTLIGHTS
# else
# undef RTLIGHTS
# endif
# undef D3D9QUAKE /* MICROS~1 trash */
# undef D3D11QUAKE /* MICROS~1 trash */
# undef D3D8QUAKE /* MICROS~1 trash */
2020-02-23 22:02:51 +00:00
/* uncompressed textures */
# define IMAGEFMT_BMP /* sprays */
2022-04-16 18:59:50 +00:00
# define IMAGEFMT_TGA
2020-02-23 22:02:51 +00:00
/* compressed textures */
2020-02-28 20:39:40 +00:00
# define IMAGEFMT_KTX
2018-08-02 20:08:37 +00:00
# define DECOMPRESS_ETC2
2022-04-16 18:59:50 +00:00
# define DECOMPRESS_RGTC
2022-04-23 20:10:18 +00:00
# define DECOMPRESS_S3TC
2020-02-23 22:02:51 +00:00
/* To be able to comm with Frag-Net.com */
2018-12-19 18:53:04 +00:00
# define HAVE_PACKET
# define SUPPORT_ICE
2020-02-23 22:02:51 +00:00
# define HAVE_TCP
# define HAVE_GNUTLS /* linux tls/dtls support */
# define HAVE_WINSSPI /* windows tls/dtls support */
2020-02-28 20:39:40 +00:00
# define WEBCLIENT /* uri_get+any internal downloads etc */
2018-12-19 18:53:04 +00:00
# ifndef MULTITHREAD
# define MULTITHREAD
# endif
2018-11-10 09:42:01 +00:00
2017-02-19 00:15:42 +00:00
# ifndef DEBUG
2020-02-23 22:02:51 +00:00
/* if 2, disables writing fteextensions.qc completely. */
# define NOQCDESCRIPTIONS 2
2017-02-19 00:15:42 +00:00
# endif
2020-02-23 22:02:51 +00:00
/* various package formats */
2017-02-21 20:22:07 +00:00
# define PACKAGE_PK3
2018-12-19 18:53:04 +00:00
# define PACKAGE_TEXWAD
# define PACKAGE_Q1PAK
2017-02-21 20:22:07 +00:00
2020-02-23 22:02:51 +00:00
/* level formats */
2018-12-19 18:53:04 +00:00
# define Q3BSPS
# define Q1BSPS
2018-11-20 01:04:32 +00:00
# define TERRAIN
2017-02-19 00:15:42 +00:00
2020-02-23 22:02:51 +00:00
/* audio */
2022-06-23 18:08:31 +00:00
# define AVAIL_DSOUND
2022-05-27 18:33:48 +00:00
# undef AVAIL_OPENAL
2020-02-23 22:02:51 +00:00
# define AVAIL_OGGVORBIS
# define HAVE_OPUS
# define VOICECHAT
2022-06-23 18:08:31 +00:00
/* todo: make OpenAL only */
# define HAVE_MIXER
2020-02-23 22:02:51 +00:00
/* Model formats, IQM/VVM and HLMDL for legacy maps */
2017-02-19 00:15:42 +00:00
# define INTERQUAKEMODELS
2018-12-19 18:53:04 +00:00
# define HALFLIFEMODELS
2022-04-23 20:10:18 +00:00
/* physics */
# undef USE_INTERNAL_ODE
# undef USE_INTERNAL_BULLET
# undef USERBE
# undef RAGDOLL
2020-02-23 22:02:51 +00:00
/* we don't need any of these */
# undef IMAGEFMT_PCX
2018-12-19 18:53:04 +00:00
# undef PACKAGE_DOOMWAD
# undef DOOMWADS
# undef MAP_PROC
# undef Q2BSPS
2020-03-20 11:37:18 +00:00
# define RFBSPS
2021-11-10 01:35:55 +00:00
# define VERTEXINDEXBYTES 2 //16bit indexes work everywhere but may break some file types, 32bit indexes are optional in gles<=2 and d3d<=9 and take more memory/copying but allow for bigger batches/models. Plugins need to be compiled the same way so this is no longer set per-renderer.
2017-02-19 00:15:42 +00:00
# undef SPRMODELS
# undef SP2MODELS
2018-03-24 04:02:09 +00:00
# undef DSPMODELS
2017-02-19 00:15:42 +00:00
# undef MD1MODELS
# undef MD2MODELS
# undef MD3MODELS
# undef MD5MODELS
# undef ZYMOTICMODELS
# undef DPMMODELS
# undef PSKMODELS
2020-02-23 22:02:51 +00:00
# undef MENU_NATIVECODE /* native menu replacing menuQC */
2022-06-23 18:08:31 +00:00
# define MVD_RECORDING /* server can record MVDs. */
2022-04-23 20:10:18 +00:00
# undef AVAIL_WASAPI /* windows advanced sound api */
2022-05-27 18:33:48 +00:00
//#undef AVAIL_DSOUND /* MICROS~1 trash */
2020-02-23 22:02:51 +00:00
# undef BOTLIB_STATIC /* q3 botlib */
# undef AVAIL_XZDEC /* .xz decompression */
# undef HAVE_SPEEX /* .xz decompression */
2022-06-23 18:08:31 +00:00
# define AVAIL_GZDEC /* .gz decompression */
2020-02-23 22:02:51 +00:00
# undef PACKAGE_DZIP /* .dzip special-case archive support */
# undef AVAIL_PNGLIB /* .png image format support (read+screenshots) */
# undef AVAIL_JPEGLIB /* .jpeg image format support (read+screenshots) */
# undef AVAIL_MP3_ACM /* .mp3 support (in windows). */
2020-02-28 20:39:40 +00:00
# undef IMAGEFMT_DDS
2018-03-24 04:02:09 +00:00
# undef IMAGEFMT_PKM
2020-02-23 22:02:51 +00:00
# undef IMAGEFMT_BLP
# undef NETPREPARSE /* allows for running both nq+qw on the same server (if not, protocol used must match gamecode) */
# undef USE_SQLITE /* sql-database-as-file support */
2022-06-23 18:08:31 +00:00
# define QUAKESTATS /* defines STAT_HEALTH etc. if omitted, you'll need to provide that functionality yourself */
# define QUAKEHUD /* support for drawing the vanilla hud */
# define QWSKINS /* disabling this means no qw .pcx skins nor enemy/team skin/colour forcing */
2020-02-23 22:02:51 +00:00
# undef SVRANKING /* legacy server-side ranking system */
2022-04-16 18:59:50 +00:00
# define HUFFNETWORK /* crappy network compression. probably needs reseeding */
2020-02-23 22:02:51 +00:00
# undef SVCHAT /* ancient lame builtin to support NPC-style chat.. */
# undef VM_Q1 /* q1qvm implementation, to support ktx */
# undef Q2SERVER /* q2 server+gamecode */
# undef Q2CLIENT /* q2 client. file formats enabled separately */
# undef Q3CLIENT /* q3 client stuff */
# undef Q3SERVER /* q3 server stuff */
2022-06-23 18:08:31 +00:00
# define HEXEN2 /* runs hexen2 gamecode, supports hexen2 file formats */
# define NQPROT /* act as an nq client/server, with nq gamecode */
2020-02-23 22:02:51 +00:00
# undef WEBSERVER /* sv_ftp + sv_http cvars */
# undef RUNTIMELIGHTING /* automatic generation of .lit files */
# undef R_XFLIP /* old silly thing */
# undef TEXTEDITOR /* because emacs */
# undef TCPCONNECT /* support for playing over tcp sockets, instead of just udp. compatible with qizmo */
# undef IRCCONNECT /* lame support for routing game packets via irc server. not a good idea */
# undef PSET_CLASSIC /* support the 'classic' particle system, for that classic quake feel */
# undef HAVE_CDPLAYER /* Redbook CD Audio */
# undef QTERM
2018-03-24 04:02:09 +00:00
# undef SIDEVIEWS
2018-03-25 09:36:14 +00:00
# undef MAX_SPLITS
2020-02-23 22:02:51 +00:00
# undef SUBSERVERS /* multi-map */
# undef VM_LUA /* lua game-logic */
# undef HLCLIENT /* regressed, unfinished*/
# undef HLSERVER /* regressed, unfinished */
2018-03-24 04:02:09 +00:00
# undef FTPSERVER
2020-02-23 22:02:51 +00:00
# undef HAVE_JUKEBO /* includes built-in jukebox */
2022-04-23 20:10:18 +00:00
# define HAVE_MEDIA_DECODER /* can play cin/roq, more with plugins */
2020-02-23 22:02:51 +00:00
# undef HAVE_MEDIA_ENCODER /* capture/capturedemo work */
# undef HAVE_SPEECHTOTEXT /* Windows speech-to-text thing */
# undef SAVEDGAMES
# undef PACKAGEMANAGER /* enable/disable/download packages and plugins */
2018-11-10 09:42:01 +00:00
# undef HEADLESSQUAKE
# undef WAYLANDQUAKE
2020-02-23 22:02:51 +00:00
# undef SERVER_DEMO_PLAYBACK /* deprecated */
# undef DECOMPRESS_BPTC
# undef IMAGEFMT_HDR
# undef IMAGEFMT_PBM
# undef IMAGEFMT_PSD
# undef IMAGEFMT_XCF
# undef IMAGEFMT_LMP
# undef IMAGEFMT_PNG
# undef IMAGEFMT_JPG
# undef IMAGEFMT_GIF
# undef IMAGEFMT_EXR
2022-06-23 18:08:31 +00:00
# define IPLOG
2020-02-23 22:02:51 +00:00
# undef AVAIL_BOTLIB
# undef AVAIL_BZLIB
# undef DECOMPRESS_ASTC
# undef IMAGEFMT_ASTC
# undef HAVE_HTTPSV
# undef MODELFMT_MDX
# undef MODELFMT_OBJ
# undef MODELFMT_GLTF
2019-04-16 22:40:05 +00:00
2017-02-19 00:15:42 +00:00
# ifdef COMPILE_OPTS
2020-02-23 22:02:51 +00:00
/* things to configure qclib, which annoyingly doesn't include this
* file itself */
- DOMIT_QCC /* disable the built-in qcc */
- DSIMPLE_QCVM /* disable qc debugging and 32bit opcodes */
2017-02-19 00:15:42 +00:00
# ifndef AVAIL_ZLIB
2020-02-23 22:02:51 +00:00
- DNO_ZLIB /* disable zlib */
2017-02-19 00:15:42 +00:00
# endif
2019-09-29 03:27:24 +00:00
# ifdef AVAIL_PNGLIB
- DLINK_PNG
# endif
# ifdef AVAIL_JPEGLIB
- DLINK_JPEG
# endif
2020-02-20 21:19:41 +00:00
# ifdef AVAIL_FREETYPE
- DLINK_FREETYPE
# endif
2017-02-19 00:15:42 +00:00
2020-02-23 22:02:51 +00:00
/* makefile will respond to this by trying to link bullet into the
* engine itself , instead of as a plugin . */
# ifdef USE_INTERNAL_BULLET
2018-07-05 16:21:44 +00:00
- DLINK_INTERNAL_BULLET
# endif
2017-02-19 00:15:42 +00:00
2022-04-23 20:10:18 +00:00
# ifdef USE_INTERNAL_ODE
- DODE_STATIC
# endif
2020-02-23 22:02:51 +00:00
/* disable static speex */
# ifdef HAVE_SPEEX
- DNO_SPEEX
# endif
/* disable static botlib */
2018-06-05 23:55:32 +00:00
# ifndef BOTLIB_STATIC
2020-02-23 22:02:51 +00:00
- DNO_BOTLIB
2017-02-19 00:15:42 +00:00
# endif
2018-11-10 09:42:01 +00:00
- DLIBVORBISFILE_STATIC
2020-02-23 22:02:51 +00:00
/* optimise for size instead of speed. less cpu cache needed means that
* its sometimes faster . */
- Os
2017-02-19 00:15:42 +00:00
# endif