Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
913 B

  1. class cloud_vs11_Static_Index
  2. {
  3. public:
  4. cloud_vs11_Static_Index()
  5. {
  6. }
  7. int GetIndex()
  8. {
  9. // Asserts to make sure that we aren't using any skipped combinations.
  10. // Asserts to make sure that we are setting all of the combination vars.
  11. #ifdef _DEBUG
  12. #endif // _DEBUG
  13. return 0;
  14. }
  15. };
  16. class cloud_vs11_Dynamic_Index
  17. {
  18. private:
  19. int m_nDOWATERFOG;
  20. #ifdef _DEBUG
  21. bool m_bDOWATERFOG;
  22. #endif
  23. public:
  24. void SetDOWATERFOG( int i )
  25. {
  26. }
  27. void SetDOWATERFOG( bool i )
  28. {
  29. }
  30. public:
  31. cloud_vs11_Dynamic_Index()
  32. {
  33. #ifdef _DEBUG
  34. m_bDOWATERFOG = true;
  35. #endif // _DEBUG
  36. m_nDOWATERFOG = 0;
  37. }
  38. int GetIndex()
  39. {
  40. // Asserts to make sure that we aren't using any skipped combinations.
  41. // Asserts to make sure that we are setting all of the combination vars.
  42. #ifdef _DEBUG
  43. bool bAllDynamicVarsDefined = m_bDOWATERFOG;
  44. Assert( bAllDynamicVarsDefined );
  45. #endif // _DEBUG
  46. return ( 1 * m_nDOWATERFOG ) + 0;
  47. }
  48. };