Licensee.h 3.9 KB

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