Messed a lot with BMS reading. See changelog.txt.

This commit is contained in:
Chris Danford
2002-01-24 08:01:24 +00:00
parent 38c125ff4d
commit 2f8cd4feb4
10 changed files with 187 additions and 88 deletions
+4 -3
View File
@@ -69,10 +69,8 @@ LPRageTexture RageTextureManager::LoadTexture( CString sTexturePath )
// RageLog( ssprintf("Found that '%s' is already loaded. Using the loaded copy.", sTexturePath) );
pTexture->m_iRefCount++;
}
else
else // the texture is not already loaded
{
RageLog( ssprintf("RageTextureManager: allocating space for '%s'.", sTexturePath) );
CString sDrive, sDir, sFName, sExt;
splitpath( FALSE, sTexturePath, sDrive, sDir, sFName, sExt );
@@ -81,6 +79,9 @@ LPRageTexture RageTextureManager::LoadTexture( CString sTexturePath )
else
pTexture = (LPRageTexture) new RageBitmapTexture( m_pScreen, sTexturePath );
RageLog( "RageTextureManager: allocating space for '%s' (%ux%u).", sTexturePath, pTexture->GetTextureWidth(), pTexture->GetTextureHeight() );
m_mapPathToTexture.SetAt( sTexturePath, pTexture );
}