This commit is contained in:
Glenn Maynard
2003-01-23 04:35:27 +00:00
parent 5d74003de0
commit f92825aecb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ void Background::LoadFromSong( Song* pSong )
case MODE_ANIMATIONS:
{
CStringArray arrayPossibleAnims;
GetDirListing( BG_ANIMS_DIR+"*.*", arrayPossibleAnims, true, true );
GetDirListing( BG_ANIMS_DIR+"*", arrayPossibleAnims, true, true );
// strip out "cvs" and "danger
int i;
for( i=arrayPossibleAnims.size()-1; i>=0; i-- )
+1 -1
View File
@@ -1674,7 +1674,7 @@ void GameManager::GetNoteSkinNames( Game game, CStringArray &AddTo ) const
GameDef* pGameDef = GAMEMAN->GetGameDefForGame( game );
CString sBaseSkinFolder = NOTESKIN_DIR + pGameDef->m_szName + "\\";
GetDirListing( sBaseSkinFolder + "*.*", AddTo, true );
GetDirListing( sBaseSkinFolder + "*", AddTo, true );
// strip out "CVS"
for( int i=AddTo.size()-1; i>=0; i-- )
+1 -1
View File
@@ -30,7 +30,7 @@ void SongCacheIndex::ReadCacheIndex()
LOG->Trace( "Cache format is out of date. Deleting all cache files." );
CStringArray asCacheFileNames;
GetDirListing( "Cache/*.*", asCacheFileNames );
GetDirListing( "Cache/*", asCacheFileNames );
for( unsigned i=0; i<asCacheFileNames.size(); i++ )
DeleteFile( "Cache/" + asCacheFileNames[i] );
CacheIndex.Reset();