diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-16 05:56:49 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-17 10:49:25 -0900 |
commit | a0fb5bfbee29c397459034151edf6f1eb0913481 (patch) | |
tree | 1d35e9db622d91ff40b4c632bd0b1a8e4e6417da /inc | |
parent | 8aa1f407225359a9d0379e7a2dbc7882fb7d17ff (diff) |
Net code refactoring
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common/protocol.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/inc/common/protocol.h b/inc/common/protocol.h index 6ab42fc..a2c3bb6 100644 --- a/inc/common/protocol.h +++ b/inc/common/protocol.h @@ -221,17 +221,18 @@ typedef enum { #define PS_MASK ((1<<PS_BITS)-1) // r1q2 protocol specific extra flags -#define EPS_GUNOFFSET (1<<0) -#define EPS_GUNANGLES (1<<1) -#define EPS_M_VELOCITY2 (1<<2) -#define EPS_M_ORIGIN2 (1<<3) -#define EPS_VIEWANGLE2 (1<<4) -#define EPS_STATS (1<<5) +#define EPS_GUNOFFSET (1<<16) +#define EPS_GUNANGLES (1<<17) +#define EPS_M_VELOCITY2 (1<<18) +#define EPS_M_ORIGIN2 (1<<19) +#define EPS_VIEWANGLE2 (1<<20) +#define EPS_STATS (1<<21) // q2pro protocol specific extra flags -#define EPS_CLIENTNUM (1<<6) +#define EPS_CLIENTNUM (1<<22) -#define EPS_BITS 7 +#define EPS_OFFSET 16 +#define EPS_BITS 23 #define EPS_MASK ((1<<EPS_BITS)-1) //============================================== |