This commit is contained in:
Steve Checkoway
2006-08-22 13:52:34 +00:00
parent 061e3fb07a
commit b80b3910ef
+4 -5
View File
@@ -56,8 +56,6 @@ public:
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 &notes_comp ); void SetSMNoteData( const RString &notes_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.