1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

Merge pull request #71 from InfoTeddy/general-improvements

Re-add the font outline from the Flash and mobile versions
This commit is contained in:
Terry Cavanagh 2020-01-16 14:40:11 +01:00 committed by GitHub
commit ede2456af4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
//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);
}