1
0
Fork 0
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:
Info Teddy 2020-01-13 16:22:26 -08:00
parent b8e611a3bf
commit 406e1b70d6

View file

@ -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); //printmask(x, y, t, cen);
//Print(x, y - 1, t, 0, 0, 0, cen); Print(x, y - 1, t, 0, 0, 0, cen);
//if (cen) if (cen)
//{ {
// //TODO find different //TODO find different
// PrintOff(-1, y, t, 0, 0, 0, cen); PrintOff(-1, y, t, 0, 0, 0, cen);
// PrintOff(1, y, t, 0, 0, 0, cen); PrintOff(1, y, t, 0, 0, 0, cen);
//} }
//else else
//{ {
// Print(x -1, y, t, 0, 0, 0, cen); Print(x -1, y, t, 0, 0, 0, cen);
// Print(x , 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+1, t, 0, 0, 0, cen);
Print(x, y, t, r, g, b, cen); Print(x, y, t, r, g, b, cen);
} }