fade between random movies

This commit is contained in:
Chris Danford
2003-04-14 07:11:04 +00:00
parent 68f0baf130
commit 41cc3e60cd
8 changed files with 41 additions and 39 deletions
+3 -1
View File
@@ -292,7 +292,9 @@ void Background::LoadFromSong( Song* pSong )
if( bLoadedAnyRandomBackgrounds )
{
CString sBGName = RANDOM_BACKGROUND[ rand()%MAX_RANDOM_BACKGROUNDS ];
m_aBGChanges.push_back( BackgroundChange(f,sBGName) );
bool bFade = PREFSMAN->m_BackgroundMode==PrefsManager::BGMODE_RANDOMMOVIES ||
PREFSMAN->m_BackgroundMode==PrefsManager::BGMODE_MOVIEVIS;
m_aBGChanges.push_back( BackgroundChange(f,sBGName,1.f,bFade) );
}
}