home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 March / Gamestar_82_2006-03_dvd.iso / DVDStar / Editace / quake4_sdkv10.exe / source / framework / licensee.h < prev    next >
C/C++ Source or Header  |  2005-11-14  |  4KB  |  111 lines

  1.  
  2. /*
  3. ===============================================================================
  4.  
  5.     Definitions for information that is related to a licensee's game name and location.
  6.  
  7. ===============================================================================
  8. */
  9.  
  10. // RAVEN BEGIN
  11. // rjohnson: this is the name of the game we are making
  12. #define GAME_NAME                        "Quake4"            // appears on window titles and errors
  13. #define GAME_ICON                        "q4icon.bmp"
  14.  
  15. // jnewquist: build type
  16. #if defined(_DEBUG)
  17. #define GAME_BUILD_TYPE                    "Debug"
  18. #elif defined(_MPBETA)
  19. #define GAME_BUILD_TYPE                    "MPBeta"
  20. #elif defined(_FINAL)
  21. #define GAME_BUILD_TYPE                    "Final"
  22. #elif defined(_RELEASE)
  23. #define    GAME_BUILD_TYPE                    "Release"
  24. #endif
  25.  
  26. // paths
  27. #define    CD_BASEDIR                        "Quake4"
  28. #define    BASE_GAMEDIR                    "q4base"
  29. #define    DEMO_GAMEDIR                    "demo"
  30.  
  31. // filenames
  32. #define    CD_EXE                            "Quake4.exe"
  33.  
  34. #ifdef _XENON
  35. #define CONFIG_FILE                        "save:/Quake4Config.cfg"
  36. #else
  37. #define CONFIG_FILE                        "Quake4Config.cfg"
  38. #endif
  39.  
  40. // base folder where the source code lives
  41. #define SOURCE_CODE_BASE_FOLDER            "code"
  42.  
  43. #define DEVELOPER_DOMAIN                "ravensoft.com"
  44. // RAVEN END
  45.  
  46.  
  47. // RAVEN BEGIN
  48. // rjohnson: changed the host to our temp address
  49. // default idnet host address
  50. #ifndef IDNET_HOST
  51.     #define IDNET_HOST                    "q4master.idsoftware.com"
  52. #endif
  53. // RAVEN END
  54.  
  55. // default idnet master port
  56. #ifndef IDNET_MASTER_PORT
  57.     #define IDNET_MASTER_PORT            "27650"
  58. #endif
  59.  
  60. // default network server port
  61. #ifndef PORT_SERVER
  62. //RAVEN BEGIN
  63. #define    PORT_SERVER                    28004
  64. //RAVEN END
  65. #endif
  66.  
  67. // broadcast scan this many ports after PORT_SERVER so a single machine can run multiple servers
  68. #define    NUM_SERVER_PORTS                4
  69.  
  70. // see ASYNC_PROTOCOL_VERSION
  71. // use a different major for each game
  72. // RAVEN BEGIN
  73. // ddynerman: rev ASYNC_PROTOCOL_MAJOR to 2 for Quake 4
  74. #define ASYNC_PROTOCOL_MAJOR            2
  75. // RAVEN END
  76.  
  77. // Savegame Version
  78. // Update when you can no longer maintain compatibility with previous savegames.
  79. // For testing, we're using the build number to ensure no one ever tries to load a stale savegame
  80. #define SAVEGAME_VERSION                VERSION_BUILD_NUMBER
  81.  
  82. // editor info
  83. #define EDITOR_WINDOWTEXT                "QuakeEdit"
  84.  
  85. // win32 info
  86. #define WIN32_CONSOLE_CLASS                "Quake 4 WinConsole"
  87. #define WIN32_SPLASH_CLASS                "Quake 4 Splash"
  88. #define    WIN32_WINDOW_CLASS_NAME            "Quake4"
  89. #define    WIN32_FAKE_WINDOW_CLASS_NAME    "QUAKE4_WGL_FAKE"
  90.  
  91. #ifdef __linux__
  92.     #define DEFAULT_BASE_PATH                "/usr/local/games/quake4"
  93. #elif defined( MACOS_X )
  94.     #define DEFAULT_BASE_PATH                "/Applications/Quake4"
  95. #endif
  96.  
  97. // CD Key file info
  98. #define CDKEY_FILE                        "quake4key"
  99. #define CDKEY_TEXT                        "\n// Do not give this file to ANYONE.\n" \
  100.                                         "// id Software, Raven Software or Activision will NOT ask you to send this file to them.\n"
  101.  
  102. // FIXME: Update to Doom
  103. // Product ID. Stored in "productid.txt".
  104. //                                        This file is copyright 1999 Id Software, and may not be duplicated except during a licensed installation of the full commercial version of Quake 3:Arena
  105. #undef PRODUCT_ID
  106. #define PRODUCT_ID                        220, 129, 255, 108, 244, 163, 171, 55, 133, 65, 199, 36, 140, 222, 53, 99, 65, 171, 175, 232, 236, 193, 210, 250, 169, 104, 231, 231, 21, 201, 170, 208, 135, 175, 130, 136, 85, 215, 71, 23, 96, 32, 96, 83, 44, 240, 219, 138, 184, 215, 73, 27, 196, 247, 55, 139, 148, 68, 78, 203, 213, 238, 139, 23, 45, 205, 118, 186, 236, 230, 231, 107, 212, 1, 10, 98, 30, 20, 116, 180, 216, 248, 166, 35, 45, 22, 215, 229, 35, 116, 250, 167, 117, 3, 57, 55, 201, 229, 218, 222, 128, 12, 141, 149, 32, 110, 168, 215, 184, 53, 31, 147, 62, 12, 138, 67, 132, 54, 125, 6, 221, 148, 140, 4, 21, 44, 198, 3, 126, 12, 100, 236, 61, 42, 44, 251, 15, 135, 14, 134, 89, 92, 177, 246, 152, 106, 124, 78, 118, 80, 28, 42
  107. #undef PRODUCT_ID_LENGTH
  108. #define PRODUCT_ID_LENGTH                152
  109.  
  110. #define CONFIG_SPEC                        "config.spec"
  111.