summaryrefslogtreecommitdiff
path: root/public/tier0/vcr_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/tier0/vcr_shared.h')
-rw-r--r--public/tier0/vcr_shared.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/public/tier0/vcr_shared.h b/public/tier0/vcr_shared.h
new file mode 100644
index 0000000..d2d5ac7
--- /dev/null
+++ b/public/tier0/vcr_shared.h
@@ -0,0 +1,54 @@
+//========= 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