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:
+1
-1
@@ -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
@@ -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
@@ -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.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user