- migrated SW cheats to the generic system, removed the more pointless of SWP's cheats and filled in a few blanks.

This commit is contained in:
Christoph Oelckers 2020-08-12 22:24:51 +02:00
parent 80d1b71899
commit aef59ef523
10 changed files with 150 additions and 505 deletions

View file

@ -579,20 +579,9 @@ void DoTheCache(void)
{
if ((TEST(gotpic[i>>3], 1<<(i&7))) && (!tilePtr(i)))
{
// For the hardware renderer precaching the raw pixel data is pointless.
if (videoGetRenderMode() < REND_POLYMOST)
tileLoad(i);
#ifdef USE_OPENGL
if (r_precache) PrecacheHardwareTextures(i);
#endif
cnt++;
if (!(cnt&7))
{
AnimateCacheCursor();
handleevents();
getpackets();
}
// Without palettes this is rather useless...
if (r_precache) PrecacheHardwareTextures(i);
cnt++;
}
}