From 8dda57f5bcce7bc52beb406622f689161a77ae4a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 8 Oct 2003 02:52:12 +0000 Subject: [PATCH] add AdditionalTextureHints --- stepmania/src/RageTexture.cpp | 7 ++++++- stepmania/src/RageTexture.h | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageTexture.cpp b/stepmania/src/RageTexture.cpp index 62bd42e0dd..37d156f0a6 100644 --- a/stepmania/src/RageTexture.cpp +++ b/stepmania/src/RageTexture.cpp @@ -48,6 +48,9 @@ void RageTextureID::Init() /* If true, enable HOT PINK color keying. (deprecated but needed for * banners) */ bHotPinkColorKey = false; + + /* These hints will be used in addition to any in the filename. */ + AdditionalTextureHints = ""; } bool RageTextureID::operator<(const RageTextureID &rhs) const @@ -62,6 +65,7 @@ bool RageTextureID::operator<(const RageTextureID &rhs) const COMP(bDither); COMP(bStretch); COMP(bHotPinkColorKey); + COMP(AdditionalTextureHints); #undef COMP return false; } @@ -78,7 +82,8 @@ bool RageTextureID::operator==(const RageTextureID &rhs) const EQUAL(iColorDepth) && EQUAL(bDither) && EQUAL(bStretch) && - EQUAL(bHotPinkColorKey); + EQUAL(bHotPinkColorKey) && + EQUAL(AdditionalTextureHints); } diff --git a/stepmania/src/RageTexture.h b/stepmania/src/RageTexture.h index 0e9d2754ad..53ac700a68 100644 --- a/stepmania/src/RageTexture.h +++ b/stepmania/src/RageTexture.h @@ -30,6 +30,7 @@ struct RageTextureID bool bDither; bool bStretch; bool bHotPinkColorKey; /* #FF00FF */ + CString AdditionalTextureHints; bool operator< (const RageTextureID &rhs) const; bool operator== (const RageTextureID &rhs) const;