save memory by loading SMData from cache on demand
This commit is contained in:
@@ -36,6 +36,7 @@ public:
|
||||
int GetMeter() const { return Real()->m_iMeter; }
|
||||
const RadarValues& GetRadarValues() const { return Real()->m_RadarValues; }
|
||||
|
||||
void SetFile( CString fn );
|
||||
void SetDescription(CString desc);
|
||||
void SetDifficulty(Difficulty d);
|
||||
void SetLoadedFromProfile( ProfileSlot slot ) { m_LoadedFromProfile = slot; }
|
||||
@@ -70,6 +71,8 @@ protected:
|
||||
|
||||
const Steps *Real() const;
|
||||
|
||||
CString m_sFilename;
|
||||
|
||||
/* These values are pulled from the autogen source first, if there is one. */
|
||||
ProfileSlot m_LoadedFromProfile; // PROFILE_SLOT_INVALID if wasn't loaded from a profile
|
||||
unsigned m_uHash; // only used if m_Difficulty == DIFFICULTY_EDIT
|
||||
|
||||
Reference in New Issue
Block a user