mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Re-add the font outline from the Flash/mobile versions
This uncomments the code for the font outline. Now, you will see the font outline on text that had it in the Flash version, most notably "- Press ENTER to Teleport -" and the time trial overlay text. This also fixes a problem with the commented code, where un-centered text didn't outline properly.
This commit is contained in:
parent
b8e611a3bf
commit
406e1b70d6
1 changed files with 13 additions and 13 deletions
|
@ -380,19 +380,19 @@ void Graphics::bprint( int x, int y, std::string t, int r, int g, int b, bool ce
|
|||
{
|
||||
|
||||
//printmask(x, y, t, cen);
|
||||
//Print(x, y - 1, t, 0, 0, 0, cen);
|
||||
//if (cen)
|
||||
//{
|
||||
// //TODO find different
|
||||
// PrintOff(-1, y, t, 0, 0, 0, cen);
|
||||
// PrintOff(1, y, t, 0, 0, 0, cen);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// Print(x -1, y, t, 0, 0, 0, cen);
|
||||
// Print(x , y, t, 0, 0, 0, cen);
|
||||
//}
|
||||
//Print(x, y+1, t, 0, 0, 0, cen);
|
||||
Print(x, y - 1, t, 0, 0, 0, cen);
|
||||
if (cen)
|
||||
{
|
||||
//TODO find different
|
||||
PrintOff(-1, y, t, 0, 0, 0, cen);
|
||||
PrintOff(1, y, t, 0, 0, 0, cen);
|
||||
}
|
||||
else
|
||||
{
|
||||
Print(x -1, y, t, 0, 0, 0, cen);
|
||||
Print(x +1, y, t, 0, 0, 0, cen);
|
||||
}
|
||||
Print(x, y+1, t, 0, 0, 0, cen);
|
||||
|
||||
Print(x, y, t, r, g, b, cen);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue