move singleton map out of the header
This commit is contained in:
@@ -27,8 +27,15 @@
|
||||
#include "RageDisplay.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
RageTextureManager* TEXTUREMAN = NULL;
|
||||
|
||||
namespace
|
||||
{
|
||||
map<RageTextureID, RageTexture*> m_mapPathToTexture;
|
||||
};
|
||||
|
||||
RageTextureManager::RageTextureManager()
|
||||
{
|
||||
m_iNoWarnAboutOddDimensions = 0;
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
|
||||
#include "RageTexture.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
struct RageTextureManagerPrefs
|
||||
{
|
||||
int m_iTextureColorDepth;
|
||||
@@ -93,7 +91,6 @@ private:
|
||||
RageTexture* LoadTextureInternal( RageTextureID ID );
|
||||
|
||||
RageTextureManagerPrefs m_Prefs;
|
||||
std::map<RageTextureID, RageTexture*> m_mapPathToTexture;
|
||||
int m_iNoWarnAboutOddDimensions;
|
||||
RageTextureID::TexPolicy m_TexturePolicy;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user