staticdefinesdoc.c 8.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #ifdef DOXYGEN
  2. /**
  3. | %Defines | Short description | DayZ builds | %Workbench builds |
  4. | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------- |
  5. | DEVELOPER | Internal developer version | yes (binarize, debug, release, releaseAsserts, releaseNoOpt)\n no(Profile server, Retail server, Retail client) | yes |
  6. | RELEASE | Retail build of the game | yes (retail client, retail server) | no |
  7. | PREVIEW_BUILD | Preview build. Currently used only in console builds | yes (preview build) | no |
  8. | PLATFORM_WINDOWS \|\| PLATFORM_MACOSX \|\| ENF_LINUX | Platform specific defines | yes | yes |
  9. | PLATFORM_CONSOLE && (PLATFORM_XBOX \|\| PLATFORM_PS4) | Platform specific defines | yes | no |
  10. | X1_TODO_TEMP_GUI | Temporary XBOX GUI hacks | yes (xbox builds) | no |
  11. | BULDOZER | Game is launched in land editor mode (-buldozer) | yes (binarize, debug, release, releaseAsserts, releaseNoOpt, retail client)\n no(server, retail server, xbox, ps4) | yes |
  12. | SERVER | Game runs as server | yes (all pc builds, client with -server) | no |
  13. | NO_GUI, NO_GUI_INGAME | Game runs without gui - Server, client simulator | yes | no |
  14. | WORKBENCH | Game runs from workbench | no | yes |
  15. | COMPONENT_SYSTEM | Enfusion entity component system | no | yes |
  16. | GAME_TEMPLATE | Game template implementation see [link](https://confluence.bistudio.com/display/EN/Game+Template) | no | yes |
  17. | ENF_DONE | Looks like commented out wip or dead code | no | no |
  18. | DOXYGEN | Doxygen documentation, never compiled | no | no |
  19. | _DAYZ_CREATURE_DEBUG_SHADOW | Game is built with network debug for DayZCreature | no | no |
  20. | BOT | ? Script player debug bot ? | no | no |
  21. | PS3 | ? obsolete ? | no | no |
  22. | PC builds | %Defines used |
  23. | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  24. | release, releaseAsserts | DEVELOPER, (PLATFORM_WINDOWS \|\| PLATFORM_MACOSX \|\| ENF_LINUX), (-server => SERVER, NO_GUI, NO_GUI_INGAME), (-buldozer => BULDOZER) + any number of static defines using command line parameter -scrDef=... see [link](https://confluence.bistudio.com/display/DAYZ/DayZ+Development+Command-line+Parameters) |
  25. | retail client | RELEASE, (PLATFORM_WINDOWS \|\| PLATFORM_MACOSX \|\| ENF_LINUX), (-buldozer => BULDOZER) |
  26. | retail server, profile server | RELEASE, (PLATFORM_WINDOWS \|\| PLATFORM_MACOSX \|\| ENF_LINUX), SERVER, NO_GUI, NO_GUI_INGAME |
  27. | Console builds | %Defines used |
  28. | -------------- | --------------------------------------------------------------------------- |
  29. | preview | RELEASE, PLATFORM_CONSOLE, (PLATFORM_XBOX \|\| PLATFORM_PS4), PREVIEW_BUILD |
  30. | retail | RELEASE, PLATFORM_CONSOLE, (PLATFORM_XBOX \|\| PLATFORM_PS4) |
  31. | release | DEVELOPER, PLATFORM_CONSOLE, (PLATFORM_XBOX \|\| PLATFORM_PS4) |
  32. */
  33. enum StaticDefines
  34. {
  35. DEVELOPER,
  36. RELEASE,
  37. PREVIEW_BUILD,
  38. PLATFORM_WINDOWS,
  39. PLATFORM_MACOSX,
  40. ENF_LINUX,
  41. PLATFORM_CONSOLE,
  42. PLATFORM_XBOX,
  43. PLATFORM_PS4,
  44. X1_TODO_TEMP_GUI,
  45. BULDOZER,
  46. SERVER,
  47. NO_GUI,
  48. NO_GUI_INGAME,
  49. WORKBENCH,
  50. GAME_TEMPLATE,
  51. ENF_DONE,
  52. COMPONENT_SYSTEM,
  53. DOXYGEN,
  54. _DAYZ_CREATURE_DEBUG_SHADOW,
  55. BOT,
  56. PS3
  57. };
  58. #endif