mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-27 07:15:31 +03:00
Fix stdshaders #includes casing
This is important for case-sensitive filesystems/operating systems (i.e. Linux).
This commit is contained in:
parent
9d0f5197bd
commit
5ba311b9e6
@ -20,30 +20,30 @@
|
||||
#endif
|
||||
|
||||
#if SUPPORT_DX8
|
||||
#include "sdk_lightmappedgeneric_flashlight_vs11.inc"
|
||||
#include "sdk_flashlight_ps11.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_vs11.inc"
|
||||
#include "SDK_flashlight_ps11.inc"
|
||||
#endif
|
||||
|
||||
#ifdef STDSHADER_DX9_DLL_EXPORT
|
||||
#include "sdk_lightmappedgeneric_flashlight_vs20.inc"
|
||||
#include "sdk_lightmappedgeneric_flashlight_vs30.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_vs20.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_vs30.inc"
|
||||
#endif
|
||||
#ifdef STDSHADER_DX9_DLL_EXPORT
|
||||
#include "sdk_flashlight_ps20.inc"
|
||||
#include "sdk_flashlight_ps20b.inc"
|
||||
#include "sdk_flashlight_ps30.inc"
|
||||
#include "SDK_flashlight_ps20.inc"
|
||||
#include "SDK_flashlight_ps20b.inc"
|
||||
#include "SDK_flashlight_ps30.inc"
|
||||
#endif
|
||||
#include "sdk_unlitgeneric_vs11.inc"
|
||||
#include "sdk_VertexLitGeneric_EnvmappedBumpmap_NoLighting_ps14.inc"
|
||||
#include "sdk_VertexLitGeneric_EnvmappedBumpmap_NoLighting.inc"
|
||||
#include "sdk_vertexlitgeneric_flashlight_vs11.inc"
|
||||
#include "sdk_LightmappedGeneric_BaseTexture.inc"
|
||||
#include "sdk_LightmappedGeneric_BumpmappedLightmap_Base_ps14.inc"
|
||||
#include "sdk_LightmappedGeneric_BumpmappedLightmap_Blend_ps14.inc"
|
||||
#include "sdk_lightmappedgeneric_bumpmappedenvmap_ps14.inc"
|
||||
#include "sdk_lightmappedgeneric_bumpmappedenvmap.inc"
|
||||
#include "sdk_lightmappedgeneric_basetextureblend.inc"
|
||||
#include "sdk_lightmappedgeneric_bumpmappedlightmap.inc"
|
||||
#include "SDK_unlitgeneric_vs11.inc"
|
||||
#include "SDK_VertexLitGeneric_EnvmappedBumpmap_NoLighting_ps14.inc"
|
||||
#include "SDK_VertexLitGeneric_EnvmappedBumpmap_NoLighting.inc"
|
||||
#include "SDK_vertexlitgeneric_flashlight_vs11.inc"
|
||||
#include "SDK_LightmappedGeneric_BaseTexture.inc"
|
||||
#include "SDK_LightmappedGeneric_BumpmappedLightmap_Base_ps14.inc"
|
||||
#include "SDK_LightmappedGeneric_BumpmappedLightmap_Blend_ps14.inc"
|
||||
#include "SDK_lightmappedgeneric_bumpmappedenvmap_ps14.inc"
|
||||
#include "SDK_lightmappedgeneric_bumpmappedenvmap.inc"
|
||||
#include "SDK_lightmappedgeneric_basetextureblend.inc"
|
||||
#include "SDK_lightmappedgeneric_bumpmappedlightmap.inc"
|
||||
#endif // GAME_SHADER_DLL
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
|
@ -5,9 +5,9 @@
|
||||
//=============================================================================//
|
||||
|
||||
#include "BaseVSShader.h"
|
||||
#include "sdk_unlittwotexture_vs20.inc"
|
||||
#include "sdk_monitorscreen_ps20.inc"
|
||||
#include "sdk_monitorscreen_ps20b.inc"
|
||||
#include "SDK_unlittwotexture_vs20.inc"
|
||||
#include "SDK_monitorscreen_ps20.inc"
|
||||
#include "SDK_monitorscreen_ps20b.inc"
|
||||
#include "cpp_shader_constant_register_map.h"
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
|
@ -8,9 +8,9 @@
|
||||
|
||||
#include "BaseVSShader.h"
|
||||
|
||||
#include "sdk_cable_vs20.inc"
|
||||
#include "sdk_cable_ps20.inc"
|
||||
#include "sdk_cable_ps20b.inc"
|
||||
#include "SDK_cable_vs20.inc"
|
||||
#include "SDK_cable_ps20.inc"
|
||||
#include "SDK_cable_ps20b.inc"
|
||||
#include "cpp_shader_constant_register_map.h"
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
|
@ -130,7 +130,7 @@
|
||||
==================================================================================================== */
|
||||
|
||||
#include "BaseVSShader.h"
|
||||
#include "mathlib/VMatrix.h"
|
||||
#include "mathlib/vmatrix.h"
|
||||
#include "cloak_blended_pass_helper.h"
|
||||
#include "convar.h"
|
||||
|
||||
|
@ -9,13 +9,13 @@
|
||||
#include "BaseVSShader.h"
|
||||
#include "cpp_shader_constant_register_map.h"
|
||||
|
||||
#include "sdk_decalmodulate_vs20.inc"
|
||||
#include "sdk_decalmodulate_ps20.inc"
|
||||
#include "sdk_decalmodulate_ps20b.inc"
|
||||
#include "SDK_decalmodulate_vs20.inc"
|
||||
#include "SDK_decalmodulate_ps20.inc"
|
||||
#include "SDK_decalmodulate_ps20b.inc"
|
||||
|
||||
#ifndef _X360
|
||||
#include "sdk_decalmodulate_vs30.inc"
|
||||
#include "sdk_decalmodulate_ps30.inc"
|
||||
#include "SDK_decalmodulate_vs30.inc"
|
||||
#include "SDK_decalmodulate_ps30.inc"
|
||||
#endif
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
#include "BaseVSShader.h"
|
||||
|
||||
#include "sdk_depthwrite_ps20.inc"
|
||||
#include "sdk_depthwrite_ps20b.inc"
|
||||
#include "sdk_depthwrite_vs20.inc"
|
||||
#include "SDK_depthwrite_ps20.inc"
|
||||
#include "SDK_depthwrite_ps20b.inc"
|
||||
#include "SDK_depthwrite_vs20.inc"
|
||||
|
||||
#if !defined( _X360 )
|
||||
#include "sdk_depthwrite_ps30.inc"
|
||||
#include "sdk_depthwrite_vs30.inc"
|
||||
#include "SDK_depthwrite_ps30.inc"
|
||||
#include "SDK_depthwrite_vs30.inc"
|
||||
#endif
|
||||
|
||||
BEGIN_VS_SHADER_FLAGS( SDK_DepthWrite, "Help for Depth Write", SHADER_NOT_EDITABLE )
|
||||
|
@ -85,7 +85,7 @@
|
||||
==================================================================================================== */
|
||||
|
||||
#include "BaseVSShader.h"
|
||||
#include "mathlib/VMatrix.h"
|
||||
#include "mathlib/vmatrix.h"
|
||||
#include "emissive_scroll_blended_pass_helper.h"
|
||||
#include "convar.h"
|
||||
|
||||
|
@ -9,13 +9,13 @@
|
||||
//#include "eyes_flashlight_vs11.inc"
|
||||
//#include "eyes_flashlight_ps11.inc"
|
||||
|
||||
#include "sdk_eye_refract_vs20.inc"
|
||||
#include "sdk_eye_refract_ps20.inc"
|
||||
#include "sdk_eye_refract_ps20b.inc"
|
||||
#include "SDK_eye_refract_vs20.inc"
|
||||
#include "SDK_eye_refract_ps20.inc"
|
||||
#include "SDK_eye_refract_ps20b.inc"
|
||||
|
||||
#ifndef _X360
|
||||
#include "sdk_eye_refract_vs30.inc"
|
||||
#include "sdk_eye_refract_ps30.inc"
|
||||
#include "SDK_eye_refract_vs30.inc"
|
||||
#include "SDK_eye_refract_ps30.inc"
|
||||
#endif
|
||||
|
||||
#include "convar.h"
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include "BaseVSShader.h"
|
||||
#include "shaderlib/cshader.h"
|
||||
|
||||
#include "sdk_eyeglint_vs20.inc"
|
||||
#include "sdk_eyeglint_ps20.inc"
|
||||
#include "sdk_eyeglint_ps20b.inc"
|
||||
#include "SDK_eyeglint_vs20.inc"
|
||||
#include "SDK_eyeglint_ps20.inc"
|
||||
#include "SDK_eyeglint_ps20b.inc"
|
||||
|
||||
DEFINE_FALLBACK_SHADER( SDK_EyeGlint, SDK_EyeGlint_dx9 )
|
||||
BEGIN_VS_SHADER( SDK_EyeGlint_dx9, "Help for SDK_EyeGlint" )
|
||||
|
@ -10,23 +10,23 @@
|
||||
#include "eyes_dx8_dx9_helper.h"
|
||||
#include "cpp_shader_constant_register_map.h"
|
||||
#include "SDK_Eyes.inc"
|
||||
#include "sdk_eyes_flashlight_vs11.inc"
|
||||
#include "sdk_eyes_flashlight_ps11.inc"
|
||||
#include "SDK_eyes_flashlight_vs11.inc"
|
||||
#include "SDK_eyes_flashlight_ps11.inc"
|
||||
|
||||
#ifdef STDSHADER_DX9_DLL_EXPORT
|
||||
|
||||
#include "sdk_eyes_vs20.inc"
|
||||
#include "sdk_eyes_ps20.inc"
|
||||
#include "sdk_eyes_ps20b.inc"
|
||||
#include "sdk_eyes_flashlight_vs20.inc"
|
||||
#include "sdk_eyes_flashlight_ps20.inc"
|
||||
#include "sdk_eyes_flashlight_ps20b.inc"
|
||||
#include "SDK_eyes_vs20.inc"
|
||||
#include "SDK_eyes_ps20.inc"
|
||||
#include "SDK_eyes_ps20b.inc"
|
||||
#include "SDK_eyes_flashlight_vs20.inc"
|
||||
#include "SDK_eyes_flashlight_ps20.inc"
|
||||
#include "SDK_eyes_flashlight_ps20b.inc"
|
||||
|
||||
#ifndef _X360
|
||||
#include "sdk_eyes_vs30.inc"
|
||||
#include "sdk_eyes_ps30.inc"
|
||||
#include "sdk_eyes_flashlight_vs30.inc"
|
||||
#include "sdk_eyes_flashlight_ps30.inc"
|
||||
#include "SDK_eyes_vs30.inc"
|
||||
#include "SDK_eyes_ps30.inc"
|
||||
#include "SDK_eyes_flashlight_vs30.inc"
|
||||
#include "SDK_eyes_flashlight_ps30.inc"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -124,9 +124,9 @@
|
||||
#include "flesh_interior_blended_pass_helper.h"
|
||||
|
||||
// Auto generated inc files
|
||||
#include "sdk_flesh_interior_blended_pass_vs20.inc"
|
||||
#include "sdk_flesh_interior_blended_pass_ps20.inc"
|
||||
#include "sdk_flesh_interior_blended_pass_ps20b.inc"
|
||||
#include "SDK_flesh_interior_blended_pass_vs20.inc"
|
||||
#include "SDK_flesh_interior_blended_pass_ps20.inc"
|
||||
#include "SDK_flesh_interior_blended_pass_ps20b.inc"
|
||||
|
||||
void InitParamsFleshInteriorBlendedPass( CBaseVSShader *pShader, IMaterialVar** params, const char *pMaterialName, FleshInteriorBlendedPassVars_t &info )
|
||||
{
|
||||
|
@ -16,11 +16,11 @@
|
||||
#include "SDK_lightmappedgeneric_ps30.inc"
|
||||
#include "SDK_lightmappedgeneric_vs30.inc"
|
||||
|
||||
#include "sdk_lightmappedgeneric_flashlight_vs20.inc"
|
||||
#include "sdk_lightmappedgeneric_flashlight_vs30.inc"
|
||||
#include "sdk_lightmappedgeneric_flashlight_ps20.inc"
|
||||
#include "sdk_lightmappedgeneric_flashlight_ps20b.inc"
|
||||
#include "sdk_lightmappedgeneric_flashlight_ps30.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_vs20.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_vs30.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_ps20.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_ps20b.inc"
|
||||
#include "SDK_lightmappedgeneric_flashlight_ps30.inc"
|
||||
|
||||
|
||||
#include "tier0/memdbgon.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
//===========================================================================//
|
||||
|
||||
#include "BaseVSShader.h"
|
||||
#include "mathlib/VMatrix.h"
|
||||
#include "mathlib/vmatrix.h"
|
||||
#include "common_hlsl_cpp_consts.h" // hack hack hack!
|
||||
|
||||
#include "SDK_lightmappedreflective_vs20.inc"
|
||||
|
@ -8,9 +8,9 @@
|
||||
#include "BaseVSShader.h"
|
||||
#include "refract_dx9_helper.h"
|
||||
#include "convar.h"
|
||||
#include "sdk_refract_vs20.inc"
|
||||
#include "SDK_Refract_ps20.inc"
|
||||
#include "sdk_refract_ps20b.inc"
|
||||
#include "SDK_Refract_vs20.inc"
|
||||
#include "SDK_refract_ps20.inc"
|
||||
#include "SDK_refract_ps20b.inc"
|
||||
#include "cpp_shader_constant_register_map.h"
|
||||
|
||||
#define MAXBLUR 1
|
||||
|
@ -3,9 +3,9 @@
|
||||
#include "BaseVSShader.h"
|
||||
#include "convar.h"
|
||||
|
||||
#include "sdk_splinerope_ps20.inc"
|
||||
#include "sdk_splinerope_ps20b.inc"
|
||||
#include "sdk_splinerope_vs20.inc"
|
||||
#include "SDK_splinerope_ps20.inc"
|
||||
#include "SDK_splinerope_ps20b.inc"
|
||||
#include "SDK_splinerope_vs20.inc"
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
@ -15,9 +15,9 @@
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
#include "sdk_sprite_vs20.inc"
|
||||
#include "sdk_sprite_ps20.inc"
|
||||
#include "sdk_sprite_ps20b.inc"
|
||||
#include "SDK_sprite_vs20.inc"
|
||||
#include "SDK_sprite_ps20.inc"
|
||||
#include "SDK_sprite_ps20b.inc"
|
||||
|
||||
// WARNING! Change these in engine/SpriteGn.h if you change them here!
|
||||
#define SPR_VP_PARALLEL_UPRIGHT 0
|
||||
|
@ -29,7 +29,7 @@ SDK_depthwrite_ps2x.fxc
|
||||
SDK_depthwrite_vs20.fxc
|
||||
|
||||
SDK_eyes_ps2x.fxc
|
||||
SDK_Eyes_vs20.fxc
|
||||
SDK_eyes_vs20.fxc
|
||||
SDK_eye_refract_ps2x.fxc
|
||||
SDK_eye_refract_vs20.fxc
|
||||
SDK_eyes_flashlight_ps2x.fxc
|
||||
|
@ -7,23 +7,23 @@
|
||||
#include "BaseVSShader.h"
|
||||
#include "cpp_shader_constant_register_map.h"
|
||||
|
||||
#include "sdk_teeth_vs20.inc"
|
||||
#include "sdk_teeth_flashlight_vs20.inc"
|
||||
#include "sdk_teeth_bump_vs20.inc"
|
||||
#include "sdk_teeth_ps20.inc"
|
||||
#include "sdk_teeth_ps20b.inc"
|
||||
#include "sdk_teeth_flashlight_ps20.inc"
|
||||
#include "sdk_teeth_flashlight_ps20b.inc"
|
||||
#include "sdk_teeth_bump_ps20.inc"
|
||||
#include "sdk_teeth_bump_ps20b.inc"
|
||||
#include "SDK_teeth_vs20.inc"
|
||||
#include "SDK_teeth_flashlight_vs20.inc"
|
||||
#include "SDK_teeth_bump_vs20.inc"
|
||||
#include "SDK_teeth_ps20.inc"
|
||||
#include "SDK_teeth_ps20b.inc"
|
||||
#include "SDK_teeth_flashlight_ps20.inc"
|
||||
#include "SDK_teeth_flashlight_ps20b.inc"
|
||||
#include "SDK_teeth_bump_ps20.inc"
|
||||
#include "SDK_teeth_bump_ps20b.inc"
|
||||
|
||||
#ifndef _X360
|
||||
#include "sdk_teeth_vs30.inc"
|
||||
#include "sdk_teeth_ps30.inc"
|
||||
#include "sdk_teeth_bump_vs30.inc"
|
||||
#include "sdk_teeth_bump_ps30.inc"
|
||||
#include "sdk_teeth_flashlight_vs30.inc"
|
||||
#include "sdk_teeth_flashlight_ps30.inc"
|
||||
#include "SDK_teeth_vs30.inc"
|
||||
#include "SDK_teeth_ps30.inc"
|
||||
#include "SDK_teeth_bump_vs30.inc"
|
||||
#include "SDK_teeth_bump_ps30.inc"
|
||||
#include "SDK_teeth_flashlight_vs30.inc"
|
||||
#include "SDK_teeth_flashlight_ps30.inc"
|
||||
#endif
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include "cloak_blended_pass_helper.h"
|
||||
#include "cpp_shader_constant_register_map.h"
|
||||
|
||||
#include "sdk_unlittwotexture_vs20.inc"
|
||||
#include "sdk_unlittwotexture_ps20.inc"
|
||||
#include "sdk_unlittwotexture_ps20b.inc"
|
||||
#include "SDK_unlittwotexture_vs20.inc"
|
||||
#include "SDK_unlittwotexture_ps20.inc"
|
||||
#include "SDK_unlittwotexture_ps20b.inc"
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
@ -9,8 +9,8 @@
|
||||
#include "vertexlitgeneric_dx9_helper.h"
|
||||
#include "skin_dx9_helper.h"
|
||||
|
||||
#include "SDK_VertexLit_and_unlit_Generic_vs20.inc"
|
||||
#include "SDK_VertexLit_and_unlit_Generic_bump_vs20.inc"
|
||||
#include "SDK_vertexlit_and_unlit_generic_vs20.inc"
|
||||
#include "SDK_vertexlit_and_unlit_generic_bump_vs20.inc"
|
||||
|
||||
//#include "SDK_vertexlit_and_unlit_generic_ps20.inc"
|
||||
#include "SDK_vertexlit_and_unlit_generic_ps20b.inc"
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include "SDK_WaterCheap_vs20.inc"
|
||||
#include "SDK_WaterCheap_ps20.inc"
|
||||
#include "SDK_WaterCheap_ps20b.inc"
|
||||
#include "sdk_water_vs20.inc"
|
||||
#include "SDK_Water_vs20.inc"
|
||||
#include "SDK_Water_ps20.inc"
|
||||
#include "sdk_water_ps20b.inc"
|
||||
#include "SDK_Water_ps20b.inc"
|
||||
|
||||
#ifndef _X360
|
||||
static ConVar r_waterforceexpensive( "r_waterforceexpensive", "0", FCVAR_ARCHIVE );
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include "convar.h"
|
||||
|
||||
#include "SDK_lightmappedgeneric_vs20.inc"
|
||||
#include "SDK_WorldTwoTextureBlend_ps20.inc"
|
||||
#include "SDK_WorldTwoTextureBlend_ps20b.inc"
|
||||
#include "SDK_worldtwotextureblend_ps20.inc"
|
||||
#include "SDK_worldtwotextureblend_ps20b.inc"
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
Loading…
Reference in New Issue
Block a user