2018-12-19 18:53:04 +00:00
|
|
|
/***
|
|
|
|
*
|
|
|
|
* Copyright (c) 2000-2019, Vera Visions. All rights reserved.
|
|
|
|
*
|
|
|
|
****/
|
2017-02-19 00:15:42 +00:00
|
|
|
|
2020-02-23 22:02:51 +00:00
|
|
|
/* branding defaults */
|
2017-02-19 00:15:42 +00:00
|
|
|
#define DISTRIBUTION "VTW"
|
|
|
|
#define DISTRIBUTIONLONG "Vera Visions"
|
|
|
|
#define FULLENGINENAME "The Wastes"
|
2018-06-21 13:14:53 +00:00
|
|
|
#define ENGINEWEBSITE "https://www.vera-visions.com/"
|
2017-02-19 00:15:42 +00:00
|
|
|
#define BRANDING_ICON "wastes.ico"
|
|
|
|
|
2018-12-19 18:53:04 +00:00
|
|
|
/* FS rebranding */
|
|
|
|
#define GAME_SHORTNAME "wastes"
|
|
|
|
#define GAME_FULLNAME FULLENGINENAME
|
2020-02-21 23:14:18 +00:00
|
|
|
#define GAME_BASEGAMES "logos","wastes"
|
2020-02-11 23:13:53 +00:00
|
|
|
#define GAME_PROTOCOL "The-Wastes"
|
2018-12-19 18:53:04 +00:00
|
|
|
#define GAME_DEFAULTPORT 23000
|
|
|
|
|
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 */
|
2017-02-19 00:15:42 +00:00
|
|
|
#define QUAKETC
|
2020-02-23 22:02:51 +00:00
|
|
|
#define NOBUILTINMENUS
|
|
|
|
#define NOLEGACY
|
|
|
|
|
|
|
|
/* 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 RTLIGHTS /* only way FTE does dlights on Q3BSP basically */
|
|
|
|
#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 */
|
|
|
|
|
|
|
|
/* uncompressed textures */
|
|
|
|
#define IMAGEFMT_BMP /* sprays */
|
|
|
|
#define IMAGEFMT_TGA /* disable for RELEASE? */
|
|
|
|
|
|
|
|
/* compressed textures */
|
2020-02-28 20:39:40 +00:00
|
|
|
#define IMAGEFMT_KTX
|
2018-08-02 20:08:37 +00:00
|
|
|
#define DECOMPRESS_ETC2
|
|
|
|
#define DECOMPRESS_RGTC
|
|
|
|
#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 */
|
|
|
|
#define AVAIL_OPENAL
|
|
|
|
#define AVAIL_OGGVORBIS
|
|
|
|
#define HAVE_OPUS
|
|
|
|
#define VOICECHAT
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
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 USE_INTERNAL_BULLET
|
2019-04-16 22:40:05 +00:00
|
|
|
#undef USE_INTERNAL_ODE
|
2018-12-19 18:53:04 +00:00
|
|
|
#undef PACKAGE_DOOMWAD
|
|
|
|
#undef PACKAGE_VPK
|
|
|
|
#undef DOOMWADS
|
|
|
|
#undef MAP_PROC
|
|
|
|
#undef Q2BSPS
|
|
|
|
#undef RFBSPS
|
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 */
|
|
|
|
#undef MVD_RECORDING /* server can record MVDs. */
|
|
|
|
#undef D3D9QUAKE /* MICROS~1 trash */
|
|
|
|
#undef D3D11QUAKE /* MICROS~1 trash */
|
|
|
|
#undef D3D8QUAKE /* MICROS~1 trash */
|
|
|
|
#undef AVAIL_WASAPI /* windows advanced sound api */
|
|
|
|
#undef AVAIL_DSOUND /* MICROS~1 trash */
|
|
|
|
#undef BOTLIB_STATIC /* q3 botlib */
|
|
|
|
#undef AVAIL_XZDEC /* .xz decompression */
|
|
|
|
#undef HAVE_SPEEX /* .xz decompression */
|
|
|
|
#undef AVAIL_GZDEC /* .gz decompression */
|
|
|
|
#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 IMAGEFMT_VTF
|
|
|
|
#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 */
|
|
|
|
#undef QUAKESTATS /* defines STAT_HEALTH etc. if omitted, you'll need to provide that functionality yourself */
|
|
|
|
#undef QUAKEHUD /* support for drawing the vanilla hud */
|
|
|
|
#undef QWSKINS /* disabling this means no qw .pcx skins nor enemy/team skin/colour forcing */
|
|
|
|
#undef SVRANKING /* legacy server-side ranking system */
|
|
|
|
#undef USERBE /* required for physics */
|
|
|
|
#undef RAGDOLL /* ragdoll support. requires RBE support */
|
|
|
|
#undef HUFFNETWORK /* crappy network compression. probably needs reseeding */
|
|
|
|
#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 */
|
|
|
|
#undef HEXEN2 /* runs hexen2 gamecode, supports hexen2 file formats */
|
|
|
|
#undef NQPROT /* act as an nq client/server, with nq gamecode */
|
|
|
|
#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 HAVE_MIXER /* OpenAL only */
|
|
|
|
#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 */
|
|
|
|
#undef HAVE_MEDIA_DECODER /* can play cin/roq, more with plugins */
|
|
|
|
#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 HAVE_OPENSSL /* incomplete */
|
|
|
|
#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
|
|
|
|
#undef IPLOG
|
|
|
|
#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
|
|
|
|
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
|