diff options
Diffstat (limited to 'materialsystem/stdshaders/vshtmp9')
58 files changed, 4373 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/vshtmp9/BufferClearObeyStencil_vs11.inc b/materialsystem/stdshaders/vshtmp9/BufferClearObeyStencil_vs11.inc new file mode 100644 index 0000000..ed1aab9 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/BufferClearObeyStencil_vs11.inc @@ -0,0 +1,30 @@ +class bufferclearobeystencil_vs11_Static_Index +{ +public: + bufferclearobeystencil_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class bufferclearobeystencil_vs11_Dynamic_Index +{ +public: + bufferclearobeystencil_vs11_Dynamic_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/BumpmappedEnvmap.inc b/materialsystem/stdshaders/vshtmp9/BumpmappedEnvmap.inc new file mode 100644 index 0000000..a177a09 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/BumpmappedEnvmap.inc @@ -0,0 +1,57 @@ +class bumpmappedenvmap_Static_Index +{ +public: + bumpmappedenvmap_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class bumpmappedenvmap_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + bumpmappedenvmap_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/BumpmappedLightmap.inc b/materialsystem/stdshaders/vshtmp9/BumpmappedLightmap.inc new file mode 100644 index 0000000..45c30c4 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/BumpmappedLightmap.inc @@ -0,0 +1,57 @@ +class bumpmappedlightmap_Static_Index +{ +public: + bumpmappedlightmap_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class bumpmappedlightmap_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + bumpmappedlightmap_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Cable.inc b/materialsystem/stdshaders/vshtmp9/Cable.inc new file mode 100644 index 0000000..b86952d --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Cable.inc @@ -0,0 +1,57 @@ +class cable_Static_Index +{ +public: + cable_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class cable_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + cable_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/DebugTangentSpace.inc b/materialsystem/stdshaders/vshtmp9/DebugTangentSpace.inc new file mode 100644 index 0000000..4587dea --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/DebugTangentSpace.inc @@ -0,0 +1,82 @@ +class debugtangentspace_Static_Index +{ +public: + debugtangentspace_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class debugtangentspace_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + debugtangentspace_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Eyes.inc b/materialsystem/stdshaders/vshtmp9/Eyes.inc new file mode 100644 index 0000000..db49b5a --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Eyes.inc @@ -0,0 +1,134 @@ +class eyes_Static_Index +{ +private: + int m_nHALF_LAMBERT; +#ifdef _DEBUG + bool m_bHALF_LAMBERT; +#endif +public: + void SetHALF_LAMBERT( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nHALF_LAMBERT = i; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } + void SetHALF_LAMBERT( bool i ) + { + m_nHALF_LAMBERT = i ? 1 : 0; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } +public: + eyes_Static_Index() + { +#ifdef _DEBUG + m_bHALF_LAMBERT = false; +#endif // _DEBUG + m_nHALF_LAMBERT = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bHALF_LAMBERT; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 88 * m_nHALF_LAMBERT ) + 0; + } +}; +class eyes_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nLIGHT_COMBO; +#ifdef _DEBUG + bool m_bLIGHT_COMBO; +#endif +public: + void SetLIGHT_COMBO( int i ) + { + Assert( i >= 0 && i <= 21 ); + m_nLIGHT_COMBO = i; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } + void SetLIGHT_COMBO( bool i ) + { + m_nLIGHT_COMBO = i ? 1 : 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + eyes_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = false; +#endif // _DEBUG + m_nLIGHT_COMBO = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bLIGHT_COMBO && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nLIGHT_COMBO ) + ( 44 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/JellyFish.inc b/materialsystem/stdshaders/vshtmp9/JellyFish.inc new file mode 100644 index 0000000..3e8c7ee --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/JellyFish.inc @@ -0,0 +1,82 @@ +class jellyfish_Static_Index +{ +public: + jellyfish_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class jellyfish_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + jellyfish_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Jojirium.inc b/materialsystem/stdshaders/vshtmp9/Jojirium.inc new file mode 100644 index 0000000..464b594 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Jojirium.inc @@ -0,0 +1,57 @@ +class jojirium_Static_Index +{ +public: + jojirium_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class jojirium_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + jojirium_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/LightingOnly.inc b/materialsystem/stdshaders/vshtmp9/LightingOnly.inc new file mode 100644 index 0000000..393a67e --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/LightingOnly.inc @@ -0,0 +1,134 @@ +class lightingonly_Static_Index +{ +private: + int m_nHALF_LAMBERT; +#ifdef _DEBUG + bool m_bHALF_LAMBERT; +#endif +public: + void SetHALF_LAMBERT( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nHALF_LAMBERT = i; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } + void SetHALF_LAMBERT( bool i ) + { + m_nHALF_LAMBERT = i ? 1 : 0; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } +public: + lightingonly_Static_Index() + { +#ifdef _DEBUG + m_bHALF_LAMBERT = false; +#endif // _DEBUG + m_nHALF_LAMBERT = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bHALF_LAMBERT; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 88 * m_nHALF_LAMBERT ) + 0; + } +}; +class lightingonly_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nLIGHT_COMBO; +#ifdef _DEBUG + bool m_bLIGHT_COMBO; +#endif +public: + void SetLIGHT_COMBO( int i ) + { + Assert( i >= 0 && i <= 21 ); + m_nLIGHT_COMBO = i; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } + void SetLIGHT_COMBO( bool i ) + { + m_nLIGHT_COMBO = i ? 1 : 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + lightingonly_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = false; +#endif // _DEBUG + m_nLIGHT_COMBO = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bLIGHT_COMBO && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nLIGHT_COMBO ) + ( 44 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BaseTexture.inc b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BaseTexture.inc new file mode 100644 index 0000000..3df8215 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BaseTexture.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_basetexture_Static_Index +{ +public: + lightmappedgeneric_basetexture_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_basetexture_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_basetexture_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BumpmappedLightmap_Base_ps14.inc b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BumpmappedLightmap_Base_ps14.inc new file mode 100644 index 0000000..f0d6d24 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BumpmappedLightmap_Base_ps14.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_bumpmappedlightmap_base_ps14_Static_Index +{ +public: + lightmappedgeneric_bumpmappedlightmap_base_ps14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_bumpmappedlightmap_base_ps14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_bumpmappedlightmap_base_ps14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BumpmappedLightmap_Blend_ps14.inc b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BumpmappedLightmap_Blend_ps14.inc new file mode 100644 index 0000000..119a92a --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_BumpmappedLightmap_Blend_ps14.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_bumpmappedlightmap_blend_ps14_Static_Index +{ +public: + lightmappedgeneric_bumpmappedlightmap_blend_ps14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_bumpmappedlightmap_blend_ps14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_bumpmappedlightmap_blend_ps14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_Decal.inc b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_Decal.inc new file mode 100644 index 0000000..1c0a730 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_Decal.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_decal_Static_Index +{ +public: + lightmappedgeneric_decal_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_decal_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_decal_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_LightingOnly.inc b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_LightingOnly.inc new file mode 100644 index 0000000..f929467 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/LightmappedGeneric_LightingOnly.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_lightingonly_Static_Index +{ +public: + lightmappedgeneric_lightingonly_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_lightingonly_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_lightingonly_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Refract_model_vs11.inc b/materialsystem/stdshaders/vshtmp9/Refract_model_vs11.inc new file mode 100644 index 0000000..7d34b9e --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Refract_model_vs11.inc @@ -0,0 +1,82 @@ +class refract_model_vs11_Static_Index +{ +public: + refract_model_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class refract_model_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + refract_model_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Refract_world_vs11.inc b/materialsystem/stdshaders/vshtmp9/Refract_world_vs11.inc new file mode 100644 index 0000000..b5e6997 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Refract_world_vs11.inc @@ -0,0 +1,57 @@ +class refract_world_vs11_Static_Index +{ +public: + refract_world_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class refract_world_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + refract_world_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/ScreenSpaceEffect.inc b/materialsystem/stdshaders/vshtmp9/ScreenSpaceEffect.inc new file mode 100644 index 0000000..6b44278 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/ScreenSpaceEffect.inc @@ -0,0 +1,57 @@ +class screenspaceeffect_Static_Index +{ +public: + screenspaceeffect_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class screenspaceeffect_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + screenspaceeffect_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/ShadowModel.inc b/materialsystem/stdshaders/vshtmp9/ShadowModel.inc new file mode 100644 index 0000000..0ccffcf --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/ShadowModel.inc @@ -0,0 +1,82 @@ +class shadowmodel_Static_Index +{ +public: + shadowmodel_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class shadowmodel_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + shadowmodel_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/ShatteredGlass.inc b/materialsystem/stdshaders/vshtmp9/ShatteredGlass.inc new file mode 100644 index 0000000..c37df42 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/ShatteredGlass.inc @@ -0,0 +1,57 @@ +class shatteredglass_Static_Index +{ +public: + shatteredglass_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class shatteredglass_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + shatteredglass_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/ShatteredGlass_EnvMap.inc b/materialsystem/stdshaders/vshtmp9/ShatteredGlass_EnvMap.inc new file mode 100644 index 0000000..362f62a --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/ShatteredGlass_EnvMap.inc @@ -0,0 +1,57 @@ +class shatteredglass_envmap_Static_Index +{ +public: + shatteredglass_envmap_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class shatteredglass_envmap_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + shatteredglass_envmap_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/ShatteredGlass_EnvMapSphere.inc b/materialsystem/stdshaders/vshtmp9/ShatteredGlass_EnvMapSphere.inc new file mode 100644 index 0000000..99aba87 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/ShatteredGlass_EnvMapSphere.inc @@ -0,0 +1,57 @@ +class shatteredglass_envmapsphere_Static_Index +{ +public: + shatteredglass_envmapsphere_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class shatteredglass_envmapsphere_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + shatteredglass_envmapsphere_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Teeth.inc b/materialsystem/stdshaders/vshtmp9/Teeth.inc new file mode 100644 index 0000000..4d4231e --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Teeth.inc @@ -0,0 +1,159 @@ +class teeth_Static_Index +{ +private: + int m_nINTRO; +#ifdef _DEBUG + bool m_bINTRO; +#endif +public: + void SetINTRO( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nINTRO = i; +#ifdef _DEBUG + m_bINTRO = true; +#endif + } + void SetINTRO( bool i ) + { + m_nINTRO = i ? 1 : 0; +#ifdef _DEBUG + m_bINTRO = true; +#endif + } +private: + int m_nHALF_LAMBERT; +#ifdef _DEBUG + bool m_bHALF_LAMBERT; +#endif +public: + void SetHALF_LAMBERT( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nHALF_LAMBERT = i; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } + void SetHALF_LAMBERT( bool i ) + { + m_nHALF_LAMBERT = i ? 1 : 0; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } +public: + teeth_Static_Index() + { +#ifdef _DEBUG + m_bINTRO = false; +#endif // _DEBUG + m_nINTRO = 0; +#ifdef _DEBUG + m_bHALF_LAMBERT = false; +#endif // _DEBUG + m_nHALF_LAMBERT = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bINTRO && m_bHALF_LAMBERT; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 88 * m_nINTRO ) + ( 176 * m_nHALF_LAMBERT ) + 0; + } +}; +class teeth_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nLIGHT_COMBO; +#ifdef _DEBUG + bool m_bLIGHT_COMBO; +#endif +public: + void SetLIGHT_COMBO( int i ) + { + Assert( i >= 0 && i <= 21 ); + m_nLIGHT_COMBO = i; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } + void SetLIGHT_COMBO( bool i ) + { + m_nLIGHT_COMBO = i ? 1 : 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + teeth_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = false; +#endif // _DEBUG + m_nLIGHT_COMBO = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bLIGHT_COMBO && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nLIGHT_COMBO ) + ( 44 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/UnlitGeneric_LightingOnly.inc b/materialsystem/stdshaders/vshtmp9/UnlitGeneric_LightingOnly.inc new file mode 100644 index 0000000..395c340 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/UnlitGeneric_LightingOnly.inc @@ -0,0 +1,82 @@ +class unlitgeneric_lightingonly_Static_Index +{ +public: + unlitgeneric_lightingonly_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class unlitgeneric_lightingonly_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + unlitgeneric_lightingonly_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/UnlitTwoTexture.inc b/materialsystem/stdshaders/vshtmp9/UnlitTwoTexture.inc new file mode 100644 index 0000000..6813b5c --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/UnlitTwoTexture.inc @@ -0,0 +1,82 @@ +class unlittwotexture_Static_Index +{ +public: + unlittwotexture_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class unlittwotexture_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + unlittwotexture_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_EnvmappedBumpmap_NoLighting.inc b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_EnvmappedBumpmap_NoLighting.inc new file mode 100644 index 0000000..814abae --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_EnvmappedBumpmap_NoLighting.inc @@ -0,0 +1,82 @@ +class vertexlitgeneric_envmappedbumpmap_nolighting_Static_Index +{ +public: + vertexlitgeneric_envmappedbumpmap_nolighting_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class vertexlitgeneric_envmappedbumpmap_nolighting_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + vertexlitgeneric_envmappedbumpmap_nolighting_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_EnvmappedBumpmap_NoLighting_ps14.inc b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_EnvmappedBumpmap_NoLighting_ps14.inc new file mode 100644 index 0000000..7e76ddb --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_EnvmappedBumpmap_NoLighting_ps14.inc @@ -0,0 +1,82 @@ +class vertexlitgeneric_envmappedbumpmap_nolighting_ps14_Static_Index +{ +public: + vertexlitgeneric_envmappedbumpmap_nolighting_ps14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class vertexlitgeneric_envmappedbumpmap_nolighting_ps14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + vertexlitgeneric_envmappedbumpmap_nolighting_ps14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_SelfIllumOnly.inc b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_SelfIllumOnly.inc new file mode 100644 index 0000000..a6a07d2 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_SelfIllumOnly.inc @@ -0,0 +1,82 @@ +class vertexlitgeneric_selfillumonly_Static_Index +{ +public: + vertexlitgeneric_selfillumonly_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class vertexlitgeneric_selfillumonly_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + vertexlitgeneric_selfillumonly_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_vs11.inc b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_vs11.inc new file mode 100644 index 0000000..659e598 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/VertexLitGeneric_vs11.inc @@ -0,0 +1,200 @@ +class vertexlitgeneric_vs11_Static_Index +{ +private: + int m_nHALF_LAMBERT; +#ifdef _DEBUG + bool m_bHALF_LAMBERT; +#endif +public: + void SetHALF_LAMBERT( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nHALF_LAMBERT = i; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } + void SetHALF_LAMBERT( bool i ) + { + m_nHALF_LAMBERT = i ? 1 : 0; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } +private: + int m_nENVMAP; +#ifdef _DEBUG + bool m_bENVMAP; +#endif +public: + void SetENVMAP( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nENVMAP = i; +#ifdef _DEBUG + m_bENVMAP = true; +#endif + } + void SetENVMAP( bool i ) + { + m_nENVMAP = i ? 1 : 0; +#ifdef _DEBUG + m_bENVMAP = true; +#endif + } +private: + int m_nENVMAPCAMERASPACE; +#ifdef _DEBUG + bool m_bENVMAPCAMERASPACE; +#endif +public: + void SetENVMAPCAMERASPACE( int i ) + { + } + void SetENVMAPCAMERASPACE( bool i ) + { + } +private: + int m_nENVMAPSPHERE; +#ifdef _DEBUG + bool m_bENVMAPSPHERE; +#endif +public: + void SetENVMAPSPHERE( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nENVMAPSPHERE = i; +#ifdef _DEBUG + m_bENVMAPSPHERE = true; +#endif + } + void SetENVMAPSPHERE( bool i ) + { + m_nENVMAPSPHERE = i ? 1 : 0; +#ifdef _DEBUG + m_bENVMAPSPHERE = true; +#endif + } +public: + vertexlitgeneric_vs11_Static_Index() + { +#ifdef _DEBUG + m_bHALF_LAMBERT = false; +#endif // _DEBUG + m_nHALF_LAMBERT = 0; +#ifdef _DEBUG + m_bENVMAP = false; +#endif // _DEBUG + m_nENVMAP = 0; +#ifdef _DEBUG + m_bENVMAPCAMERASPACE = true; +#endif // _DEBUG + m_nENVMAPCAMERASPACE = 0; +#ifdef _DEBUG + m_bENVMAPSPHERE = false; +#endif // _DEBUG + m_nENVMAPSPHERE = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bHALF_LAMBERT && m_bENVMAP && m_bENVMAPCAMERASPACE && m_bENVMAPSPHERE; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 88 * m_nHALF_LAMBERT ) + ( 176 * m_nENVMAP ) + ( 352 * m_nENVMAPCAMERASPACE ) + ( 352 * m_nENVMAPSPHERE ) + 0; + } +}; +class vertexlitgeneric_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nLIGHT_COMBO; +#ifdef _DEBUG + bool m_bLIGHT_COMBO; +#endif +public: + void SetLIGHT_COMBO( int i ) + { + Assert( i >= 0 && i <= 21 ); + m_nLIGHT_COMBO = i; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } + void SetLIGHT_COMBO( bool i ) + { + m_nLIGHT_COMBO = i ? 1 : 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + vertexlitgeneric_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = false; +#endif // _DEBUG + m_nLIGHT_COMBO = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bLIGHT_COMBO && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nLIGHT_COMBO ) + ( 44 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/WaterCheapPerVertexFresnel_vs11.inc b/materialsystem/stdshaders/vshtmp9/WaterCheapPerVertexFresnel_vs11.inc new file mode 100644 index 0000000..99282ad --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/WaterCheapPerVertexFresnel_vs11.inc @@ -0,0 +1,57 @@ +class watercheappervertexfresnel_vs11_Static_Index +{ +public: + watercheappervertexfresnel_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class watercheappervertexfresnel_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + watercheappervertexfresnel_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/WaterCheap_vs11.inc b/materialsystem/stdshaders/vshtmp9/WaterCheap_vs11.inc new file mode 100644 index 0000000..8928f05 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/WaterCheap_vs11.inc @@ -0,0 +1,57 @@ +class watercheap_vs11_Static_Index +{ +public: + watercheap_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class watercheap_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + watercheap_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/WaterCheap_vs14.inc b/materialsystem/stdshaders/vshtmp9/WaterCheap_vs14.inc new file mode 100644 index 0000000..86f751f --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/WaterCheap_vs14.inc @@ -0,0 +1,57 @@ +class watercheap_vs14_Static_Index +{ +public: + watercheap_vs14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class watercheap_vs14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + watercheap_vs14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Water_ps14.inc b/materialsystem/stdshaders/vshtmp9/Water_ps14.inc new file mode 100644 index 0000000..18e0009 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Water_ps14.inc @@ -0,0 +1,57 @@ +class water_ps14_Static_Index +{ +public: + water_ps14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class water_ps14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + water_ps14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/Water_vs11.inc b/materialsystem/stdshaders/vshtmp9/Water_vs11.inc new file mode 100644 index 0000000..033251f --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/Water_vs11.inc @@ -0,0 +1,57 @@ +class water_vs11_Static_Index +{ +public: + water_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class water_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + water_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/WorldVertexAlpha.inc b/materialsystem/stdshaders/vshtmp9/WorldVertexAlpha.inc new file mode 100644 index 0000000..d2a260c --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/WorldVertexAlpha.inc @@ -0,0 +1,57 @@ +class worldvertexalpha_Static_Index +{ +public: + worldvertexalpha_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class worldvertexalpha_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + worldvertexalpha_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/WorldVertexTransition.inc b/materialsystem/stdshaders/vshtmp9/WorldVertexTransition.inc new file mode 100644 index 0000000..5034b05 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/WorldVertexTransition.inc @@ -0,0 +1,57 @@ +class worldvertextransition_Static_Index +{ +public: + worldvertextransition_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class worldvertextransition_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + worldvertextransition_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/bik_vs11.inc b/materialsystem/stdshaders/vshtmp9/bik_vs11.inc new file mode 100644 index 0000000..e076044 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/bik_vs11.inc @@ -0,0 +1,30 @@ +class bik_vs11_Static_Index +{ +public: + bik_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class bik_vs11_Dynamic_Index +{ +public: + bik_vs11_Dynamic_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/cloak_blended_pass_dx8_vs11.inc b/materialsystem/stdshaders/vshtmp9/cloak_blended_pass_dx8_vs11.inc new file mode 100644 index 0000000..70e7fa9 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/cloak_blended_pass_dx8_vs11.inc @@ -0,0 +1,57 @@ +class cloak_blended_pass_dx8_vs11_Static_Index +{ +public: + cloak_blended_pass_dx8_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class cloak_blended_pass_dx8_vs11_Dynamic_Index +{ +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + cloak_blended_pass_dx8_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/cloud_vs11.inc b/materialsystem/stdshaders/vshtmp9/cloud_vs11.inc new file mode 100644 index 0000000..f6ed85b --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/cloud_vs11.inc @@ -0,0 +1,48 @@ +class cloud_vs11_Static_Index +{ +public: + cloud_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class cloud_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + } + void SetDOWATERFOG( bool i ) + { + } +public: + cloud_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/emissive_scroll_blended_pass_dx8_vs11.inc b/materialsystem/stdshaders/vshtmp9/emissive_scroll_blended_pass_dx8_vs11.inc new file mode 100644 index 0000000..e8cba9f --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/emissive_scroll_blended_pass_dx8_vs11.inc @@ -0,0 +1,57 @@ +class emissive_scroll_blended_pass_dx8_vs11_Static_Index +{ +public: + emissive_scroll_blended_pass_dx8_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class emissive_scroll_blended_pass_dx8_vs11_Dynamic_Index +{ +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + emissive_scroll_blended_pass_dx8_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/eyes_flashlight_vs11.inc b/materialsystem/stdshaders/vshtmp9/eyes_flashlight_vs11.inc new file mode 100644 index 0000000..c37a74e --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/eyes_flashlight_vs11.inc @@ -0,0 +1,82 @@ +class eyes_flashlight_vs11_Static_Index +{ +public: + eyes_flashlight_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class eyes_flashlight_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + eyes_flashlight_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/fillrate.inc b/materialsystem/stdshaders/vshtmp9/fillrate.inc new file mode 100644 index 0000000..67060c3 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/fillrate.inc @@ -0,0 +1,82 @@ +class fillrate_Static_Index +{ +public: + fillrate_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class fillrate_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + fillrate_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/flesh_interior_blended_pass_dx8_vs11.inc b/materialsystem/stdshaders/vshtmp9/flesh_interior_blended_pass_dx8_vs11.inc new file mode 100644 index 0000000..ecdc8ef --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/flesh_interior_blended_pass_dx8_vs11.inc @@ -0,0 +1,57 @@ +class flesh_interior_blended_pass_dx8_vs11_Static_Index +{ +public: + flesh_interior_blended_pass_dx8_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class flesh_interior_blended_pass_dx8_vs11_Dynamic_Index +{ +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + flesh_interior_blended_pass_dx8_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_basetextureblend.inc b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_basetextureblend.inc new file mode 100644 index 0000000..d8608dc --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_basetextureblend.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_basetextureblend_Static_Index +{ +public: + lightmappedgeneric_basetextureblend_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_basetextureblend_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_basetextureblend_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedenvmap.inc b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedenvmap.inc new file mode 100644 index 0000000..0da1336 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedenvmap.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_bumpmappedenvmap_Static_Index +{ +public: + lightmappedgeneric_bumpmappedenvmap_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_bumpmappedenvmap_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_bumpmappedenvmap_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedenvmap_ps14.inc b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedenvmap_ps14.inc new file mode 100644 index 0000000..ab20b33 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedenvmap_ps14.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_bumpmappedenvmap_ps14_Static_Index +{ +public: + lightmappedgeneric_bumpmappedenvmap_ps14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_bumpmappedenvmap_ps14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_bumpmappedenvmap_ps14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedlightmap.inc b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedlightmap.inc new file mode 100644 index 0000000..88ca14d --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_bumpmappedlightmap.inc @@ -0,0 +1,57 @@ +class lightmappedgeneric_bumpmappedlightmap_Static_Index +{ +public: + lightmappedgeneric_bumpmappedlightmap_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class lightmappedgeneric_bumpmappedlightmap_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_bumpmappedlightmap_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_vs11.inc b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_vs11.inc new file mode 100644 index 0000000..d16efaa --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/lightmappedgeneric_vs11.inc @@ -0,0 +1,175 @@ +class lightmappedgeneric_vs11_Static_Index +{ +private: + int m_nDETAIL; +#ifdef _DEBUG + bool m_bDETAIL; +#endif +public: + void SetDETAIL( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDETAIL = i; +#ifdef _DEBUG + m_bDETAIL = true; +#endif + } + void SetDETAIL( bool i ) + { + m_nDETAIL = i ? 1 : 0; +#ifdef _DEBUG + m_bDETAIL = true; +#endif + } +private: + int m_nENVMAP; +#ifdef _DEBUG + bool m_bENVMAP; +#endif +public: + void SetENVMAP( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nENVMAP = i; +#ifdef _DEBUG + m_bENVMAP = true; +#endif + } + void SetENVMAP( bool i ) + { + m_nENVMAP = i ? 1 : 0; +#ifdef _DEBUG + m_bENVMAP = true; +#endif + } +private: + int m_nENVMAPCAMERASPACE; +#ifdef _DEBUG + bool m_bENVMAPCAMERASPACE; +#endif +public: + void SetENVMAPCAMERASPACE( int i ) + { + } + void SetENVMAPCAMERASPACE( bool i ) + { + } +private: + int m_nENVMAPSPHERE; +#ifdef _DEBUG + bool m_bENVMAPSPHERE; +#endif +public: + void SetENVMAPSPHERE( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nENVMAPSPHERE = i; +#ifdef _DEBUG + m_bENVMAPSPHERE = true; +#endif + } + void SetENVMAPSPHERE( bool i ) + { + m_nENVMAPSPHERE = i ? 1 : 0; +#ifdef _DEBUG + m_bENVMAPSPHERE = true; +#endif + } +private: + int m_nVERTEXCOLOR; +#ifdef _DEBUG + bool m_bVERTEXCOLOR; +#endif +public: + void SetVERTEXCOLOR( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nVERTEXCOLOR = i; +#ifdef _DEBUG + m_bVERTEXCOLOR = true; +#endif + } + void SetVERTEXCOLOR( bool i ) + { + m_nVERTEXCOLOR = i ? 1 : 0; +#ifdef _DEBUG + m_bVERTEXCOLOR = true; +#endif + } +public: + lightmappedgeneric_vs11_Static_Index() + { +#ifdef _DEBUG + m_bDETAIL = false; +#endif // _DEBUG + m_nDETAIL = 0; +#ifdef _DEBUG + m_bENVMAP = false; +#endif // _DEBUG + m_nENVMAP = 0; +#ifdef _DEBUG + m_bENVMAPCAMERASPACE = true; +#endif // _DEBUG + m_nENVMAPCAMERASPACE = 0; +#ifdef _DEBUG + m_bENVMAPSPHERE = false; +#endif // _DEBUG + m_nENVMAPSPHERE = 0; +#ifdef _DEBUG + m_bVERTEXCOLOR = false; +#endif // _DEBUG + m_nVERTEXCOLOR = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bDETAIL && m_bENVMAP && m_bENVMAPCAMERASPACE && m_bENVMAPSPHERE && m_bVERTEXCOLOR; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 2 * m_nDETAIL ) + ( 4 * m_nENVMAP ) + ( 8 * m_nENVMAPCAMERASPACE ) + ( 8 * m_nENVMAPSPHERE ) + ( 16 * m_nVERTEXCOLOR ) + 0; + } +}; +class lightmappedgeneric_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + lightmappedgeneric_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/overlay_fit_vs11.inc b/materialsystem/stdshaders/vshtmp9/overlay_fit_vs11.inc new file mode 100644 index 0000000..3d4606e --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/overlay_fit_vs11.inc @@ -0,0 +1,57 @@ +class overlay_fit_vs11_Static_Index +{ +public: + overlay_fit_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class overlay_fit_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + overlay_fit_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/predator.inc b/materialsystem/stdshaders/vshtmp9/predator.inc new file mode 100644 index 0000000..fed889e --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/predator.inc @@ -0,0 +1,82 @@ +class predator_Static_Index +{ +public: + predator_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class predator_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + predator_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/rendertargetblit_vs11.inc b/materialsystem/stdshaders/vshtmp9/rendertargetblit_vs11.inc new file mode 100644 index 0000000..f315ad1 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/rendertargetblit_vs11.inc @@ -0,0 +1,30 @@ +class rendertargetblit_vs11_Static_Index +{ +public: + rendertargetblit_vs11_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class rendertargetblit_vs11_Dynamic_Index +{ +public: + rendertargetblit_vs11_Dynamic_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/shadow_vs14.inc b/materialsystem/stdshaders/vshtmp9/shadow_vs14.inc new file mode 100644 index 0000000..97572d5 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/shadow_vs14.inc @@ -0,0 +1,57 @@ +class shadow_vs14_Static_Index +{ +public: + shadow_vs14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class shadow_vs14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + shadow_vs14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/sprite_vs11.inc b/materialsystem/stdshaders/vshtmp9/sprite_vs11.inc new file mode 100644 index 0000000..daabad6 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/sprite_vs11.inc @@ -0,0 +1,100 @@ +class sprite_vs11_Static_Index +{ +private: + int m_nVERTEXCOLOR; +#ifdef _DEBUG + bool m_bVERTEXCOLOR; +#endif +public: + void SetVERTEXCOLOR( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nVERTEXCOLOR = i; +#ifdef _DEBUG + m_bVERTEXCOLOR = true; +#endif + } + void SetVERTEXCOLOR( bool i ) + { + m_nVERTEXCOLOR = i ? 1 : 0; +#ifdef _DEBUG + m_bVERTEXCOLOR = true; +#endif + } +public: + sprite_vs11_Static_Index() + { +#ifdef _DEBUG + m_bVERTEXCOLOR = false; +#endif // _DEBUG + m_nVERTEXCOLOR = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bVERTEXCOLOR; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 2 * m_nVERTEXCOLOR ) + 0; + } +}; +class sprite_vs11_Dynamic_Index +{ +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + } + void SetSKINNING( bool i ) + { + } +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + sprite_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bSKINNING = true; +#endif // _DEBUG + m_nSKINNING = 0; +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bSKINNING && m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nSKINNING ) + ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/unlitgeneric_vs11.inc b/materialsystem/stdshaders/vshtmp9/unlitgeneric_vs11.inc new file mode 100644 index 0000000..fb1bb21 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/unlitgeneric_vs11.inc @@ -0,0 +1,225 @@ +class unlitgeneric_vs11_Static_Index +{ +private: + int m_nDETAIL; +#ifdef _DEBUG + bool m_bDETAIL; +#endif +public: + void SetDETAIL( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDETAIL = i; +#ifdef _DEBUG + m_bDETAIL = true; +#endif + } + void SetDETAIL( bool i ) + { + m_nDETAIL = i ? 1 : 0; +#ifdef _DEBUG + m_bDETAIL = true; +#endif + } +private: + int m_nENVMAP; +#ifdef _DEBUG + bool m_bENVMAP; +#endif +public: + void SetENVMAP( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nENVMAP = i; +#ifdef _DEBUG + m_bENVMAP = true; +#endif + } + void SetENVMAP( bool i ) + { + m_nENVMAP = i ? 1 : 0; +#ifdef _DEBUG + m_bENVMAP = true; +#endif + } +private: + int m_nENVMAPCAMERASPACE; +#ifdef _DEBUG + bool m_bENVMAPCAMERASPACE; +#endif +public: + void SetENVMAPCAMERASPACE( int i ) + { + } + void SetENVMAPCAMERASPACE( bool i ) + { + } +private: + int m_nENVMAPSPHERE; +#ifdef _DEBUG + bool m_bENVMAPSPHERE; +#endif +public: + void SetENVMAPSPHERE( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nENVMAPSPHERE = i; +#ifdef _DEBUG + m_bENVMAPSPHERE = true; +#endif + } + void SetENVMAPSPHERE( bool i ) + { + m_nENVMAPSPHERE = i ? 1 : 0; +#ifdef _DEBUG + m_bENVMAPSPHERE = true; +#endif + } +private: + int m_nVERTEXCOLOR; +#ifdef _DEBUG + bool m_bVERTEXCOLOR; +#endif +public: + void SetVERTEXCOLOR( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nVERTEXCOLOR = i; +#ifdef _DEBUG + m_bVERTEXCOLOR = true; +#endif + } + void SetVERTEXCOLOR( bool i ) + { + m_nVERTEXCOLOR = i ? 1 : 0; +#ifdef _DEBUG + m_bVERTEXCOLOR = true; +#endif + } +private: + int m_nSEPARATEDETAILUVS; +#ifdef _DEBUG + bool m_bSEPARATEDETAILUVS; +#endif +public: + void SetSEPARATEDETAILUVS( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSEPARATEDETAILUVS = i; +#ifdef _DEBUG + m_bSEPARATEDETAILUVS = true; +#endif + } + void SetSEPARATEDETAILUVS( bool i ) + { + m_nSEPARATEDETAILUVS = i ? 1 : 0; +#ifdef _DEBUG + m_bSEPARATEDETAILUVS = true; +#endif + } +public: + unlitgeneric_vs11_Static_Index() + { +#ifdef _DEBUG + m_bDETAIL = false; +#endif // _DEBUG + m_nDETAIL = 0; +#ifdef _DEBUG + m_bENVMAP = false; +#endif // _DEBUG + m_nENVMAP = 0; +#ifdef _DEBUG + m_bENVMAPCAMERASPACE = true; +#endif // _DEBUG + m_nENVMAPCAMERASPACE = 0; +#ifdef _DEBUG + m_bENVMAPSPHERE = false; +#endif // _DEBUG + m_nENVMAPSPHERE = 0; +#ifdef _DEBUG + m_bVERTEXCOLOR = false; +#endif // _DEBUG + m_nVERTEXCOLOR = 0; +#ifdef _DEBUG + m_bSEPARATEDETAILUVS = false; +#endif // _DEBUG + m_nSEPARATEDETAILUVS = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bDETAIL && m_bENVMAP && m_bENVMAPCAMERASPACE && m_bENVMAPSPHERE && m_bVERTEXCOLOR && m_bSEPARATEDETAILUVS; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 4 * m_nDETAIL ) + ( 8 * m_nENVMAP ) + ( 16 * m_nENVMAPCAMERASPACE ) + ( 16 * m_nENVMAPSPHERE ) + ( 32 * m_nVERTEXCOLOR ) + ( 64 * m_nSEPARATEDETAILUVS ) + 0; + } +}; +class unlitgeneric_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + unlitgeneric_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/vertexlitgeneric_flashlight_vs11.inc b/materialsystem/stdshaders/vshtmp9/vertexlitgeneric_flashlight_vs11.inc new file mode 100644 index 0000000..41b87c0 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/vertexlitgeneric_flashlight_vs11.inc @@ -0,0 +1,109 @@ +class vertexlitgeneric_flashlight_vs11_Static_Index +{ +private: + int m_nTEETH; +#ifdef _DEBUG + bool m_bTEETH; +#endif +public: + void SetTEETH( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nTEETH = i; +#ifdef _DEBUG + m_bTEETH = true; +#endif + } + void SetTEETH( bool i ) + { + m_nTEETH = i ? 1 : 0; +#ifdef _DEBUG + m_bTEETH = true; +#endif + } +public: + vertexlitgeneric_flashlight_vs11_Static_Index() + { +#ifdef _DEBUG + m_bTEETH = false; +#endif // _DEBUG + m_nTEETH = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bTEETH; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 4 * m_nTEETH ) + 0; + } +}; +class vertexlitgeneric_flashlight_vs11_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + vertexlitgeneric_flashlight_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + ( 2 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/vortwarp_vs11.inc b/materialsystem/stdshaders/vshtmp9/vortwarp_vs11.inc new file mode 100644 index 0000000..77d43a3 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/vortwarp_vs11.inc @@ -0,0 +1,134 @@ +class vortwarp_vs11_Static_Index +{ +private: + int m_nUNLIT; +#ifdef _DEBUG + bool m_bUNLIT; +#endif +public: + void SetUNLIT( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nUNLIT = i; +#ifdef _DEBUG + m_bUNLIT = true; +#endif + } + void SetUNLIT( bool i ) + { + m_nUNLIT = i ? 1 : 0; +#ifdef _DEBUG + m_bUNLIT = true; +#endif + } +private: + int m_nHALF_LAMBERT; +#ifdef _DEBUG + bool m_bHALF_LAMBERT; +#endif +public: + void SetHALF_LAMBERT( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nHALF_LAMBERT = i; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } + void SetHALF_LAMBERT( bool i ) + { + m_nHALF_LAMBERT = i ? 1 : 0; +#ifdef _DEBUG + m_bHALF_LAMBERT = true; +#endif + } +public: + vortwarp_vs11_Static_Index() + { +#ifdef _DEBUG + m_bUNLIT = false; +#endif // _DEBUG + m_nUNLIT = 0; +#ifdef _DEBUG + m_bHALF_LAMBERT = false; +#endif // _DEBUG + m_nHALF_LAMBERT = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllStaticVarsDefined = m_bUNLIT && m_bHALF_LAMBERT; + Assert( bAllStaticVarsDefined ); +#endif // _DEBUG + return ( 44 * m_nUNLIT ) + ( 88 * m_nHALF_LAMBERT ) + 0; + } +}; +class vortwarp_vs11_Dynamic_Index +{ +private: + int m_nLIGHT_COMBO; +#ifdef _DEBUG + bool m_bLIGHT_COMBO; +#endif +public: + void SetLIGHT_COMBO( int i ) + { + Assert( i >= 0 && i <= 21 ); + m_nLIGHT_COMBO = i; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } + void SetLIGHT_COMBO( bool i ) + { + m_nLIGHT_COMBO = i ? 1 : 0; +#ifdef _DEBUG + m_bLIGHT_COMBO = true; +#endif + } +private: + int m_nSKINNING; +#ifdef _DEBUG + bool m_bSKINNING; +#endif +public: + void SetSKINNING( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nSKINNING = i; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } + void SetSKINNING( bool i ) + { + m_nSKINNING = i ? 1 : 0; +#ifdef _DEBUG + m_bSKINNING = true; +#endif + } +public: + vortwarp_vs11_Dynamic_Index() + { +#ifdef _DEBUG + m_bLIGHT_COMBO = false; +#endif // _DEBUG + m_nLIGHT_COMBO = 0; +#ifdef _DEBUG + m_bSKINNING = false; +#endif // _DEBUG + m_nSKINNING = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bLIGHT_COMBO && m_bSKINNING; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nLIGHT_COMBO ) + ( 22 * m_nSKINNING ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/worldvertextransition_seamless.inc b/materialsystem/stdshaders/vshtmp9/worldvertextransition_seamless.inc new file mode 100644 index 0000000..b64798d --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/worldvertextransition_seamless.inc @@ -0,0 +1,57 @@ +class worldvertextransition_seamless_Static_Index +{ +public: + worldvertextransition_seamless_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class worldvertextransition_seamless_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + worldvertextransition_seamless_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/worldvertextransition_vs14.inc b/materialsystem/stdshaders/vshtmp9/worldvertextransition_vs14.inc new file mode 100644 index 0000000..5991050 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/worldvertextransition_vs14.inc @@ -0,0 +1,57 @@ +class worldvertextransition_vs14_Static_Index +{ +public: + worldvertextransition_vs14_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class worldvertextransition_vs14_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + worldvertextransition_vs14_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; diff --git a/materialsystem/stdshaders/vshtmp9/writez.inc b/materialsystem/stdshaders/vshtmp9/writez.inc new file mode 100644 index 0000000..82c36f0 --- /dev/null +++ b/materialsystem/stdshaders/vshtmp9/writez.inc @@ -0,0 +1,57 @@ +class writez_Static_Index +{ +public: + writez_Static_Index() + { + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG +#endif // _DEBUG + return 0; + } +}; +class writez_Dynamic_Index +{ +private: + int m_nDOWATERFOG; +#ifdef _DEBUG + bool m_bDOWATERFOG; +#endif +public: + void SetDOWATERFOG( int i ) + { + Assert( i >= 0 && i <= 1 ); + m_nDOWATERFOG = i; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } + void SetDOWATERFOG( bool i ) + { + m_nDOWATERFOG = i ? 1 : 0; +#ifdef _DEBUG + m_bDOWATERFOG = true; +#endif + } +public: + writez_Dynamic_Index() + { +#ifdef _DEBUG + m_bDOWATERFOG = false; +#endif // _DEBUG + m_nDOWATERFOG = 0; + } + int GetIndex() + { + // Asserts to make sure that we aren't using any skipped combinations. + // Asserts to make sure that we are setting all of the combination vars. +#ifdef _DEBUG + bool bAllDynamicVarsDefined = m_bDOWATERFOG; + Assert( bAllDynamicVarsDefined ); +#endif // _DEBUG + return ( 1 * m_nDOWATERFOG ) + 0; + } +}; |