add comments
This commit is contained in:
@@ -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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user