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.

32 lines
749 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef SYS_MAINWIND_H
  7. #define SYS_MAINWIND_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. FORWARD_DECLARE_HANDLE( InputContextHandle_t );
  12. int MapEngineKeyToVirtualKey( int keyCode );
  13. // Pause VCR playback.
  14. void VCR_EnterPausedState();
  15. // During VCR playback, this can be adjusted to slow down the playback.
  16. extern int g_iVCRPlaybackSleepInterval;
  17. // During VCR playback, if this is true, then it'll pause at the end of each frame.
  18. extern bool g_bVCRSingleStep;
  19. extern bool g_bShowVCRPlaybackDisplay;
  20. InputContextHandle_t GetGameInputContext();
  21. #endif // SYS_MAINWIND_H