| 84 | //--------------------------------------------------------------------------- |
| 85 | |
| 86 | static 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 | // |
no test coverage detected