Fix stdshaders #includes casing

This is important for case-sensitive filesystems/operating systems (i.e.
Linux).
This commit is contained in:
Alexander 'z33ky' Hirsch 2020-06-14 10:41:30 +02:00
parent 9d0f5197bd
commit 5ba311b9e6
24 changed files with 104 additions and 104 deletions

View File

@ -20,30 +20,30 @@
#endif #endif
#if SUPPORT_DX8 #if SUPPORT_DX8
#include "sdk_lightmappedgeneric_flashlight_vs11.inc" #include "SDK_lightmappedgeneric_flashlight_vs11.inc"
#include "sdk_flashlight_ps11.inc" #include "SDK_flashlight_ps11.inc"
#endif #endif
#ifdef STDSHADER_DX9_DLL_EXPORT #ifdef STDSHADER_DX9_DLL_EXPORT
#include "sdk_lightmappedgeneric_flashlight_vs20.inc" #include "SDK_lightmappedgeneric_flashlight_vs20.inc"
#include "sdk_lightmappedgeneric_flashlight_vs30.inc" #include "SDK_lightmappedgeneric_flashlight_vs30.inc"
#endif #endif
#ifdef STDSHADER_DX9_DLL_EXPORT #ifdef STDSHADER_DX9_DLL_EXPORT
#include "sdk_flashlight_ps20.inc" #include "SDK_flashlight_ps20.inc"
#include "sdk_flashlight_ps20b.inc" #include "SDK_flashlight_ps20b.inc"
#include "sdk_flashlight_ps30.inc" #include "SDK_flashlight_ps30.inc"
#endif #endif
#include "sdk_unlitgeneric_vs11.inc" #include "SDK_unlitgeneric_vs11.inc"
#include "sdk_VertexLitGeneric_EnvmappedBumpmap_NoLighting_ps14.inc" #include "SDK_VertexLitGeneric_EnvmappedBumpmap_NoLighting_ps14.inc"
#include "sdk_VertexLitGeneric_EnvmappedBumpmap_NoLighting.inc" #include "SDK_VertexLitGeneric_EnvmappedBumpmap_NoLighting.inc"
#include "sdk_vertexlitgeneric_flashlight_vs11.inc" #include "SDK_vertexlitgeneric_flashlight_vs11.inc"
#include "sdk_LightmappedGeneric_BaseTexture.inc" #include "SDK_LightmappedGeneric_BaseTexture.inc"
#include "sdk_LightmappedGeneric_BumpmappedLightmap_Base_ps14.inc" #include "SDK_LightmappedGeneric_BumpmappedLightmap_Base_ps14.inc"
#include "sdk_LightmappedGeneric_BumpmappedLightmap_Blend_ps14.inc" #include "SDK_LightmappedGeneric_BumpmappedLightmap_Blend_ps14.inc"
#include "sdk_lightmappedgeneric_bumpmappedenvmap_ps14.inc" #include "SDK_lightmappedgeneric_bumpmappedenvmap_ps14.inc"
#include "sdk_lightmappedgeneric_bumpmappedenvmap.inc" #include "SDK_lightmappedgeneric_bumpmappedenvmap.inc"
#include "sdk_lightmappedgeneric_basetextureblend.inc" #include "SDK_lightmappedgeneric_basetextureblend.inc"
#include "sdk_lightmappedgeneric_bumpmappedlightmap.inc" #include "SDK_lightmappedgeneric_bumpmappedlightmap.inc"
#endif // GAME_SHADER_DLL #endif // GAME_SHADER_DLL
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!

View File

@ -5,9 +5,9 @@
//=============================================================================// //=============================================================================//
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "sdk_unlittwotexture_vs20.inc" #include "SDK_unlittwotexture_vs20.inc"
#include "sdk_monitorscreen_ps20.inc" #include "SDK_monitorscreen_ps20.inc"
#include "sdk_monitorscreen_ps20b.inc" #include "SDK_monitorscreen_ps20b.inc"
#include "cpp_shader_constant_register_map.h" #include "cpp_shader_constant_register_map.h"
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!

View File

@ -8,9 +8,9 @@
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "sdk_cable_vs20.inc" #include "SDK_cable_vs20.inc"
#include "sdk_cable_ps20.inc" #include "SDK_cable_ps20.inc"
#include "sdk_cable_ps20b.inc" #include "SDK_cable_ps20b.inc"
#include "cpp_shader_constant_register_map.h" #include "cpp_shader_constant_register_map.h"
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!

