void CL_EstablishConnection (char *host)
{
sizebuf_t buf;
- byte data[128];
+ qbyte data[128];
buf.maxsize = 128;
buf.cursize = 0;
glowcolor = ent->state_current.glowcolor;
if (glowsize)
{
- byte *tempcolor = (byte *)&d_8to24table[glowcolor];
+ qbyte *tempcolor = (qbyte *)&d_8to24table[glowcolor];
dlightcolor[0] += glowsize * tempcolor[0] * (1.0f / 255.0f);
dlightcolor[1] += glowsize * tempcolor[1] * (1.0f / 255.0f);
dlightcolor[2] += glowsize * tempcolor[2] * (1.0f / 255.0f);
// get basic movement from keyboard
CL_BaseMove (&cmd);
+ IN_PreMove(); // OS independent code
+
// allow mice or other external controllers to add to the move
IN_Move (&cmd);
+ IN_PostMove(); // OS independent code
+
// send the unreliable message
CL_SendMove (&cmd);
}