X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=protocol.h;h=1dd989b0fb51c00fac5b37dbf3fe00bc2d9c2f88;hb=31c60f86f584447beac6b654e54587229f2c9496;hp=ec4a291a3a5272bbbe5c3d0c45cb16c939441822;hpb=5090f6da276d673f6ee0b149ee2f83ef82f62902;p=xonotic%2Fdarkplaces.git diff --git a/protocol.h b/protocol.h index ec4a291a..1dd989b0 100644 --- a/protocol.h +++ b/protocol.h @@ -57,7 +57,7 @@ void Protocol_Names(char *buffer, size_t buffersize); #define EF_NODEPTHTEST 8192 // LordHavoc: shows through walls #define EF_SELECTABLE 16384 // LordHavoc: highlights when PRYDON_CLIENTCURSOR mouse is over it #define EF_DOUBLESIDED 32768 //[515]: disable cull face for this entity -#define EF_UNUSED16 65536 +#define EF_NOSELFSHADOW 65536 // LordHavoc: does not cast a shadow on itself (or any other EF_NOSELFSHADOW entities) #define EF_UNUSED17 131072 #define EF_UNUSED18 262144 #define EF_UNUSED19 524288 @@ -788,7 +788,7 @@ int EntityState5_DeltaBitsForState(entity_state_t *o, entity_state_t *n); void EntityFrame5_CL_ReadFrame(void); void EntityFrame5_LostFrame(entityframe5_database_t *d, int framenum); void EntityFrame5_AckFrame(entityframe5_database_t *d, int framenum); -void EntityFrame5_WriteFrame(sizebuf_t *msg, int maxsize, entityframe5_database_t *d, int numstates, const entity_state_t *states, int viewentnum, int movesequence); +void EntityFrame5_WriteFrame(sizebuf_t *msg, int maxsize, entityframe5_database_t *d, int numstates, const entity_state_t *states, int viewentnum, int movesequence, qboolean need_empty); extern cvar_t developer_networkentities; @@ -969,7 +969,7 @@ void EntityFrameQW_CL_ReadFrame(qboolean delta); struct client_s; void EntityFrameCSQC_LostFrame(struct client_s *client, int framenum); -void EntityFrameCSQC_WriteFrame (sizebuf_t *msg, int maxsize, int numstates, const entity_state_t *states, int framenum); +qboolean EntityFrameCSQC_WriteFrame (sizebuf_t *msg, int maxsize, int numstates, const entity_state_t *states, int framenum); #endif