From 94f112e9233d1b21f3ffbb109d6a1a9fe8c380ba Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Sun, 8 May 2011 00:58:03 +0700 Subject: [PATCH] [timingdata] Let's break things! (for now) --- src/Song.h | 5 ++++- src/Steps.h | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Song.h b/src/Song.h index 9c105a5732..4858080d1a 100644 --- a/src/Song.h +++ b/src/Song.h @@ -284,7 +284,10 @@ public: bool Matches(RString sGroup, RString sSong) const; /** @brief The Song's TimingData. */ - TimingData m_Timing; + TimingData m_SongTiming; + + /** @brief The initial offset of a song. */ + float m_fBeat0OffsetInSeconds; typedef vector VBackgroundChange; private: diff --git a/src/Steps.h b/src/Steps.h index fee6204527..5ffb2b625c 100644 --- a/src/Steps.h +++ b/src/Steps.h @@ -31,6 +31,9 @@ public: /** @brief Destroy the Steps that are no longer needed. */ ~Steps(); + /** @brief Timing data */ + TimingData m_SongTiming; + // initializers void AutogenFrom( const Steps *parent, StepsType ntTo ); void CopyFrom( Steps* pSource, StepsType ntTo, float fMusicLengthSeconds );