Counter Strike : Global Offensive Source Code
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.

37 lines
1.2 KiB

  1. //===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
  2. //
  3. //
  4. //
  5. //==================================================================================================
  6. #ifndef SENDPROP_PRIORITIES_H
  7. #define SENDPROP_PRIORITIES_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #define SENDPROP_SIMULATION_TIME_PRIORITY 0
  12. #define SENDPROP_TICKBASE_PRIORITY 1
  13. #define SENDPROP_LOCALPLAYER_ORIGINXY_PRIORITY 2
  14. #define SENDPROP_PLAYER_EYE_ANGLES_PRIORITY 3
  15. #define SENDPROP_LOCALPLAYER_ORIGINZ_PRIORITY 4
  16. #define SENDPROP_PLAYER_VELOCITY_XY_PRIORITY 5
  17. #define SENDPROP_PLAYER_VELOCITY_Z_PRIORITY 6
  18. // Nonlocal players exclude local player origin X and Y, not vice-versa,
  19. // so our props should come after the most frequent local player props
  20. // so we don't eat up their prop index bits.
  21. #define SENDPROP_NONLOCALPLAYER_ORIGINXY_PRIORITY 7
  22. #define SENDPROP_NONLOCALPLAYER_ORIGINZ_PRIORITY 8
  23. #define SENDPROP_CELL_INFO_PRIORITY 32 // SendProp priority for cell bits and x/y/z.
  24. // Set these to a low priority so that they don't push other
  25. // props up -- this saves us from scanning across these 330
  26. // props.
  27. #define SENDPROP_MATCHSTATS_PRIORITY 140
  28. #endif // SENDPROP_PRIORITIES_H