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.

141 lines
3.7 KiB

  1. //-----------------------------------------------------------------------------
  2. // STDSHADER_DX8.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. // shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
  9. // link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
  10. $Macro DISABLE_FTOL3_OVERRIDE "1"
  11. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  12. $Configuration "Debug"
  13. {
  14. $General
  15. {
  16. $OutputDirectory "Debug_dx8"
  17. $IntermediateDirectory "Debug_dx8"
  18. }
  19. }
  20. $Configuration "Release"
  21. {
  22. $General
  23. {
  24. $OutputDirectory "Release_dx8"
  25. $IntermediateDirectory "Release_dx8"
  26. }
  27. }
  28. // Common Configuration
  29. $Configuration
  30. {
  31. $Compiler
  32. {
  33. $AdditionalIncludeDirectories "$BASE;fxctmp9;vshtmp9;..\..\dx9sdk\include"
  34. $PreprocessorDefinitions "$BASE;STDSHADER_DX8_DLL_EXPORT;FAST_MATERIALVAR_ACCESS"
  35. }
  36. $Linker
  37. {
  38. $AdditionalDependencies "$BASE version.lib winmm.lib"
  39. }
  40. }
  41. $Project "stdshader_dx8"
  42. {
  43. $Folder "Source Files"
  44. {
  45. $File "BaseVSShader.cpp"
  46. $File "BlurFilterX_dx80.cpp"
  47. $File "Bik_dx80.cpp"
  48. $File "Bik_dx81.cpp"
  49. $File "BlurFilterY_dx80.cpp"
  50. $File "BufferClearObeyStencil_dx8.cpp"
  51. $File "cable_dx8.cpp"
  52. $File "cloak_blended_pass_dx8_helper.cpp"
  53. $File "cloud_dx8.cpp"
  54. $File "core_dx8.cpp"
  55. $File "DecalBaseTimesLightmapAlphaBlendSelfIllum_dx8.cpp"
  56. $File "detail.cpp"
  57. $File "downsample_nohdr_dx80.cpp"
  58. $File "dx8fallbacks.cpp"
  59. $File "eyes.cpp"
  60. $File "emissive_scroll_blended_pass_dx8_helper.cpp"
  61. $File "flesh_interior_blended_pass_dx8_helper.cpp"
  62. $File "eyes_dx8_dx9_helper.cpp"
  63. $File "filmdust_dx8_dx9.cpp"
  64. $File "filmgrain_dx8_dx9.cpp"
  65. $File "gooinglass.cpp"
  66. $File "introscreenspaceeffect_dx80.cpp"
  67. $File "lightmappedgeneric_decal.cpp"
  68. $File "lightmappedgeneric_dx8.cpp"
  69. $File "modulate_dx8.cpp"
  70. $File "MonitorScreen_dx8.cpp"
  71. $File "occlusion_dx8.cpp"
  72. $File "overlay_fit.cpp"
  73. $File "particlesphere_dx8.cpp"
  74. $File "portal_dx80.cpp"
  75. $File "portal_refract_dx8.cpp"
  76. $File "portal_refract_dx8_helper.cpp"
  77. $File "portalstaticoverlay_dx80.cpp"
  78. $File "predator.cpp"
  79. $File "refract_dx80.cpp"
  80. $File "screenspace_general_dx8.cpp"
  81. $File "shadow_dx8.cpp"
  82. $File "shadowbuild_dx8.cpp"
  83. $File "shadowmodel_dx8.cpp"
  84. $File "shatteredglass_dx8.cpp"
  85. $File "sprite.cpp"
  86. $File "spritecard.cpp"
  87. $File "teeth_dx8.cpp"
  88. $File "unlitgeneric_dx8.cpp"
  89. $File "unlittwotexture_dx8.cpp"
  90. $File "vertexlitgeneric_dx8.cpp"
  91. $File "vortwarp_dx8.cpp"
  92. $File "water_dx80.cpp"
  93. $File "water_dx81.cpp"
  94. $File "windowimposter_dx80.cpp"
  95. $File "wireframe_dx8.cpp"
  96. $File "worldtwotextureblend_dx8.cpp"
  97. $File "worldvertexalpha_dx8.cpp"
  98. $File "WorldVertexTransition_dx8.cpp"
  99. $File "worldvertextransition_dx8_helper.cpp"
  100. $File "writez_dx8.cpp"
  101. $File "writestencil_dx8.cpp"
  102. $File "yuv.cpp"
  103. $Folder "Remove me when VAC2 is out"
  104. {
  105. $File "..\shader_dll_verify.cpp"
  106. $File "..\shader_dll_verify.h"
  107. }
  108. }
  109. $Folder "Header Files"
  110. {
  111. $File "eyes_dx8_dx9_helper.h"
  112. $File "worldvertextransition_dx8_helper.h"
  113. $File "BaseVSShader.h"
  114. }
  115. $Folder "Link Libraries"
  116. {
  117. $File "$SRCDIR\dx9sdk\lib\d3dx9.lib"
  118. $Lib mathlib
  119. $Lib shaderlib
  120. }
  121. $File "$SRCDIR\devtools\bin\fxc_prep.pl"
  122. $File "$SRCDIR\devtools\bin\vsh_prep.pl"
  123. $File "$SRCDIR\devtools\bin\psh_prep.pl"
  124. $Shaders "stdshader_dx9_20b.txt"
  125. $Shaders "stdshader_dx9_30.txt"
  126. //$Shaders "stdshader_dx10.txt"
  127. }