glquake/source/gl_fog.c

21 lines
447 B
C
Raw Normal View History

2022-06-19 16:53:12 +00:00
/*
=============
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);
}