mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Remove now-unused INSET_RECT_FLAG_FILL_GREY
This commit is contained in:
@@ -185,7 +185,6 @@ constexpr DrawBlendOp kBlendDst = 2 << 2;
|
||||
|
||||
enum
|
||||
{
|
||||
INSET_RECT_FLAG_FILL_GREY = (1 << 2), // 0x04
|
||||
INSET_RECT_FLAG_BORDER_NONE = (1 << 3), // 0x08
|
||||
INSET_RECT_FLAG_FILL_NONE = (1 << 4), // 0x10
|
||||
INSET_RECT_FLAG_BORDER_INSET = (1 << 5), // 0x20
|
||||
|
||||
@@ -96,14 +96,7 @@ void GfxFillRectInset(RenderTarget& rt, const ScreenRect& rect, ColourWithFlags
|
||||
{
|
||||
if (!(flags & INSET_RECT_FLAG_FILL_DONT_LIGHTEN))
|
||||
{
|
||||
if (flags & INSET_RECT_FLAG_FILL_GREY)
|
||||
{
|
||||
fill = ColourMapA[COLOUR_BLACK].light;
|
||||
}
|
||||
else
|
||||
{
|
||||
fill = ColourMapA[colour.colour].lighter;
|
||||
}
|
||||
fill = ColourMapA[colour.colour].lighter;
|
||||
}
|
||||
GfxFillRect(rt, { leftTop + ScreenCoordsXY{ 1, 1 }, rightBottom - ScreenCoordsXY{ 1, 1 } }, fill);
|
||||
}
|
||||
@@ -118,10 +111,6 @@ void GfxFillRectInset(RenderTarget& rt, const ScreenRect& rect, ColourWithFlags
|
||||
|
||||
if (!(flags & INSET_RECT_FLAG_FILL_NONE))
|
||||
{
|
||||
if (flags & INSET_RECT_FLAG_FILL_GREY)
|
||||
{
|
||||
fill = ColourMapA[COLOUR_BLACK].light;
|
||||
}
|
||||
GfxFillRect(rt, { leftTop + ScreenCoordsXY{ 1, 1 }, rightBottom - ScreenCoordsXY{ 1, 1 } }, fill);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user