bed43f712b0dd554024fbefd640cc7b22e2a0a8f
With "if( !m_bDelayedDelete || !t->m_bCacheThis )", if !m_bDelayedDelete, when we preload banners we'll load the texture and then immediately free it. This way, we always keep banners around, even if !m_bDelayedDelete. I'm adding another option to tweak the banner caching. I like the smoother banner changes, but I don't care for the very slow opening of groups. I'm not sure how to handle memory usage. I have about 14 megs of banners. In order to load them all, you just have to open each group once, and 14 megs of PNG is a lot of memory uncompressed. Ideal would be to cache the compressed version, but that'd be a bit of work. I'll add precache-all-at-load, precache-group and no-precache options for now.
Description
Languages
C++
85.7%
Lua
4.3%
C
4.3%
Rich Text Format
2.3%
CMake
1.1%
Other
2%