_globals.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program 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. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /***********************************************************************************************
  19. *** Confidential - Westwood Studios ***
  20. ***********************************************************************************************
  21. * *
  22. * Project Name : Commando *
  23. * *
  24. * $Archive:: /Commando/Code/Commando/_globals.h $*
  25. * *
  26. * $Author:: Bhayes $*
  27. * *
  28. * $Modtime:: 3/06/02 5:36p $*
  29. * *
  30. * $Revision:: 25 $*
  31. * *
  32. *---------------------------------------------------------------------------------------------*
  33. * Functions: *
  34. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  35. #ifndef _GLOBALS_H
  36. #define _GLOBALS_H
  37. #include "specialbuilds.h"
  38. /*
  39. #ifdef FREEDEDICATEDSERVER
  40. #define APP_SUB_KEY "Software\\Westwood\\RenegadeFDS"
  41. #else //FREEDEDICATEDSERVER
  42. #ifdef MULTIPLAYERDEMO
  43. #define APP_SUB_KEY "Software\\Westwood\\RenegadeMPDemo"
  44. #else // MULTIPLAYERDEMO
  45. #define APP_SUB_KEY "Software\\Westwood\\Renegade"
  46. #endif //MULTIPLAYERDEMO
  47. #endif //FREEDEDICATEDSERVER
  48. */
  49. #if defined(FREEDEDICATEDSERVER)
  50. #define APP_SUB_KEY "Software\\Westwood\\RenegadeFDS"
  51. #elif defined(MULTIPLAYERDEMO)
  52. #define APP_SUB_KEY "Software\\Westwood\\RenegadeMPDemo"
  53. #elif defined(BETACLIENT)
  54. #define APP_SUB_KEY "Software\\Westwood\\RenegadeBeta"
  55. #elif defined(BETASERVER)
  56. #define APP_SUB_KEY "Software\\Westwood\\RenegadeBeta"
  57. #else
  58. #define APP_SUB_KEY "Software\\Westwood\\Renegade"
  59. #endif
  60. extern char *Build_Registry_Location_String(char *base, char *modifier, char *sub);
  61. #define APPLICATION_SUB_KEY_NAME Build_Registry_Location_String(APP_SUB_KEY, NULL, "")
  62. #define APPLICATION_SUB_KEY_NAME_RENDER Build_Registry_Location_String(APP_SUB_KEY, NULL, "Render")
  63. #define APPLICATION_SUB_KEY_NAME_OPTIONS Build_Registry_Location_String(APP_SUB_KEY, NULL, "Options")
  64. #define APPLICATION_SUB_KEY_NAME_DEBUG Build_Registry_Location_String(APP_SUB_KEY, NULL, "Debug")
  65. #define APPLICATION_SUB_KEY_NAME_SYSTEM_SETTINGS Build_Registry_Location_String(APP_SUB_KEY, NULL, "System Settings")
  66. #define APPLICATION_SUB_KEY_NAME_CONTROLS Build_Registry_Location_String(APP_SUB_KEY, NULL, "Controls")
  67. #define APPLICATION_SUB_KEY_NAME_SOUND Build_Registry_Location_String(APP_SUB_KEY, NULL, "Sound")
  68. #define APPLICATION_SUB_KEY_NAME_MOVIES Build_Registry_Location_String(APP_SUB_KEY, NULL, "Movies")
  69. #define APPLICATION_SUB_KEY_NAME_WOLSETTINGS Build_Registry_Location_String(APP_SUB_KEY, NULL, "WOLSettings")
  70. #define APPLICATION_SUB_KEY_NAME_MISSION_RANKS Build_Registry_Location_String(APP_SUB_KEY, NULL, "Ranks")
  71. #define APPLICATION_SUB_KEY_NAME_INPUT Build_Registry_Location_String(APP_SUB_KEY, NULL, "Input")
  72. #define APPLICATION_SUB_KEY_NAME_GAMESPY Build_Registry_Location_String(APP_SUB_KEY, NULL, "GameSpy")
  73. #define APPLICATION_SUB_KEY_NAME_WOLSETTINGS Build_Registry_Location_String(APP_SUB_KEY, NULL, "WOLSettings")
  74. #define APPLICATION_SUB_KEY_NAME_URL Build_Registry_Location_String(APP_SUB_KEY, NULL, "WOLSettings\\URL")
  75. #define APPLICATION_SUB_KEY_NAME_LOGINS Build_Registry_Location_String(APP_SUB_KEY, NULL, "WOLSettings\\Logins")
  76. #define APPLICATION_SUB_KEY_NAME_QUICKMATCH Build_Registry_Location_String(APP_SUB_KEY, NULL, "WOLSettings\\QuickMatch")
  77. #define APPLICATION_SUB_KEY_NAME_IGNORE_LIST Build_Registry_Location_String(APP_SUB_KEY, NULL, "WOLSettings\\Ignore List")
  78. #define APPLICATION_SUB_KEY_NAME_SERVER_LIST Build_Registry_Location_String(APP_SUB_KEY, NULL, "WOLSettings\\Servers")
  79. #define APPLICATION_SUB_KEY_NAME_SKIN_LIST Build_Registry_Location_String(APP_SUB_KEY, NULL, "MP Settings\\Skins")
  80. #define APPLICATION_SUB_KEY_NAME_NETOPTIONS Build_Registry_Location_String(APP_SUB_KEY, NULL, "Networking\\Options")
  81. #define APPLICATION_SUB_KEY_NAME_NETDEBUG Build_Registry_Location_String(APP_SUB_KEY, NULL, "Networking\\Debug")
  82. #define APPLICATION_SUB_KEY_NAME_NET_FIREWALL Build_Registry_Location_String(APP_SUB_KEY, NULL, "Networking\\Firewall")
  83. #define APPLICATION_SUB_KEY_NAME_NET_SLAVE Build_Registry_Location_String(APP_SUB_KEY, NULL, "Networking\\Slave")
  84. #define APPLICATION_SUB_KEY_NAME_NET_SERVER_CONTROL Build_Registry_Location_String(APP_SUB_KEY, NULL, "Networking\\ServerControl")
  85. #define COMBAT_SUB_KEY_NAME_DEBUG Build_Registry_Location_String(APP_SUB_KEY, NULL, "Debug")
  86. #define APPLICATION_SUB_KEY_NAME_BANDTEST Build_Registry_Location_String(APP_SUB_KEY, NULL, "Bandtest")
  87. #define RENEGADE_BASE_SKU 3072
  88. #define RENEGADE_FDS_SKU 12288
  89. #define RENEGADE_DEMO_SKU 13056
  90. #endif