better progress display
git-svn-id: svn://svn.icculus.org/netradiant/trunk@334 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
7c8b8015d5
commit
0d2933a8b4
|
|
@ -59,13 +59,16 @@ int GetThreadWork (void)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
f = 10*dispatch / workcount;
|
f = 40*dispatch / workcount;
|
||||||
if (f != oldf)
|
if (f != oldf)
|
||||||
{
|
{
|
||||||
oldf = f;
|
oldf = f;
|
||||||
if (pacifier)
|
if (pacifier)
|
||||||
{
|
{
|
||||||
Sys_Printf ("%i...", f);
|
if(f % 4 == 0)
|
||||||
|
Sys_Printf("%i", f / 4);
|
||||||
|
else
|
||||||
|
Sys_Printf (".");
|
||||||
fflush( stdout ); /* ydnar */
|
fflush( stdout ); /* ydnar */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user