- removed time consuming load indicator from Duke3D frontend as well.

This commit is contained in:
Christoph Oelckers 2019-10-20 10:33:08 +02:00
parent c68c50ddca
commit 76bceb81cd
1 changed files with 0 additions and 20 deletions

View File

@ -471,26 +471,6 @@ void G_CacheMapData(void)
if ((++cnt & 7) == 0)
gameHandleEvents();
if (videoGetRenderMode() != REND_CLASSIC && totalclock - clock > (TICRATE>>2))
{
int const percentComplete = min(100, tabledivide32_noinline(100 * cnt, g_precacheCount));
// this just prevents the loading screen percentage bar from making large jumps
while (percentDisplayed < percentComplete)
{
Bsprintf(tempbuf, "Loaded %d%% (%d/%d textures)\n", percentDisplayed, cnt, g_precacheCount);
G_DoLoadScreen(tempbuf, percentDisplayed);
if (totalclock - clock >= 1)
{
clock = (int) totalclock;
percentDisplayed++;
}
}
clock = (int) totalclock;
}
}
Bmemset(gotpic, 0, sizeof(gotpic));