hl2_src-leak-2017/src/public/tier0/vcr_shared.h

55 lines
1.2 KiB
C

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef VCR_SHARED_H
#define VCR_SHARED_H
#ifdef _WIN32
#pragma once
#endif
#define VCRFILE_VERSION 2
// Identifiers for the things we record. When playing back, these things should
// be asked for in the exact same order (otherwise, the engine isn't making all
// the calls in the same order).
typedef enum
{
VCREvent_Sys_FloatTime=0,
VCREvent_recvfrom,
VCREvent_SyncToken,
VCREvent_GetCursorPos,
VCREvent_SetCursorPos,
VCREvent_ScreenToClient,
VCREvent_Cmd_Exec,
VCREvent_CmdLine,
VCREvent_RegOpenKeyEx,
VCREvent_RegSetValueEx,
VCREvent_RegQueryValueEx,
VCREvent_RegCreateKeyEx,
VCREvent_RegCloseKey,
VCREvent_PeekMessage,
VCREvent_GameMsg,
VCREvent_GetNumberOfConsoleInputEvents,
VCREvent_ReadConsoleInput,
VCREvent_GetKeyState,
VCREvent_recv,
VCREvent_send,
VCREvent_Generic,
VCREvent_CreateThread,
VCREvent_WaitForSingleObject,
VCREvent_EnterCriticalSection,
VCREvent_Time,
VCREvent_LocalTime,
VCREvent_GenericString,
VCREvent_NUMEVENTS
} VCREvent;
#endif // VCR_SHARED_H