just some cleanup
This commit is contained in:
@@ -1035,8 +1035,8 @@ bool BMSLoader::LoadFromDir( const RString &sDir, Song &out )
|
|||||||
sTag.MakeLower();
|
sTag.MakeLower();
|
||||||
|
|
||||||
// XXX: We should do this with filenames too, I have plenty of examples.
|
// XXX: We should do this with filenames too, I have plenty of examples.
|
||||||
// however, filenames will be trickier, as stuff at the beginning AND
|
// however, filenames will be trickier, as stuff at the beginning AND
|
||||||
// end change per-file, so we'll need a fancier FindLargestInitialSubstring()
|
// end change per-file, so we'll need a fancier FindLargestInitialSubstring()
|
||||||
|
|
||||||
// XXX: This matches (double), but I haven't seen it used. Again, MORE EXAMPLES NEEDED
|
// XXX: This matches (double), but I haven't seen it used. Again, MORE EXAMPLES NEEDED
|
||||||
if( sTag.find('l') != sTag.npos )
|
if( sTag.find('l') != sTag.npos )
|
||||||
|
|||||||
@@ -792,7 +792,6 @@ void ScreenEdit::Init()
|
|||||||
|
|
||||||
m_bDirty = false;
|
m_bDirty = false;
|
||||||
|
|
||||||
|
|
||||||
m_Player->Init( "Player", GAMESTATE->m_pPlayerState[PLAYER_1], NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL );
|
m_Player->Init( "Player", GAMESTATE->m_pPlayerState[PLAYER_1], NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL );
|
||||||
m_Player->CacheAllUsedNoteSkins();
|
m_Player->CacheAllUsedNoteSkins();
|
||||||
GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerController = PC_HUMAN;
|
GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerController = PC_HUMAN;
|
||||||
@@ -829,12 +828,9 @@ void ScreenEdit::Init()
|
|||||||
m_soundSave.Load( THEME->GetPathS("ScreenEdit","save") );
|
m_soundSave.Load( THEME->GetPathS("ScreenEdit","save") );
|
||||||
m_GameplayAssist.Init();
|
m_GameplayAssist.Init();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
m_AutoKeysounds.FinishLoading();
|
m_AutoKeysounds.FinishLoading();
|
||||||
m_pSoundMusic = m_AutoKeysounds.GetSound();
|
m_pSoundMusic = m_AutoKeysounds.GetSound();
|
||||||
|
|
||||||
|
|
||||||
this->HandleScreenMessage( SM_UpdateTextInfo );
|
this->HandleScreenMessage( SM_UpdateTextInfo );
|
||||||
m_bTextInfoNeedsUpdate = true;
|
m_bTextInfoNeedsUpdate = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user