mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +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)
|
||||
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));
|
||||
|
|
Loading…
Reference in a new issue