2011-11-22 21:28:15 +00:00
|
|
|
/*
|
|
|
|
===========================================================================
|
|
|
|
|
|
|
|
Doom 3 GPL Source Code
|
2011-12-06 18:20:15 +00:00
|
|
|
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
|
2011-11-22 21:28:15 +00:00
|
|
|
|
2011-12-06 16:14:59 +00:00
|
|
|
This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code").
|
2011-11-22 21:28:15 +00:00
|
|
|
|
|
|
|
Doom 3 Source Code is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Doom 3 Source Code is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
|
|
|
|
|
|
|
|
If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
|
|
|
|
|
|
|
|
===========================================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
===============================================================================
|
|
|
|
|
|
|
|
Definitions for information that is related to a licensee's game name and location.
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
*/
|
|
|
|
|
2015-06-20 19:30:46 +00:00
|
|
|
#if defined(__AROS__)
|
|
|
|
#define GAME_NAME "ADoom3" // appears on window titles and errors
|
|
|
|
#define CONFIG_FILE "adoom3.cfg"
|
|
|
|
#else
|
2012-01-14 17:38:44 +00:00
|
|
|
#define GAME_NAME "dhewm 3" // appears on window titles and errors
|
2015-06-20 19:30:46 +00:00
|
|
|
#endif
|
2011-11-22 21:28:15 +00:00
|
|
|
|
2021-03-14 02:43:43 +00:00
|
|
|
#define ENGINE_VERSION "dhewm3 1.5.1" // printed in console
|
2018-09-03 02:11:46 +00:00
|
|
|
|
2020-07-12 23:33:40 +00:00
|
|
|
#ifdef ID_REPRODUCIBLE_BUILD
|
|
|
|
// for reproducible builds we hardcode values that would otherwise come from __DATE__ and __TIME__
|
|
|
|
// NOTE: remember to update esp. the date for (pre-) releases and RCs and the like
|
2021-03-14 02:43:43 +00:00
|
|
|
#define ID__DATE__ "Mar 13 2021"
|
2020-07-12 23:33:40 +00:00
|
|
|
#define ID__TIME__ "13:37:42"
|
|
|
|
|
|
|
|
#else // not reproducible build, use __DATE__ and __TIME__ macros
|
|
|
|
#define ID__DATE__ __DATE__
|
|
|
|
#define ID__TIME__ __TIME__
|
|
|
|
#endif
|
|
|
|
|
2011-11-22 21:28:15 +00:00
|
|
|
// paths
|
2012-07-01 22:02:40 +00:00
|
|
|
#define BASE_GAMEDIR "base"
|
2011-11-22 21:28:15 +00:00
|
|
|
|
|
|
|
// filenames
|
2015-06-20 19:30:46 +00:00
|
|
|
#ifndef CONFIG_FILE
|
2012-01-14 17:38:44 +00:00
|
|
|
#define CONFIG_FILE "dhewm.cfg"
|
2015-06-20 19:30:46 +00:00
|
|
|
#endif
|
2011-11-22 21:28:15 +00:00
|
|
|
|
|
|
|
// base folder where the source code lives
|
|
|
|
#define SOURCE_CODE_BASE_FOLDER "neo"
|
|
|
|
|
|
|
|
|
|
|
|
// default idnet host address
|
|
|
|
#ifndef IDNET_HOST
|
|
|
|
#define IDNET_HOST "idnet.ua-corp.com"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// default idnet master port
|
|
|
|
#ifndef IDNET_MASTER_PORT
|
|
|
|
#define IDNET_MASTER_PORT "27650"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// default network server port
|
|
|
|
#ifndef PORT_SERVER
|
|
|
|
#define PORT_SERVER 27666
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// broadcast scan this many ports after PORT_SERVER so a single machine can run multiple servers
|
|
|
|
#define NUM_SERVER_PORTS 4
|
|
|
|
|
|
|
|
// see ASYNC_PROTOCOL_VERSION
|
|
|
|
// use a different major for each game
|
|
|
|
#define ASYNC_PROTOCOL_MAJOR 1
|
|
|
|
|
|
|
|
// Savegame Version
|
|
|
|
// Update when you can no longer maintain compatibility with previous savegames
|
|
|
|
// NOTE: a seperate core savegame version and game savegame version could be useful
|
|
|
|
// 16: Doom v1.1
|
|
|
|
// 17: Doom v1.2 / D3XP. Can still read old v16 with defaults for new data
|
|
|
|
#define SAVEGAME_VERSION 17
|
|
|
|
|
|
|
|
// <= Doom v1.1: 1. no DS_VERSION token ( default )
|
|
|
|
// Doom v1.2: 2
|
|
|
|
#define RENDERDEMO_VERSION 2
|
|
|
|
|
|
|
|
// editor info
|
|
|
|
#define EDITOR_DEFAULT_PROJECT "doom.qe4"
|
|
|
|
#define EDITOR_REGISTRY_KEY "DOOMRadiant"
|
|
|
|
#define EDITOR_WINDOWTEXT "DOOMEdit"
|
|
|
|
|
|
|
|
// win32 info
|
2012-01-14 17:38:44 +00:00
|
|
|
#define WIN32_CONSOLE_CLASS "dhewm 3 WinConsole"
|
2011-11-22 21:28:15 +00:00
|
|
|
|
|
|
|
// Linux info
|
2018-12-09 03:12:22 +00:00
|
|
|
#ifndef LINUX_DEFAULT_PATH // allow overriding it from the build system with -DLINUX_DEFAULT_PATH="/bla/foo/whatever"
|
2012-07-03 18:34:11 +00:00
|
|
|
#define LINUX_DEFAULT_PATH "/usr/local/games/doom3"
|
2018-12-09 03:12:22 +00:00
|
|
|
#endif
|
2011-11-22 21:28:15 +00:00
|
|
|
|
|
|
|
// CD Key file info
|
|
|
|
// goes into BASE_GAMEDIR whatever the fs_game is set to
|
|
|
|
// two distinct files for easier win32 installer job
|
|
|
|
#define CDKEY_FILE "doomkey"
|
|
|
|
#define XPKEY_FILE "xpkey"
|
|
|
|
#define CDKEY_TEXT "\n// Do not give this file to ANYONE.\n" \
|
|
|
|
"// id Software or Zenimax will NEVER ask you to send this file to them.\n"
|
|
|
|
|
|
|
|
#define CONFIG_SPEC "config.spec"
|