just some cleanup

This commit is contained in:
AJ Kelly
2010-08-04 11:17:46 -05:00
parent 7c52f7b3f2
commit 662e8659fe
3 changed files with 8 additions and 12 deletions
+2 -2
View File
@@ -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 )
-4
View File
@@ -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;