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.
54 lines
1.2 KiB
54 lines
1.2 KiB
//========= 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
|
|
|