summaryrefslogtreecommitdiff
path: root/common/proto_version.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 /common/proto_version.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'common/proto_version.h')
-rw-r--r--common/proto_version.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/common/proto_version.h b/common/proto_version.h
new file mode 100644
index 0000000..c4e7ca0
--- /dev/null
+++ b/common/proto_version.h
@@ -0,0 +1,49 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+#if !defined( PROTO_VERSION_H )
+#define PROTO_VERSION_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+// The current network protocol version. Changing this makes clients and servers incompatible
+#define PROTOCOL_VERSION 24
+
+#define DEMO_BACKWARDCOMPATABILITY
+
+// For backward compatibility of demo files (NET_MAX_PAYLOAD_BITS went away)
+#define PROTOCOL_VERSION_23 23
+
+// For backward compatibility of demo files (sound index bits used to = 13 )
+#define PROTOCOL_VERSION_22 22
+
+// For backward compatibility of demo files (before the special DSP was shipped to public)
+#define PROTOCOL_VERSION_21 21
+
+// For backward compatibility of demo files (old-style dynamic model loading)
+#define PROTOCOL_VERSION_20 20
+
+// For backward compatibility of demo files (post Halloween sound flag extra bit)
+#define PROTOCOL_VERSION_19 19
+
+// For backward compatibility of demo files (pre Halloween sound flag extra bit)
+#define PROTOCOL_VERSION_18 18
+
+// For backward compatibility of demo files (MD5 in map version)
+#define PROTOCOL_VERSION_17 17
+
+// For backward compatibility of demo files (create string tables compression flag)
+#define PROTOCOL_VERSION_14 14
+
+// For backward compatibility of demo files
+#define PROTOCOL_VERSION_12 12
+
+// The PROTOCOL_VERSION when replay shipped to public
+#define PROTOCOL_VERSION_REPLAY 16
+
+#endif