Shut up various Trace calls that were clogging the log file uselessly.
This commit is contained in:
+5
-5
@@ -129,7 +129,7 @@ void BannerCache::LoadBanner( RString sBannerPath )
|
||||
{
|
||||
/* The file doesn't exist. It's possible that the banner cache file is
|
||||
* missing, so try to create it. Don't do this first, for efficiency. */
|
||||
LOG->Trace( "Cached banner load of '%s' ('%s') failed, trying to cache ...", sBannerPath.c_str(), sCachePath.c_str() );
|
||||
//LOG->Trace( "Cached banner load of '%s' ('%s') failed, trying to cache ...", sBannerPath.c_str(), sCachePath.c_str() );
|
||||
|
||||
/* Skip the up-to-date check; it failed to load, so it can't be up
|
||||
* to date. */
|
||||
@@ -138,7 +138,7 @@ void BannerCache::LoadBanner( RString sBannerPath )
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG->Trace( "Cached banner load of '%s' ('%s') failed", sBannerPath.c_str(), sCachePath.c_str() );
|
||||
//LOG->Trace( "Cached banner load of '%s' ('%s') failed", sBannerPath.c_str(), sCachePath.c_str() );
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -272,7 +272,7 @@ RageTextureID BannerCache::LoadCachedBanner( RString sBannerPath )
|
||||
if( sBannerPath == "" )
|
||||
return ID;
|
||||
|
||||
LOG->Trace( "BannerCache::LoadCachedBanner(%s): %s", sBannerPath.c_str(), ID.filename.c_str() );
|
||||
//LOG->Trace( "BannerCache::LoadCachedBanner(%s): %s", sBannerPath.c_str(), ID.filename.c_str() );
|
||||
|
||||
/* Hack: make sure Banner::Load doesn't change our return value and end up
|
||||
* reloading. */
|
||||
@@ -308,8 +308,8 @@ RageTextureID BannerCache::LoadCachedBanner( RString sBannerPath )
|
||||
if( TEXTUREMAN->IsTextureRegistered(ID) )
|
||||
return ID; /* It's all set. */
|
||||
|
||||
LOG->Trace( "Loading banner texture %s; src %ix%i; image %ix%i",
|
||||
ID.filename.c_str(), iSourceWidth, iSourceHeight, pImage->w, pImage->h );
|
||||
//LOG->Trace( "Loading banner texture %s; src %ix%i; image %ix%i",
|
||||
// ID.filename.c_str(), iSourceWidth, iSourceHeight, pImage->w, pImage->h );
|
||||
RageTexture *pTexture = new BannerTexture( ID, pImage, iSourceWidth, iSourceHeight );
|
||||
|
||||
ID.Policy = RageTextureID::TEX_VOLATILE;
|
||||
|
||||
@@ -1102,7 +1102,7 @@ bool SMLoader::LoadNoteDataFromSimfile( const RString &path, Steps &out )
|
||||
|
||||
bool SMLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
||||
{
|
||||
LOG->Trace( "Song::LoadFromSMFile(%s)", sPath.c_str() );
|
||||
//LOG->Trace( "Song::LoadFromSMFile(%s)", sPath.c_str() );
|
||||
|
||||
MsdFile msd;
|
||||
if( !msd.ReadFile( sPath, true ) ) // unescape
|
||||
|
||||
@@ -940,7 +940,7 @@ bool SSCLoader::LoadNoteDataFromSimfile( const RString & cachePath, Steps &out )
|
||||
|
||||
bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
||||
{
|
||||
LOG->Trace( "Song::LoadFromSSCFile(%s)", sPath.c_str() );
|
||||
//LOG->Trace( "Song::LoadFromSSCFile(%s)", sPath.c_str() );
|
||||
|
||||
MsdFile msd;
|
||||
if( !msd.ReadFile( sPath, true ) )
|
||||
|
||||
@@ -348,10 +348,10 @@ void RageBitmapTexture::Create()
|
||||
if( actualID.bStretch ) sProperties += "stretch ";
|
||||
if( actualID.bDither ) sProperties += "dither ";
|
||||
sProperties.erase( sProperties.size()-1 );
|
||||
LOG->Trace( "RageBitmapTexture: Loaded '%s' (%ux%u); %s, source %d,%d; image %d,%d.",
|
||||
actualID.filename.c_str(), GetTextureWidth(), GetTextureHeight(),
|
||||
sProperties.c_str(), m_iSourceWidth, m_iSourceHeight,
|
||||
m_iImageWidth, m_iImageHeight );
|
||||
//LOG->Trace( "RageBitmapTexture: Loaded '%s' (%ux%u); %s, source %d,%d; image %d,%d.",
|
||||
// actualID.filename.c_str(), GetTextureWidth(), GetTextureHeight(),
|
||||
// sProperties.c_str(), m_iSourceWidth, m_iSourceHeight,
|
||||
// m_iImageWidth, m_iImageHeight );
|
||||
}
|
||||
|
||||
void RageBitmapTexture::Destroy()
|
||||
|
||||
@@ -233,7 +233,7 @@ void RageTextureManager::UnloadTexture( RageTexture *t )
|
||||
void RageTextureManager::DeleteTexture( RageTexture *t )
|
||||
{
|
||||
ASSERT( t->m_iRefCount == 0 );
|
||||
LOG->Trace( "RageTextureManager: deleting '%s'.", t->GetID().filename.c_str() );
|
||||
//LOG->Trace( "RageTextureManager: deleting '%s'.", t->GetID().filename.c_str() );
|
||||
|
||||
map<RageTexture*, RageTextureID>::iterator id_entry=
|
||||
m_texture_ids_by_pointer.find(t);
|
||||
|
||||
@@ -642,7 +642,7 @@ void ScreenManager::PrepareScreen( const RString &sScreenName )
|
||||
}
|
||||
*/
|
||||
|
||||
TEXTUREMAN->DiagnosticOutput();
|
||||
//TEXTUREMAN->DiagnosticOutput();
|
||||
}
|
||||
|
||||
void ScreenManager::GroupScreen( const RString &sScreenName )
|
||||
|
||||
Reference in New Issue
Block a user