Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
2.6 KiB

  1. //-----------------------------------------------------------------------------
  2. // LOADADDRESS.VPC
  3. //
  4. // Contains the DLL/EXE Load Addresses. Generates the $LOADADDRESS_??? Macro from
  5. // an easily updated table. This feature is primarily to facilitate the mandatory
  6. // fixed address specification of 360 DLLs and thus efficient 360 packing of DLLs
  7. // into memory.
  8. //
  9. // Format:
  10. // $LoadAddressMacro <MacroName>
  11. // {
  12. // <ProjectName> <BaseAddress>
  13. // }
  14. //
  15. // $LoadAddressMacroAuto <MacroName> <BaseAddress>
  16. // {
  17. // <ProjectName> <Length>
  18. // }
  19. //
  20. // If "ProjectName" is not found, the "MacroName" will not be updated.
  21. // "ProjectName" is the internal short project name reference and is usually the name of
  22. // the project inside a group definition.
  23. //
  24. // "Length" is either floating point MB or integer bytes, and is used to successively
  25. // to determine the next base address.
  26. //-----------------------------------------------------------------------------
  27. // Explicitly defined "empty" only for WINDOWS only because they are not required for WINDOWS projects
  28. $Macro LOADADDRESS_DEVELOPMENT " " [$WINDOWS]
  29. $Macro LOADADDRESS_RETAIL " " [$WINDOWS]
  30. $LoadAddressMacro LOADADDRESS_DEVELOPMENT
  31. {
  32. launcher_main 0x82000000 [$X360]
  33. simdtest 0x82000000 [$X360]
  34. }
  35. $LoadAddressMacro LOADADDRESS_RETAIL
  36. {
  37. launcher_main 0x82000000 [$X360]
  38. simdtest 0x82000000 [$X360]
  39. }
  40. // Development versions require more memory to accomodate debug builds, release builds have to match debug for hybrid builds
  41. $LoadAddressMacroAuto LOADADDRESS_DEVELOPMENT 0x82200000 [$X360]
  42. {
  43. // top of chain, due to licensee lack of source restrictions
  44. vphysics 5.5
  45. tier0 2.0
  46. vstdlib 2.0
  47. filesystem_stdio 2.5
  48. datacache 2.5
  49. inputsystem 1.5
  50. launcher 2.0
  51. SoundEmitterSystem 2.0
  52. SceneFileCache 1.5
  53. vgui_dll 2.5
  54. gameui 6.0
  55. materialsystem 5.0
  56. vguimatsurface 4.0
  57. shaderapidx9 11.0
  58. stdshader_dx9 4.5
  59. studiorender 7.5
  60. engine 17.5
  61. client 17.5
  62. server 25.5
  63. // transient DLLs
  64. bsppack 3.0
  65. appchooser 8.5
  66. vxbdm 0.5
  67. }
  68. // Retail versions are expected to be minimally packed
  69. $LoadAddressMacroAuto LOADADDRESS_RETAIL 0x82200000 [$X360]
  70. {
  71. // top of chain, due to licensee lack of source restrictions
  72. vphysics 2.5
  73. tier0 1.0
  74. vstdlib 1.0
  75. filesystem_stdio 1.0
  76. datacache 1.0
  77. inputsystem 1.0
  78. launcher 1.0
  79. SoundEmitterSystem 1.0
  80. SceneFileCache 1.0
  81. vgui_dll 1.0
  82. gameui 2.0
  83. materialsystem 1.5
  84. vguimatsurface 1.5
  85. shaderapidx9 4.0
  86. stdshader_dx9 1.5
  87. studiorender 4.5
  88. engine 6.0
  89. client 10.5
  90. server 15.5
  91. // transient DLLs
  92. bsppack 1.5
  93. appchooser 1.5
  94. vxbdm 0.5
  95. }