add comments

This commit is contained in:
Chris Danford
2005-06-02 21:47:27 +00:00
parent 188f764c3c
commit de113c2d81
+6
View File
@@ -1063,6 +1063,9 @@ void ScreenGameplay::LoadLights()
if( !LIGHTSMAN->IsEnabled() ) if( !LIGHTSMAN->IsEnabled() )
return; return;
//
// First, check if the song has explicit lights
//
m_CabinetLightsNoteData.Init(); m_CabinetLightsNoteData.Init();
ASSERT( GAMESTATE->m_pCurSong ); ASSERT( GAMESTATE->m_pCurSong );
@@ -1073,6 +1076,9 @@ void ScreenGameplay::LoadLights()
return; return;
} }
//
// No explicit lights. Create autogen lights.
//
CString sDifficulty = PREFSMAN->m_sLightsStepsDifficulty; CString sDifficulty = PREFSMAN->m_sLightsStepsDifficulty;
vector<CString> asDifficulties; vector<CString> asDifficulties;
split( sDifficulty, ",", asDifficulties ); split( sDifficulty, ",", asDifficulties );