]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - protocol.h
At O.Sezer's recommendation filematch.c has been changed to use
[xonotic/darkplaces.git] / protocol.h
index ec4a291a3a5272bbbe5c3d0c45cb16c939441822..1dd989b0fb51c00fac5b37dbf3fe00bc2d9c2f88 100644 (file)
@@ -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