add AdditionalTextureHints

This commit is contained in:
Glenn Maynard
2003-10-08 02:52:12 +00:00
parent 5dc94af3da
commit 8dda57f5bc
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -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);
}
+1
View File
@@ -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;