mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Draw room names with text outline
This makes it easier to see if you have a translucent room name background.
This commit is contained in:
parent
df83c2d494
commit
2f85c2a8dc
2 changed files with 4 additions and 4 deletions
|
@ -3457,7 +3457,7 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
|
|||
}
|
||||
dwgfx.footerrect.y = 230+ed.roomnamehide;
|
||||
SDL_BlitSurface(dwgfx.footerbuffer, NULL, dwgfx.backBuffer, &dwgfx.footerrect);
|
||||
dwgfx.Print(5,231+ed.roomnamehide,ed.level[ed.levx+(ed.maxwidth*ed.levy)].roomname, 196, 196, 255 - help.glow, true);
|
||||
dwgfx.bprint(5,231+ed.roomnamehide,ed.level[ed.levx+(ed.maxwidth*ed.levy)].roomname, 196, 196, 255 - help.glow, true);
|
||||
dwgfx.bprint(4, 222, "SPACE ^ SHIFT ^", 196, 196, 255 - help.glow, false);
|
||||
dwgfx.bprint(268,222, "("+help.String(ed.levx+1)+","+help.String(ed.levy+1)+")",196, 196, 255 - help.glow, false);
|
||||
}
|
||||
|
|
|
@ -1576,9 +1576,9 @@ void gamerender(Graphics& dwgfx, mapclass& map, Game& game, entityclass& obj, Ut
|
|||
if (map.finalmode)
|
||||
{
|
||||
map.glitchname = map.getglitchname(game.roomx, game.roomy);
|
||||
dwgfx.Print(5, 231, map.glitchname, 196, 196, 255 - help.glow, true);
|
||||
dwgfx.bprint(5, 231, map.glitchname, 196, 196, 255 - help.glow, true);
|
||||
}else{
|
||||
dwgfx.Print(5, 231, map.roomname, 196, 196, 255 - help.glow, true);
|
||||
dwgfx.bprint(5, 231, map.roomname, 196, 196, 255 - help.glow, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2837,7 +2837,7 @@ void towerrender(Graphics& dwgfx, Game& game, mapclass& map, entityclass& obj, U
|
|||
}
|
||||
dwgfx.footerrect.y = 230;
|
||||
SDL_BlitSurface(dwgfx.footerbuffer, NULL, dwgfx.backBuffer, &dwgfx.footerrect);
|
||||
dwgfx.Print(5, 231, map.roomname, 196, 196, 255 - help.glow, true);
|
||||
dwgfx.bprint(5, 231, map.roomname, 196, 196, 255 - help.glow, true);
|
||||
|
||||
//dwgfx.rprint(5, 231,help.String(game.coins), 255 - help.glow/2, 255 - help.glow/2, 196, true);
|
||||
//dwgfx.drawhuetile(311, 230, 48, 1);
|
||||
|
|
Loading…
Reference in a new issue