Today, on "choose your commit message":

Wolfman wanted a better name for the function thanks to its new purpose.

Wolfman wanted everyone to suffer by forcing recompilation of 88 files.

Wolfman wanted a sandwich.
This commit is contained in:
Jason Felds
2011-07-05 15:04:24 -04:00
parent 0a791850d6
commit 7cff5036f5
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2731,7 +2731,7 @@ void ScreenEdit::TransitionEditState( EditState em )
Steps* pSteps = GAMESTATE->m_pCurSteps[PLAYER_1]; Steps* pSteps = GAMESTATE->m_pCurSteps[PLAYER_1];
ASSERT( pSteps ); ASSERT( pSteps );
pSteps->SetNoteData( m_NoteDataEdit ); pSteps->SetNoteData( m_NoteDataEdit );
m_pSong->ReCalculateRadarValuesAndLastBeat(); m_pSong->ReCalculateRadarValuesAndLastSecond();
m_Background.Unload(); m_Background.Unload();
m_Background.LoadFromSong( m_pSong ); m_Background.LoadFromSong( m_pSong );
+3 -3
View File
@@ -540,7 +540,7 @@ void Song::TidyUpData( bool bFromCache )
/* Generate these before we autogen notes, so the new notes can inherit /* Generate these before we autogen notes, so the new notes can inherit
* their source's values. */ * their source's values. */
ReCalculateRadarValuesAndLastBeat( bFromCache ); ReCalculateRadarValuesAndLastSecond( bFromCache );
Trim( m_sMainTitle ); Trim( m_sMainTitle );
Trim( m_sSubTitle ); Trim( m_sSubTitle );
@@ -860,7 +860,7 @@ void Song::TranslateTitles()
m_sMainTitleTranslit, m_sSubTitleTranslit, m_sArtistTranslit ); m_sMainTitleTranslit, m_sSubTitleTranslit, m_sArtistTranslit );
} }
void Song::ReCalculateRadarValuesAndLastBeat( bool bFromCache ) void Song::ReCalculateRadarValuesAndLastSecond( bool bFromCache )
{ {
if( bFromCache && this->GetFirstSecond() >= 0 && this->GetLastSecond() > 0 ) if( bFromCache && this->GetFirstSecond() >= 0 && this->GetLastSecond() > 0 )
{ {
@@ -935,7 +935,7 @@ void Song::Save()
{ {
LOG->Trace( "Song::SaveToSongFile()" ); LOG->Trace( "Song::SaveToSongFile()" );
ReCalculateRadarValuesAndLastBeat(); ReCalculateRadarValuesAndLastSecond();
TranslateTitles(); TranslateTitles();
// TODO: Figure out a better way to save to Song's timing data. // TODO: Figure out a better way to save to Song's timing data.
+2 -2
View File
@@ -103,10 +103,10 @@ public:
void TidyUpData( bool bFromCache = false ); void TidyUpData( bool bFromCache = false );
/** /**
* @brief Get the new radar values, and determine the last beat at the same time. * @brief Get the new radar values, and determine the last second at the same time.
* *
* This is called by TidyUpData, after saving the Song. */ * This is called by TidyUpData, after saving the Song. */
void ReCalculateRadarValuesAndLastBeat( bool bFromCache = false ); void ReCalculateRadarValuesAndLastSecond( bool bFromCache = false );
/** /**
* @brief Translate any titles that aren't in english. * @brief Translate any titles that aren't in english.
* *