Project

General

Profile

« Previous | Next » 

Revision c8ca51ef

Added by danij about 16 years ago

Optimized sprite precaching in R_PrecacheLevel. Now only caches the materials of sprites used by states of mobjs actually present on the map. This is more conservative than the previous implementation which would attempt to precache every last sprite. Precaching of sprites is now enabled by default.
This still not ideal as sprites for mobjs created dynamically which weren't on the map at load time will not be precached (e.g., missiles). However, typically such sprites will be smaller and thus quicker to prepare when required.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences