mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-27 14:22:12 +00:00
21 lines
No EOL
447 B
C
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);
|
|
} |