mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-29 15:23:02 +00:00
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:
parent
01853a7b9b
commit
1d4c83b5bb
1 changed files with 3 additions and 0 deletions
|
@ -452,6 +452,8 @@ void CL_ParseDownload (void)
|
||||||
Con_Printf ("%i%%", cls.downloadpercent);
|
Con_Printf ("%i%%", cls.downloadpercent);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (percent != cls.downloadpercent)
|
||||||
|
VID_SetCaption (va ("Downloading %s %d%%", cls.downloadname, percent));
|
||||||
cls.downloadpercent = percent;
|
cls.downloadpercent = percent;
|
||||||
|
|
||||||
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
||||||
|
@ -465,6 +467,7 @@ void CL_ParseDownload (void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Qclose (cls.download);
|
Qclose (cls.download);
|
||||||
|
VID_SetCaption (va ("Connecting to %s", cls.servername));
|
||||||
|
|
||||||
// rename the temp file to it's final name
|
// rename the temp file to it's final name
|
||||||
if (strcmp(cls.downloadtempname, cls.downloadname)) {
|
if (strcmp(cls.downloadtempname, cls.downloadname)) {
|
||||||
|
|
Loading…
Reference in a new issue