put download status in the application name as requested by Mabus. Nifty idea,

why didn't we think of it? :)
This commit is contained in:
Bill Currie 2000-11-09 19:31:07 +00:00
parent 01853a7b9b
commit 1d4c83b5bb

View file

@ -452,6 +452,8 @@ void CL_ParseDownload (void)
Con_Printf ("%i%%", cls.downloadpercent);
}
#endif
if (percent != cls.downloadpercent)
VID_SetCaption (va ("Downloading %s %d%%", cls.downloadname, percent));
cls.downloadpercent = percent;
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
@ -465,6 +467,7 @@ void CL_ParseDownload (void)
#endif
Qclose (cls.download);
VID_SetCaption (va ("Connecting to %s", cls.servername));
// rename the temp file to it's final name
if (strcmp(cls.downloadtempname, cls.downloadname)) {