X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=protocol.h;h=78697e7cdc3a9916f068d3e8882b76b747d7899e;hp=cfb2084e3caeeeb6837155d91f5a56ede5dd4f70;hb=713ff59c3b4958a58e5d1a4365c780c557cb3fcb;hpb=02efab8658065d5337fd5a46263aad99f0d14bb4 diff --git a/protocol.h b/protocol.h index cfb2084e..78697e7c 100644 --- a/protocol.h +++ b/protocol.h @@ -378,8 +378,9 @@ typedef struct entity_state_s unsigned char internaleffects; // INTEF_FLAG1QW and so on unsigned char tagindex; unsigned char colormod[3]; + unsigned char glowmod[3]; // padding to a multiple of 8 bytes (to align the double time) - unsigned char unused[5]; + unsigned char unused[2]; } entity_state_t; @@ -705,8 +706,8 @@ void EntityFrame4_CL_ReadFrame(void); // bits >= (1<<24) #define E5_EXTEND3 (1<<23) -// unused -#define E5_UNUSED24 (1<<24) +// byte[3] = s->glowmod[0], s->glowmod[1], s->glowmod[2] +#define E5_GLOWMOD (1<<24) // unused #define E5_UNUSED25 (1<<25) // unused