add AdditionalTextureHints
This commit is contained in:
@@ -48,6 +48,9 @@ void RageTextureID::Init()
|
|||||||
/* If true, enable HOT PINK color keying. (deprecated but needed for
|
/* If true, enable HOT PINK color keying. (deprecated but needed for
|
||||||
* banners) */
|
* banners) */
|
||||||
bHotPinkColorKey = false;
|
bHotPinkColorKey = false;
|
||||||
|
|
||||||
|
/* These hints will be used in addition to any in the filename. */
|
||||||
|
AdditionalTextureHints = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RageTextureID::operator<(const RageTextureID &rhs) const
|
bool RageTextureID::operator<(const RageTextureID &rhs) const
|
||||||
@@ -62,6 +65,7 @@ bool RageTextureID::operator<(const RageTextureID &rhs) const
|
|||||||
COMP(bDither);
|
COMP(bDither);
|
||||||
COMP(bStretch);
|
COMP(bStretch);
|
||||||
COMP(bHotPinkColorKey);
|
COMP(bHotPinkColorKey);
|
||||||
|
COMP(AdditionalTextureHints);
|
||||||
#undef COMP
|
#undef COMP
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -78,7 +82,8 @@ bool RageTextureID::operator==(const RageTextureID &rhs) const
|
|||||||
EQUAL(iColorDepth) &&
|
EQUAL(iColorDepth) &&
|
||||||
EQUAL(bDither) &&
|
EQUAL(bDither) &&
|
||||||
EQUAL(bStretch) &&
|
EQUAL(bStretch) &&
|
||||||
EQUAL(bHotPinkColorKey);
|
EQUAL(bHotPinkColorKey) &&
|
||||||
|
EQUAL(AdditionalTextureHints);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ struct RageTextureID
|
|||||||
bool bDither;
|
bool bDither;
|
||||||
bool bStretch;
|
bool bStretch;
|
||||||
bool bHotPinkColorKey; /* #FF00FF */
|
bool bHotPinkColorKey; /* #FF00FF */
|
||||||
|
CString AdditionalTextureHints;
|
||||||
|
|
||||||
bool operator< (const RageTextureID &rhs) const;
|
bool operator< (const RageTextureID &rhs) const;
|
||||||
bool operator== (const RageTextureID &rhs) const;
|
bool operator== (const RageTextureID &rhs) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user