mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
49 lines
913 B
C++
49 lines
913 B
C++
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;
|
|
}
|
|
};
|