add RageTexturePreloader.
This obsoletes Cached and Permanent textures, implementing them more simply: if you want to keep the texture loaded, just load it and keep the texture around as long as you want it. The old "texture policy" scheme of "keep the texture around for the duration of the screen" was ambiguous--we can have any number of screens loaded.
This commit is contained in:
@@ -18,6 +18,7 @@ struct lua_State;
|
||||
#include "Difficulty.h"
|
||||
#include "Course.h"
|
||||
#include "ThemeMetric.h"
|
||||
#include "RageTexturePreloader.h"
|
||||
|
||||
class SongManager
|
||||
{
|
||||
@@ -128,6 +129,7 @@ protected:
|
||||
CStringArray m_sCourseGroupNames;
|
||||
CStringArray m_sCourseGroupBannerPaths; // each course group may have a banner associated with it
|
||||
|
||||
RageTexturePreloader m_TexturePreload;
|
||||
|
||||
ThemeMetric<int> NUM_SONG_GROUP_COLORS;
|
||||
ThemeMetric1D<RageColor> SONG_GROUP_COLOR;
|
||||
|
||||
Reference in New Issue
Block a user