Steps: add a pointer to the associated Song. not used yet.

This commit is contained in:
Devin J. Pohly
2013-01-20 18:11:17 -05:00
parent da1ebd50ed
commit 1327fa6356
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ static const char *DisplayBPMNames[] =
XToString( DisplayBPM );
LuaXType( DisplayBPM );
Steps::Steps(): m_StepsType(StepsType_Invalid),
Steps::Steps(): m_StepsType(StepsType_Invalid), m_pSong(NULL),
parent(NULL), m_pNoteData(new NoteData), m_bNoteDataIsFilled(false),
m_sNoteDataCompressed(""), m_sFilename(""), m_bSavedToDisk(false),
m_LoadedFromProfile(ProfileSlot_Invalid), m_iHash(0),
+2
View File
@@ -171,6 +171,8 @@ public:
void PushSelf( lua_State *L );
StepsType m_StepsType;
/** @brief The Song these Steps are associated with */
Song *m_pSong;
CachedObject<Steps> m_CachedObject;