csgo-2018-source/engine/sys_mainwind.h
2021-07-24 21:11:47 -07:00

33 lines
749 B
C

//===== Copyright © 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