aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/tier0/vcr_shared.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /mp/src/public/tier0/vcr_shared.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/public/tier0/vcr_shared.h')
-rw-r--r--mp/src/public/tier0/vcr_shared.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/mp/src/public/tier0/vcr_shared.h b/mp/src/public/tier0/vcr_shared.h
new file mode 100644
index 00000000..36ce85ac
--- /dev/null
+++ b/mp/src/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