summaryrefslogtreecommitdiff
path: root/replay/cl_performance_common.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /replay/cl_performance_common.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'replay/cl_performance_common.h')
-rw-r--r--replay/cl_performance_common.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/replay/cl_performance_common.h b/replay/cl_performance_common.h
new file mode 100644
index 0000000..5dfcf66
--- /dev/null
+++ b/replay/cl_performance_common.h
@@ -0,0 +1,35 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef CL_PERFORMANCE_COMMON_H
+#define CL_PERFORMANCE_COMMON_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "replay/performance.h"
+
+//----------------------------------------------------------------------------------------
+
+enum PerformanceEventType_t
+{
+ EVENTTYPE_INVALID,
+
+ EVENTTYPE_CAMERA_CHANGE_BEGIN,
+ EVENTTYPE_CAMERA_CHANGE_FIRSTPERSON = EVENTTYPE_CAMERA_CHANGE_BEGIN,
+ EVENTTYPE_CAMERA_CHANGE_THIRDPERSON,
+ EVENTTYPE_CAMERA_CHANGE_FREE,
+ EVENTTYPE_CAMERA_CHANGE_END = EVENTTYPE_CAMERA_CHANGE_FREE,
+
+ EVENTTYPE_CHANGEPLAYER = EVENTTYPE_CAMERA_CHANGE_END + 512, // Leave plenty of room for camera types
+
+ EVENTTYPE_CAMERA_SETVIEW,
+ EVENTTYPE_TIMESCALE,
+};
+
+//----------------------------------------------------------------------------------------
+
+#endif // CL_PERFORMANCE_COMMON_H