Add Banner::BannerTex().

This commit is contained in:
Glenn Maynard
2003-04-19 22:11:08 +00:00
parent b5f84045ac
commit 69e303605e
2 changed files with 11 additions and 2 deletions
+8 -2
View File
@@ -18,6 +18,12 @@
#include "Song.h"
#include "RageTextureManager.h"
RageTextureID Banner::BannerTex( RageTextureID ID )
{
ID.bHotPinkColorKey = true;
ID.bDither = true;
return ID;
}
Banner::Banner()
{
@@ -29,12 +35,12 @@ Banner::Banner()
TEXTUREMAN->CacheTexture( THEME->GetPathToG("Banner roulette") );
TEXTUREMAN->CacheTexture( THEME->GetPathToG("Banner random") );
}
#include "RageLog.h"
bool Banner::Load( RageTextureID ID )
{
/* Song banners often have HOT PINK color keys. */
ID.bHotPinkColorKey = true;
ID.bDither = true;
ID = BannerTex(ID);
m_fPercentScrolling = 0;
m_bScrolling = false;