doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Licensee.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 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.
23 
24 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.
25 
26 ===========================================================================
27 */
28 
29 /*
30 ===============================================================================
31 
32  Definitions for information that is related to a licensee's game name and location.
33 
34 ===============================================================================
35 */
36 
37 #define GAME_NAME "DOOM 3" // appears on window titles and errors
38 
39 #define ENGINE_VERSION "DOOM 1.3.1" // printed in console
40 
41 // paths
42 #define CD_BASEDIR "Doom"
43 #ifdef ID_DEMO_BUILD
44  #define BASE_GAMEDIR "demo"
45 #else
46  #define BASE_GAMEDIR "base"
47 #endif
48 
49 // filenames
50 #define CD_EXE "doom.exe"
51 #define CONFIG_FILE "DoomConfig.cfg"
52 
53 // base folder where the source code lives
54 #define SOURCE_CODE_BASE_FOLDER "neo"
55 
56 
57 // default idnet host address
58 #ifndef IDNET_HOST
59  #define IDNET_HOST "idnet.ua-corp.com"
60 #endif
61 
62 // default idnet master port
63 #ifndef IDNET_MASTER_PORT
64  #define IDNET_MASTER_PORT "27650"
65 #endif
66 
67 // default network server port
68 #ifndef PORT_SERVER
69  #define PORT_SERVER 27666
70 #endif
71 
72 // broadcast scan this many ports after PORT_SERVER so a single machine can run multiple servers
73 #define NUM_SERVER_PORTS 4
74 
75 // see ASYNC_PROTOCOL_VERSION
76 // use a different major for each game
77 #define ASYNC_PROTOCOL_MAJOR 1
78 
79 // Savegame Version
80 // Update when you can no longer maintain compatibility with previous savegames
81 // NOTE: a seperate core savegame version and game savegame version could be useful
82 // 16: Doom v1.1
83 // 17: Doom v1.2 / D3XP. Can still read old v16 with defaults for new data
84 #define SAVEGAME_VERSION 17
85 
86 // <= Doom v1.1: 1. no DS_VERSION token ( default )
87 // Doom v1.2: 2
88 #define RENDERDEMO_VERSION 2
89 
90 // editor info
91 #define EDITOR_DEFAULT_PROJECT "doom.qe4"
92 #define EDITOR_REGISTRY_KEY "DOOMRadiant"
93 #define EDITOR_WINDOWTEXT "DOOMEdit"
94 
95 // win32 info
96 #define WIN32_CONSOLE_CLASS "DOOM 3 WinConsole"
97 #define WIN32_WINDOW_CLASS_NAME "DOOM3"
98 #define WIN32_FAKE_WINDOW_CLASS_NAME "DOOM3_WGL_FAKE"
99 
100 // Linux info
101 #ifdef ID_DEMO_BUILD
102  #define LINUX_DEFAULT_PATH "/usr/local/games/doom3-demo"
103 #else
104  #define LINUX_DEFAULT_PATH "/usr/local/games/doom3"
105 #endif
106 
107 // CD Key file info
108 // goes into BASE_GAMEDIR whatever the fs_game is set to
109 // two distinct files for easier win32 installer job
110 #define CDKEY_FILE "doomkey"
111 #define XPKEY_FILE "xpkey"
112 #define CDKEY_TEXT "\n// Do not give this file to ANYONE.\n" \
113  "// id Software or Zenimax will NEVER ask you to send this file to them.\n"
114 
115 #define CONFIG_SPEC "config.spec"