Counter Strike : Global Offensive Source Code
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.

30 lines
690 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include "cbase.h"
  8. #include "c_func_brush.h"
  9. // memdbgon must be the last include file in a .cpp file!!!
  10. #include "tier0/memdbgon.h"
  11. class C_FuncMonitor : public C_FuncBrush
  12. {
  13. public:
  14. DECLARE_CLASS( C_FuncMonitor, C_FuncBrush );
  15. DECLARE_CLIENTCLASS();
  16. // C_BaseEntity.
  17. public:
  18. virtual bool ShouldDraw();
  19. };
  20. IMPLEMENT_CLIENTCLASS_DT( C_FuncMonitor, DT_FuncMonitor, CFuncMonitor )
  21. END_RECV_TABLE()
  22. bool C_FuncMonitor::ShouldDraw()
  23. {
  24. RANDOM_CEG_TEST_SECRET();
  25. return true;
  26. }