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.

48 lines
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef GLOBALEVENTPROPERTIES_H
  8. #define GLOBALEVENTPROPERTIES_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class CChoreoScene;
  13. #include "basedialogparams.h"
  14. //-----------------------------------------------------------------------------
  15. // Purpose:
  16. //-----------------------------------------------------------------------------
  17. struct CGlobalEventParams : public CBaseDialogParams
  18. {
  19. int m_nType;
  20. // GlobalEvent descriptive name
  21. char m_szName[ 256 ];
  22. // Pause start time
  23. float m_flStartTime;
  24. // Pause Scene or Cancel Scene ( pause/cancel )
  25. char m_szAction[ 256 ];
  26. bool m_bAutomate;
  27. char m_szType[ 256 ];
  28. // Idle/paused time before action is taken
  29. float m_flWaitTime;
  30. // For loop events
  31. int m_nLoopCount;
  32. float m_flLoopTime;
  33. };
  34. int GlobalEventProperties( CGlobalEventParams *params );
  35. #endif // GLOBALEVENTPROPERTIES_H