View File

@ -130,7 +130,7 @@
==================================================================================================== */ ==================================================================================================== */
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "mathlib/VMatrix.h" #include "mathlib/vmatrix.h"
#include "cloak_blended_pass_helper.h" #include "cloak_blended_pass_helper.h"
#include "convar.h" #include "convar.h"
@ -355,4 +355,4 @@ bool CloakBlendedPassIsFullyOpaque ( IMaterialVar** params, CloakBlendedPassVars
return true; return true;
return false; return false;
} }

View File

@ -9,13 +9,13 @@
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "cpp_shader_constant_register_map.h" #include "cpp_shader_constant_register_map.h"
#include "sdk_decalmodulate_vs20.inc" #include "SDK_decalmodulate_vs20.inc"
#include "sdk_decalmodulate_ps20.inc" #include "SDK_decalmodulate_ps20.inc"
#include "sdk_decalmodulate_ps20b.inc" #include "SDK_decalmodulate_ps20b.inc"
#ifndef _X360 #ifndef _X360
#include "sdk_decalmodulate_vs30.inc" #include "SDK_decalmodulate_vs30.inc"
#include "sdk_decalmodulate_ps30.inc" #include "SDK_decalmodulate_ps30.inc"
#endif #endif
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!

View File

@ -8,13 +8,13 @@
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "sdk_depthwrite_ps20.inc" #include "SDK_depthwrite_ps20.inc"
#include "sdk_depthwrite_ps20b.inc" #include "SDK_depthwrite_ps20b.inc"
#include "sdk_depthwrite_vs20.inc" #include "SDK_depthwrite_vs20.inc"
#if !defined( _X360 ) #if !defined( _X360 )
#include "sdk_depthwrite_ps30.inc" #include "SDK_depthwrite_ps30.inc"
#include "sdk_depthwrite_vs30.inc" #include "SDK_depthwrite_vs30.inc"
#endif #endif
BEGIN_VS_SHADER_FLAGS( SDK_DepthWrite, "Help for Depth Write", SHADER_NOT_EDITABLE ) BEGIN_VS_SHADER_FLAGS( SDK_DepthWrite, "Help for Depth Write", SHADER_NOT_EDITABLE )

View File

@ -85,7 +85,7 @@
==================================================================================================== */ ==================================================================================================== */
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "mathlib/VMatrix.h" #include "mathlib/vmatrix.h"
#include "emissive_scroll_blended_pass_helper.h" #include "emissive_scroll_blended_pass_helper.h"
#include "convar.h" #include "convar.h"
@ -275,4 +275,4 @@ void DrawEmissiveScrollBlendedPass( CBaseVSShader *pShader, IMaterialVar** param
pShaderAPI->SetPixelShaderConstant( 2, IS_PARAM_DEFINED( info.m_nEmissiveTint ) ? params[info.m_nEmissiveTint]->GetVecValue() : kDefaultEmissiveTint, 1 ); pShaderAPI->SetPixelShaderConstant( 2, IS_PARAM_DEFINED( info.m_nEmissiveTint ) ? params[info.m_nEmissiveTint]->GetVecValue() : kDefaultEmissiveTint, 1 );
} }
pShader->Draw(); pShader->Draw();
} }

View File

@ -9,13 +9,13 @@
//#include "eyes_flashlight_vs11.inc" //#include "eyes_flashlight_vs11.inc"
//#include "eyes_flashlight_ps11.inc" //#include "eyes_flashlight_ps11.inc"
#include "sdk_eye_refract_vs20.inc" #include "SDK_eye_refract_vs20.inc"
#include "sdk_eye_refract_ps20.inc" #include "SDK_eye_refract_ps20.inc"
#include "sdk_eye_refract_ps20b.inc" #include "SDK_eye_refract_ps20b.inc"
#ifndef _X360 #ifndef _X360
#include "sdk_eye_refract_vs30.inc" #include "SDK_eye_refract_vs30.inc"
#include "sdk_eye_refract_ps30.inc" #include "SDK_eye_refract_ps30.inc"
#endif #endif
#include "convar.h" #include "convar.h"

View File

