]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
better progress display
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Sun, 26 Apr 2009 18:58:44 +0000 (18:58 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Sun, 26 Apr 2009 18:58:44 +0000 (18:58 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@334 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/common/threads.c

index 8a5fa35a7915f1dc3f6da7158ef994e3e6ae9a00..ed218d6ee960d8992cf41f736fed3537f7cc4080 100644 (file)
@@ -59,13 +59,16 @@ int GetThreadWork (void)
                return -1;
        }
 
-       f = 10*dispatch / workcount;
+       f = 40*dispatch / workcount;
        if (f != oldf)
        {
                oldf = f;
                if (pacifier)
                {
-                       Sys_Printf ("%i...", f);
+                       if(f % 4 == 0)
+                               Sys_Printf("%i", f / 4);
+                       else
+                               Sys_Printf (".");
                        fflush( stdout );       /* ydnar */
                }
        }