mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Completely remove Graphics::bigprint
The last two deprecated functions are: - Graphics::Print - Graphics::PrintWrap These are used a lot, but they're relatively easy to replace, since the only flag I probably have to immediately worry about is PR_CEN. I do often need to add PR_FONT_* flags but I don't need to add any PR_2X/PR_3X/PR_4X anymore.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
ddaabb3efe
commit
d2461c90ce
@@ -315,7 +315,7 @@ static void editormenurender(int tr, int tg, int tb)
|
||||
switch (game.currentmenuname)
|
||||
{
|
||||
case Menu::ed_settings:
|
||||
graphics.bigprint( -1, 75, loc::gettext("Map Settings"), tr, tg, tb, true);
|
||||
font::print(PR_2X | PR_CEN, -1, 75, loc::gettext("Map Settings"), tr, tg, tb);
|
||||
if (game.currentmenuoption == 3)
|
||||
{
|
||||
if (!game.ghostsenabled)
|
||||
@@ -330,16 +330,16 @@ static void editormenurender(int tr, int tg, int tb)
|
||||
{
|
||||
if(ed.entframe<2)
|
||||
{
|
||||
graphics.bigprint( -1, 35, key.keybuffer+"_", tr, tg, tb, true);
|
||||
font::print(PR_2X | PR_CEN, -1, 35, key.keybuffer+"_", tr, tg, tb);
|
||||
}
|
||||
else
|
||||
{
|
||||
graphics.bigprint( -1, 35, key.keybuffer+" ", tr, tg, tb, true);
|
||||
font::print(PR_2X | PR_CEN, -1, 35, key.keybuffer+" ", tr, tg, tb);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
graphics.bigprint( -1, 35, translate_title(cl.title), tr, tg, tb, true);
|
||||
font::print(PR_2X | PR_CEN, -1, 35, translate_title(cl.title), tr, tg, tb);
|
||||
}
|
||||
std::string creator;
|
||||
if(ed.creatormod)
|
||||
|
||||
Reference in New Issue
Block a user