Team Fortress 2 Source Code as on 22/4/2020
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

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef VCR_SHARED_H
  8. #define VCR_SHARED_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #define VCRFILE_VERSION 2
  13. // Identifiers for the things we record. When playing back, these things should
  14. // be asked for in the exact same order (otherwise, the engine isn't making all
  15. // the calls in the same order).
  16. typedef enum
  17. {
  18. VCREvent_Sys_FloatTime=0,
  19. VCREvent_recvfrom,
  20. VCREvent_SyncToken,
  21. VCREvent_GetCursorPos,
  22. VCREvent_SetCursorPos,
  23. VCREvent_ScreenToClient,
  24. VCREvent_Cmd_Exec,
  25. VCREvent_CmdLine,
  26. VCREvent_RegOpenKeyEx,
  27. VCREvent_RegSetValueEx,
  28. VCREvent_RegQueryValueEx,
  29. VCREvent_RegCreateKeyEx,
  30. VCREvent_RegCloseKey,
  31. VCREvent_PeekMessage,
  32. VCREvent_GameMsg,
  33. VCREvent_GetNumberOfConsoleInputEvents,
  34. VCREvent_ReadConsoleInput,
  35. VCREvent_GetKeyState,
  36. VCREvent_recv,
  37. VCREvent_send,
  38. VCREvent_Generic,
  39. VCREvent_CreateThread,
  40. VCREvent_WaitForSingleObject,
  41. VCREvent_EnterCriticalSection,
  42. VCREvent_Time,
  43. VCREvent_LocalTime,
  44. VCREvent_GenericString,
  45. VCREvent_NUMEVENTS
  46. } VCREvent;
  47. #endif // VCR_SHARED_H