mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add text outline as an accessibility option
This commit is contained in:
@@ -496,6 +496,20 @@ void titlerender(Graphics& dwgfx, mapclass& map, Game& game, entityclass& obj, U
|
||||
}
|
||||
}
|
||||
else if (game.currentmenuoption == 2)
|
||||
{
|
||||
dwgfx.bigprint( -1, 40, "Text Outline", tr, tg, tb, true);
|
||||
dwgfx.Print( -1, 75, "Disables outline on game text", tr, tg, tb, true);
|
||||
// FIXME: Maybe do an outlined print instead? -flibit
|
||||
if (!dwgfx.notextoutline)
|
||||
{
|
||||
dwgfx.Print( -1, 85, "Text outlines are ON.", tr, tg, tb, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
dwgfx.Print( -1, 85, "Text outlines are OFF.", tr/2, tg/2, tb/2, true);
|
||||
}
|
||||
}
|
||||
else if (game.currentmenuoption == 3)
|
||||
{
|
||||
dwgfx.bigprint( -1, 40, "Invincibility", tr, tg, tb, true);
|
||||
dwgfx.Print( -1, 75, "Provided to help disabled gamers", tr, tg, tb, true);
|
||||
@@ -509,7 +523,7 @@ void titlerender(Graphics& dwgfx, mapclass& map, Game& game, entityclass& obj, U
|
||||
dwgfx.Print( -1, 105, "Invincibility is off.", tr/2, tg/2, tb/2, true);
|
||||
}
|
||||
}
|
||||
else if (game.currentmenuoption == 3)
|
||||
else if (game.currentmenuoption == 4)
|
||||
{
|
||||
dwgfx.bigprint( -1, 40, "Game Speed", tr, tg, tb, true);
|
||||
dwgfx.Print( -1, 75, "May be useful for disabled gamers", tr, tg, tb, true);
|
||||
@@ -531,7 +545,7 @@ void titlerender(Graphics& dwgfx, mapclass& map, Game& game, entityclass& obj, U
|
||||
dwgfx.Print( -1, 105, "Game speed is at 40%", tr, tg, tb, true);
|
||||
}
|
||||
}
|
||||
else if (game.currentmenuoption == 4)
|
||||
else if (game.currentmenuoption == 5)
|
||||
{
|
||||
dwgfx.bigprint(-1, 30, "Fake Load Screen", tr, tg, tb, true);
|
||||
if (game.skipfakeload)
|
||||
|
||||
Reference in New Issue
Block a user