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.

49 lines
1.5 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #if !defined( PROTO_VERSION_H )
  9. #define PROTO_VERSION_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. // The current network protocol version. Changing this makes clients and servers incompatible
  14. #define PROTOCOL_VERSION 24
  15. #define DEMO_BACKWARDCOMPATABILITY
  16. // For backward compatibility of demo files (NET_MAX_PAYLOAD_BITS went away)
  17. #define PROTOCOL_VERSION_23 23
  18. // For backward compatibility of demo files (sound index bits used to = 13 )
  19. #define PROTOCOL_VERSION_22 22
  20. // For backward compatibility of demo files (before the special DSP was shipped to public)
  21. #define PROTOCOL_VERSION_21 21
  22. // For backward compatibility of demo files (old-style dynamic model loading)
  23. #define PROTOCOL_VERSION_20 20
  24. // For backward compatibility of demo files (post Halloween sound flag extra bit)
  25. #define PROTOCOL_VERSION_19 19
  26. // For backward compatibility of demo files (pre Halloween sound flag extra bit)
  27. #define PROTOCOL_VERSION_18 18
  28. // For backward compatibility of demo files (MD5 in map version)
  29. #define PROTOCOL_VERSION_17 17
  30. // For backward compatibility of demo files (create string tables compression flag)
  31. #define PROTOCOL_VERSION_14 14
  32. // For backward compatibility of demo files
  33. #define PROTOCOL_VERSION_12 12
  34. // The PROTOCOL_VERSION when replay shipped to public
  35. #define PROTOCOL_VERSION_REPLAY 16
  36. #endif