Cleanup.
This commit is contained in:
@@ -51,13 +51,11 @@ public:
|
|||||||
static bool MakeValidEditDescription( RString &sPreferredDescription ); // return true if was modified
|
static bool MakeValidEditDescription( RString &sPreferredDescription ); // return true if was modified
|
||||||
|
|
||||||
void SetLoadedFromProfile( ProfileSlot slot ) { m_LoadedFromProfile = slot; }
|
void SetLoadedFromProfile( ProfileSlot slot ) { m_LoadedFromProfile = slot; }
|
||||||
void SetMeter(int meter);
|
void SetMeter( int meter );
|
||||||
void SetCachedRadarValues( const RadarValues v[NUM_PLAYERS] );
|
void SetCachedRadarValues( const RadarValues v[NUM_PLAYERS] );
|
||||||
bool IsAutogen() const; // Was created by autogen?
|
bool IsAutogen() const; // Was created by autogen?
|
||||||
float PredictMeter() const;
|
float PredictMeter() const;
|
||||||
|
|
||||||
StepsType m_StepsType;
|
|
||||||
|
|
||||||
void GetNoteData( NoteData& noteDataOut ) const;
|
void GetNoteData( NoteData& noteDataOut ) const;
|
||||||
void SetNoteData( const NoteData& noteDataNew );
|
void SetNoteData( const NoteData& noteDataNew );
|
||||||
void SetSMNoteData( const RString ¬es_comp );
|
void SetSMNoteData( const RString ¬es_comp );
|
||||||
@@ -69,7 +67,10 @@ public:
|
|||||||
// Lua
|
// Lua
|
||||||
void PushSelf( lua_State *L );
|
void PushSelf( lua_State *L );
|
||||||
|
|
||||||
protected:
|
StepsType m_StepsType;
|
||||||
|
private:
|
||||||
|
inline const Steps *Real() const { return parent ? parent : this; }
|
||||||
|
|
||||||
/* If this Steps is autogenerated, this will point to the autogen
|
/* If this Steps is autogenerated, this will point to the autogen
|
||||||
* source. If this is true, m_sNoteDataCompressed will always be empty. */
|
* source. If this is true, m_sNoteDataCompressed will always be empty. */
|
||||||
const Steps *parent;
|
const Steps *parent;
|
||||||
@@ -81,8 +82,6 @@ protected:
|
|||||||
mutable bool m_bNoteDataIsFilled;
|
mutable bool m_bNoteDataIsFilled;
|
||||||
mutable RString m_sNoteDataCompressed;
|
mutable RString m_sNoteDataCompressed;
|
||||||
|
|
||||||
inline const Steps *Real() const { return parent ? parent : this; }
|
|
||||||
|
|
||||||
RString m_sFilename;
|
RString m_sFilename;
|
||||||
bool m_bSavedToDisk; // true if this was loaded from disk or has been saved to disk.
|
bool m_bSavedToDisk; // true if this was loaded from disk or has been saved to disk.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user