- Duke: Fix occasional flicker in corner of 'Completed' text. Need to do the text after all backdrop changes.

This commit is contained in:
Mitchell Richters 2020-09-25 09:08:22 +10:00
parent 439633e6db
commit 5e947cd78f

View file

@ -904,8 +904,6 @@ public:
int currentclock = int(clock * 120 / 1'000'000'000); int currentclock = int(clock * 120 / 1'000'000'000);
DrawTexture(twod, tileGetTexture(gfx_offset, true), 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal, TAG_DONE); DrawTexture(twod, tileGetTexture(gfx_offset, true), 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal, TAG_DONE);
if (lastmapname) BigText(160, 20 - 6, lastmapname);
BigText(160, 36 - 6, GStrings("Completed"));
GameText(160, 190, GStrings("PRESSKEY"), 8 - int(sin(currentclock / 10.) * 8), 0); GameText(160, 190, GStrings("PRESSKEY"), 8 - int(sin(currentclock / 10.) * 8), 0);
if (currentclock > (60 * 3)) if (currentclock > (60 * 3))
@ -964,6 +962,9 @@ public:
} }
} }
if (lastmapname) BigText(160, 20 - 6, lastmapname);
BigText(160, 36 - 6, GStrings("Completed"));
if (currentclock > 10240 && currentclock < 10240 + 10240) if (currentclock > 10240 && currentclock < 10240 + 10240)
SetTotalClock(1024); SetTotalClock(1024);