1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-21 04:56:01 +08:00

Update from SDK 2013

This commit is contained in:
Kenzzer
2025-02-19 18:36:16 -05:00
committed by Nicholas Hastings
parent e0e01948b8
commit ebd971b421
7471 changed files with 2595606 additions and 1256665 deletions

View File

@ -0,0 +1,54 @@
// ALL SKIP STATEMENTS THAT AFFECT THIS SHADER!!!
// defined $LIGHTING_PREVIEW && defined $FASTPATH && $LIGHTING_PREVIEW && $FASTPATH
#pragma once
#include "shaderlib/cshader.h"
class watercheap_vs20_Static_Index
{
unsigned int m_nBLEND : 2;
#ifdef _DEBUG
bool m_bBLEND : 1;
#endif // _DEBUG
public:
void SetBLEND( int i )
{
Assert( i >= 0 && i <= 1 );
m_nBLEND = i;
#ifdef _DEBUG
m_bBLEND = true;
#endif // _DEBUG
}
watercheap_vs20_Static_Index( )
{
m_nBLEND = 0;
#ifdef _DEBUG
m_bBLEND = false;
#endif // _DEBUG
}
int GetIndex() const
{
Assert( m_bBLEND );
return ( 1 * m_nBLEND ) + 0;
}
};
#define shaderStaticTest_watercheap_vs20 vsh_forgot_to_set_static_BLEND
class watercheap_vs20_Dynamic_Index
{
public:
watercheap_vs20_Dynamic_Index( )
{
}
int GetIndex() const
{
return 0;
}
};
#define shaderDynamicTest_watercheap_vs20 1