csgo-2018-source/engine/sys_mainwind.h

33 lines
749 B
C
Raw Permalink Normal View History

2021-07-25 12:11:47 +08:00
//===== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
//===========================================================================//
#ifndef SYS_MAINWIND_H
#define SYS_MAINWIND_H
#ifdef _WIN32
#pragma once
#endif
FORWARD_DECLARE_HANDLE( InputContextHandle_t );
int MapEngineKeyToVirtualKey( int keyCode );
// Pause VCR playback.
void VCR_EnterPausedState();
// During VCR playback, this can be adjusted to slow down the playback.
extern int g_iVCRPlaybackSleepInterval;
// During VCR playback, if this is true, then it'll pause at the end of each frame.
extern bool g_bVCRSingleStep;
extern bool g_bShowVCRPlaybackDisplay;
InputContextHandle_t GetGameInputContext();
#endif // SYS_MAINWIND_H