mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
- 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:
parent
80d1b71899
commit
aef59ef523
10 changed files with 150 additions and 505 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue