From 76bceb81cd5377a11ae48b8e4d1c8f1f7372d1e2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 20 Oct 2019 10:33:08 +0200 Subject: [PATCH] - removed time consuming load indicator from Duke3D frontend as well. --- source/duke3d/src/premap.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/source/duke3d/src/premap.cpp b/source/duke3d/src/premap.cpp index e39ff5ee7..c501bb1f6 100644 --- a/source/duke3d/src/premap.cpp +++ b/source/duke3d/src/premap.cpp @@ -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));