glquake/source/gl_fog.c
2022-06-19 09:53:12 -07:00

21 lines
No EOL
447 B
C

/*
=============
Fog_ParseServerMessage
handle an SVC_FOG message from server
=============
*/
void Fog_ParseServerMessage (void)
{
float start, end, red, green, blue, time;
start = MSG_ReadByte() / 255.0;
end = MSG_ReadByte() / 255.0;
red = MSG_ReadByte() / 255.0;
green = MSG_ReadByte() / 255.0;
blue = MSG_ReadByte() / 255.0;
time = MSG_ReadShort() / 100.0;
// rbaldwin2 -- fixme
//Fog_Update (start, end, red, green, blue, time);
}