MCPcopy Create free account
hub / github.com/ZDoom/Raze / precache

Function precache

source/games/exhumed/src/init.cpp:86–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84//---------------------------------------------------------------------------
85
86static void precache()
87{
88 if (!r_precache) return;
89
90 precacheMap();
91
92 ExhumedSpriteIterator it;
93 while (auto ac = it.Next())
94 {
95 markTextureForPrecache(ac->spr.spritetexture(), ac->spr.pal);
96 }
97 precacheMarkedTiles();
98}
99
100//---------------------------------------------------------------------------
101//

Callers 1

LoadLevelFunction · 0.85

Calls 5

precacheMapFunction · 0.85
markTextureForPrecacheFunction · 0.85
precacheMarkedTilesFunction · 0.85
spritetextureMethod · 0.80
NextMethod · 0.45

Tested by

no test coverage detected