@ -9,9 +9,9 @@
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "shaderlib/cshader.h" #include "shaderlib/cshader.h"
#include "sdk_eyeglint_vs20.inc" #include "SDK_eyeglint_vs20.inc"
#include "sdk_eyeglint_ps20.inc" #include "SDK_eyeglint_ps20.inc"
#include "sdk_eyeglint_ps20b.inc" #include "SDK_eyeglint_ps20b.inc"
DEFINE_FALLBACK_SHADER( SDK_EyeGlint, SDK_EyeGlint_dx9 ) DEFINE_FALLBACK_SHADER( SDK_EyeGlint, SDK_EyeGlint_dx9 )
BEGIN_VS_SHADER( SDK_EyeGlint_dx9, "Help for SDK_EyeGlint" ) BEGIN_VS_SHADER( SDK_EyeGlint_dx9, "Help for SDK_EyeGlint" )

View File

@ -10,23 +10,23 @@
#include "eyes_dx8_dx9_helper.h" #include "eyes_dx8_dx9_helper.h"
#include "cpp_shader_constant_register_map.h" #include "cpp_shader_constant_register_map.h"
#include "SDK_Eyes.inc" #include "SDK_Eyes.inc"
#include "sdk_eyes_flashlight_vs11.inc" #include "SDK_eyes_flashlight_vs11.inc"
#include "sdk_eyes_flashlight_ps11.inc" #include "SDK_eyes_flashlight_ps11.inc"
#ifdef STDSHADER_DX9_DLL_EXPORT #ifdef STDSHADER_DX9_DLL_EXPORT
#include "sdk_eyes_vs20.inc" #include "SDK_eyes_vs20.inc"
#include "sdk_eyes_ps20.inc" #include "SDK_eyes_ps20.inc"
#include "sdk_eyes_ps20b.inc" #include "SDK_eyes_ps20b.inc"
#include "sdk_eyes_flashlight_vs20.inc" #include "SDK_eyes_flashlight_vs20.inc"
#include "sdk_eyes_flashlight_ps20.inc" #include "SDK_eyes_flashlight_ps20.inc"
#include "sdk_eyes_flashlight_ps20b.inc" #include "SDK_eyes_flashlight_ps20b.inc"
#ifndef _X360 #ifndef _X360
#include "sdk_eyes_vs30.inc" #include "SDK_eyes_vs30.inc"
#include "sdk_eyes_ps30.inc" #include "SDK_eyes_ps30.inc"
#include "sdk_eyes_flashlight_vs30.inc" #include "SDK_eyes_flashlight_vs30.inc"
#include "sdk_eyes_flashlight_ps30.inc" #include "SDK_eyes_flashlight_ps30.inc"
#endif #endif
#endif #endif

View File

@ -124,9 +124,9 @@
#include "flesh_interior_blended_pass_helper.h" #include "flesh_interior_blended_pass_helper.h"
// Auto generated inc files // Auto generated inc files
#include "sdk_flesh_interior_blended_pass_vs20.inc" #include "SDK_flesh_interior_blended_pass_vs20.inc"
#include "sdk_flesh_interior_blended_pass_ps20.inc" #include "SDK_flesh_interior_blended_pass_ps20.inc"
#include "sdk_flesh_interior_blended_pass_ps20b.inc" #include "SDK_flesh_interior_blended_pass_ps20b.inc"
void InitParamsFleshInteriorBlendedPass( CBaseVSShader *pShader, IMaterialVar** params, const char *pMaterialName, FleshInteriorBlendedPassVars_t &info ) void InitParamsFleshInteriorBlendedPass( CBaseVSShader *pShader, IMaterialVar** params, const char *pMaterialName, FleshInteriorBlendedPassVars_t &info )
{ {

View File

@ -16,11 +16,11 @@
#include "SDK_lightmappedgeneric_ps30.inc" #include "SDK_lightmappedgeneric_ps30.inc"
#include "SDK_lightmappedgeneric_vs30.inc" #include "SDK_lightmappedgeneric_vs30.inc"
#include "sdk_lightmappedgeneric_flashlight_vs20.inc" #include "SDK_lightmappedgeneric_flashlight_vs20.inc"
#include "sdk_lightmappedgeneric_flashlight_vs30.inc" #include "SDK_lightmappedgeneric_flashlight_vs30.inc"
#include "sdk_lightmappedgeneric_flashlight_ps20.inc" #include "SDK_lightmappedgeneric_flashlight_ps20.inc"
#include "sdk_lightmappedgeneric_flashlight_ps20b.inc" #include "SDK_lightmappedgeneric_flashlight_ps20b.inc"
#include "sdk_lightmappedgeneric_flashlight_ps30.inc" #include "SDK_lightmappedgeneric_flashlight_ps30.inc"
#include "tier0/memdbgon.h" #include "tier0/memdbgon.h"
@ -1759,4 +1759,4 @@ void DrawLightmappedGeneric_DX9(CBaseVSShader *pShader, IMaterialVar** params,
//} //}
// //
//DrawLightmappedGeneric_DX9_Internal( pShader, params, hasFlashlight, pShaderAPI, pShaderShadow, info, pContextDataPtr ); //DrawLightmappedGeneric_DX9_Internal( pShader, params, hasFlashlight, pShaderAPI, pShaderShadow, info, pContextDataPtr );
} }

View File

@ -6,7 +6,7 @@
//===========================================================================// //===========================================================================//
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "mathlib/VMatrix.h" #include "mathlib/vmatrix.h"
#include "common_hlsl_cpp_consts.h" // hack hack hack! #include "common_hlsl_cpp_consts.h" // hack hack hack!
#include "SDK_lightmappedreflective_vs20.inc" #include "SDK_lightmappedreflective_vs20.inc"

View File

@ -8,9 +8,9 @@
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "refract_dx9_helper.h" #include "refract_dx9_helper.h"
#include "convar.h" #include "convar.h"
#include "sdk_refract_vs20.inc" #include "SDK_Refract_vs20.inc"
#include "SDK_Refract_ps20.inc" #include "SDK_refract_ps20.inc"
#include "sdk_refract_ps20b.inc" #include "SDK_refract_ps20b.inc"
#include "cpp_shader_constant_register_map.h" #include "cpp_shader_constant_register_map.h"
#define MAXBLUR 1 #define MAXBLUR 1

View File

@ -3,9 +3,9 @@
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "convar.h" #include "convar.h"
#include "sdk_splinerope_ps20.inc" #include "SDK_splinerope_ps20.inc"
#include "sdk_splinerope_ps20b.inc" #include "SDK_splinerope_ps20b.inc"
#include "sdk_splinerope_vs20.inc" #include "SDK_splinerope_vs20.inc"
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h" #include "tier0/memdbgon.h"

View File

@ -15,9 +15,9 @@
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h" #include "tier0/memdbgon.h"
#include "sdk_sprite_vs20.inc" #include "SDK_sprite_vs20.inc"
#include "sdk_sprite_ps20.inc" #include "SDK_sprite_ps20.inc"
#include "sdk_sprite_ps20b.inc" #include "SDK_sprite_ps20b.inc"
// WARNING! Change these in engine/SpriteGn.h if you change them here! // WARNING! Change these in engine/SpriteGn.h if you change them here!
#define SPR_VP_PARALLEL_UPRIGHT 0 #define SPR_VP_PARALLEL_UPRIGHT 0

View File

@ -92,4 +92,4 @@ SDK_unlittwotexture_ps2x.fxc
SDK_unlittwotexture_vs20.fxc SDK_unlittwotexture_vs20.fxc
SDK_monitorscreen_ps2x.fxc SDK_monitorscreen_ps2x.fxc
SDK_ShatteredGlass_ps2x.fxc SDK_ShatteredGlass_ps2x.fxc
SDK_ShatteredGlass_vs20.fxc SDK_ShatteredGlass_vs20.fxc

View File

@ -29,7 +29,7 @@ SDK_depthwrite_ps2x.fxc
SDK_depthwrite_vs20.fxc SDK_depthwrite_vs20.fxc
SDK_eyes_ps2x.fxc SDK_eyes_ps2x.fxc
SDK_Eyes_vs20.fxc SDK_eyes_vs20.fxc
SDK_eye_refract_ps2x.fxc SDK_eye_refract_ps2x.fxc
SDK_eye_refract_vs20.fxc SDK_eye_refract_vs20.fxc
SDK_eyes_flashlight_ps2x.fxc SDK_eyes_flashlight_ps2x.fxc
@ -43,4 +43,4 @@ SDK_teeth_flashlight_ps2x.fxc
SDK_teeth_flashlight_vs20.fxc SDK_teeth_flashlight_vs20.fxc
SDK_decalmodulate_ps2x.fxc SDK_decalmodulate_ps2x.fxc
SDK_decalmodulate_vs20.fxc SDK_decalmodulate_vs20.fxc

View File

@ -7,23 +7,23 @@
#include "BaseVSShader.h" #include "BaseVSShader.h"
#include "cpp_shader_constant_register_map.h" #include "cpp_shader_constant_register_map.h"
#include "sdk_teeth_vs20.inc" #include "SDK_teeth_vs20.inc"
#include "sdk_teeth_flashlight_vs20.inc" #include "SDK_teeth_flashlight_vs20.inc"
#include "sdk_teeth_bump_vs20.inc" #include "SDK_teeth_bump_vs20.inc"
#include "sdk_teeth_ps20.inc" #include "SDK_teeth_ps20.inc"
#include "sdk_teeth_ps20b.inc" #include "SDK_teeth_ps20b.inc"
#include "sdk_teeth_flashlight_ps20.inc" #include "SDK_teeth_flashlight_ps20.inc"
#include "sdk_teeth_flashlight_ps20b.inc" #include "SDK_teeth_flashlight_ps20b.inc"
#include "sdk_teeth_bump_ps20.inc" #include "SDK_teeth_bump_ps20.inc"
#include "sdk_teeth_bump_ps20b.inc" #include "SDK_teeth_bump_ps20b.inc"
#ifndef _X360 #ifndef _X360
#include "sdk_teeth_vs30.inc" #include "SDK_teeth_vs30.inc"
#include "sdk_teeth_ps30.inc" #include "SDK_teeth_ps30.inc"
#include "sdk_teeth_bump_vs30.inc" #include "SDK_teeth_bump_vs30.inc"
#include "sdk_teeth_bump_ps30.inc" #include "SDK_teeth_bump_ps30.inc"
#include "sdk_teeth_flashlight_vs30.inc" #include "SDK_teeth_flashlight_vs30.inc"
#include "sdk_teeth_flashlight_ps30.inc" #include "SDK_teeth_flashlight_ps30.inc"
#endif #endif
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!

View File

@ -10,9 +10,9 @@
#include "cloak_blended_pass_helper.h" #include "cloak_blended_pass_helper.h"
#include "cpp_shader_constant_register_map.h" #include "cpp_shader_constant_register_map.h"
#include "sdk_unlittwotexture_vs20.inc" #include "SDK_unlittwotexture_vs20.inc"
#include "sdk_unlittwotexture_ps20.inc" #include "SDK_unlittwotexture_ps20.inc"
#include "sdk_unlittwotexture_ps20b.inc" #include "SDK_unlittwotexture_ps20b.inc"
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h" #include "tier0/memdbgon.h"

View File

@ -9,8 +9,8 @@
#include "vertexlitgeneric_dx9_helper.h" #include "vertexlitgeneric_dx9_helper.h"
#include "skin_dx9_helper.h" #include "skin_dx9_helper.h"
#include "SDK_VertexLit_and_unlit_Generic_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_bump_vs20.inc"
//#include "SDK_vertexlit_and_unlit_generic_ps20.inc" //#include "SDK_vertexlit_and_unlit_generic_ps20.inc"
#include "SDK_vertexlit_and_unlit_generic_ps20b.inc" #include "SDK_vertexlit_and_unlit_generic_ps20b.inc"

View File

@ -13,9 +13,9 @@
#include "SDK_WaterCheap_vs20.inc" #include "SDK_WaterCheap_vs20.inc"
#include "SDK_WaterCheap_ps20.inc" #include "SDK_WaterCheap_ps20.inc"
#include "SDK_WaterCheap_ps20b.inc" #include "SDK_WaterCheap_ps20b.inc"
#include "sdk_water_vs20.inc" #include "SDK_Water_vs20.inc"
#include "SDK_Water_ps20.inc" #include "SDK_Water_ps20.inc"
#include "sdk_water_ps20b.inc" #include "SDK_Water_ps20b.inc"
#ifndef _X360 #ifndef _X360
static ConVar r_waterforceexpensive( "r_waterforceexpensive", "0", FCVAR_ARCHIVE ); static ConVar r_waterforceexpensive( "r_waterforceexpensive", "0", FCVAR_ARCHIVE );

View File

@ -11,8 +11,8 @@
#include "convar.h" #include "convar.h"
#include "SDK_lightmappedgeneric_vs20.inc" #include "SDK_lightmappedgeneric_vs20.inc"
#include "SDK_WorldTwoTextureBlend_ps20.inc" #include "SDK_worldtwotextureblend_ps20.inc"
#include "SDK_WorldTwoTextureBlend_ps20b.inc" #include "SDK_worldtwotextureblend_ps20b.inc"
// memdbgon must be the last include file in a .cpp file!!! // memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h" #include "tier0/memdbgon.h"