s/Add/push_back/

This commit is contained in:
Glenn Maynard
2002-10-31 04:23:39 +00:00
parent a041b7cd3e
commit bccaf3560b
36 changed files with 146 additions and 146 deletions
+5 -5
View File
@@ -41,7 +41,7 @@ void BGAnimation::LoadFromStaticGraphic( CString sPath )
BGAnimationLayer* pLayer = new BGAnimationLayer;
pLayer->LoadFromStaticGraphic( sPath );
m_Layers.Add( pLayer );
m_Layers.push_back( pLayer );
m_fFadeSeconds = 0.5f;
}
@@ -73,7 +73,7 @@ void BGAnimation::LoadFromAniDir( CString sAniDir, CString sSongBGPath )
continue; // don't directly load files starting with an underscore
BGAnimationLayer* pLayer = new BGAnimationLayer;
pLayer->LoadFromAniLayerFile( asImagePaths[i], sSongBGPath );
m_Layers.Add( pLayer );
m_Layers.push_back( pLayer );
}
m_fFadeSeconds = 0;
@@ -85,7 +85,7 @@ void BGAnimation::LoadFromMovie( CString sMoviePath, bool bLoop, bool bRewind )
BGAnimationLayer* pLayer = new BGAnimationLayer;
pLayer->LoadFromMovie( sMoviePath, bLoop, bRewind );
m_Layers.Add( pLayer );
m_Layers.push_back( pLayer );
m_fFadeSeconds = 0.5f;
}
@@ -97,11 +97,11 @@ void BGAnimation::LoadFromVisualization( CString sVisPath, CString sSongBGPath )
pLayer = new BGAnimationLayer;
pLayer->LoadFromStaticGraphic( sSongBGPath );
m_Layers.Add( pLayer );
m_Layers.push_back( pLayer );
pLayer = new BGAnimationLayer;
pLayer->LoadFromVisualization( sVisPath );
m_Layers.Add( pLayer );
m_Layers.push_back( pLayer );
m_fFadeSeconds = 0.5f;
}