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.

41 lines
1.2 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "cbase.h"
  7. #include "simtimer.h"
  8. // memdbgon must be the last include file in a .cpp file!!!
  9. #include "tier0/memdbgon.h"
  10. //-----------------------------------------------------------------------------
  11. BEGIN_SIMPLE_DATADESC( CSimpleSimTimer )
  12. DEFINE_FIELD( m_next, FIELD_TIME ),
  13. END_DATADESC()
  14. BEGIN_SIMPLE_DATADESC_( CSimTimer, CSimpleSimTimer )
  15. DEFINE_FIELD( m_interval, FIELD_FLOAT ),
  16. END_DATADESC()
  17. BEGIN_SIMPLE_DATADESC_( CRandSimTimer, CSimpleSimTimer )
  18. DEFINE_FIELD( m_minInterval, FIELD_FLOAT ),
  19. DEFINE_FIELD( m_maxInterval, FIELD_FLOAT ),
  20. END_DATADESC()
  21. BEGIN_SIMPLE_DATADESC_( CStopwatchBase, CSimpleSimTimer )
  22. DEFINE_FIELD( m_fIsRunning, FIELD_BOOLEAN ),
  23. END_DATADESC()
  24. BEGIN_SIMPLE_DATADESC_( CStopwatch, CStopwatchBase )
  25. DEFINE_FIELD( m_interval, FIELD_FLOAT ),
  26. END_DATADESC()
  27. BEGIN_SIMPLE_DATADESC_( CRandStopwatch, CStopwatchBase )
  28. DEFINE_FIELD( m_minInterval, FIELD_FLOAT ),
  29. DEFINE_FIELD( m_maxInterval, FIELD_FLOAT ),
  30. END_DATADESC()
  31. //-----------------------------------------------------------------------------