mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
- removed time consuming load indicator from Duke3D frontend as well.
This commit is contained in:
parent
c68c50ddca
commit
76bceb81cd
1 changed files with 0 additions and 20 deletions
|
@ -471,26 +471,6 @@ void G_CacheMapData(void)
|
||||||
|
|
||||||
if ((++cnt & 7) == 0)
|
if ((++cnt & 7) == 0)
|
||||||
gameHandleEvents();
|
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));
|
Bmemset(gotpic, 0, sizeof(gotpic));
|
||||||
|
|
Loading…
Reference in a new issue