From 6c02095d998238c37d5f56c41dde6d8fb4bbe640 Mon Sep 17 00:00:00 2001 From: Dav999-v Date: Sun, 2 Aug 2020 23:38:40 +0200 Subject: [PATCH] Make game save box 16 pixels wider While I'm going to fix #376 anyway to make longer numbers (like Seventy Eight) fit, I decided to also make the box a little wider in advance of the game being localized, those extra chars could be a lifesaver, while you wouldn't really notice the difference if you play the game in English. --- desktop_version/src/Render.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop_version/src/Render.cpp b/desktop_version/src/Render.cpp index 426f59d8..7f4a2371 100644 --- a/desktop_version/src/Render.cpp +++ b/desktop_version/src/Render.cpp @@ -633,7 +633,7 @@ void menurender() { case 0: //Show teleporter save info - graphics.drawpixeltextbox(25, 65-20, 270, 90, 34,12, 65, 185, 207,0,4); + graphics.drawpixeltextbox(17, 65-20, 286, 90, 36,12, 65, 185, 207,0,4); graphics.bigprint(-1, 20, "Tele Save", tr, tg, tb, true); graphics.Print(0, 80-20, game.tele_currentarea, 25, 255 - (help.glow / 2), 255 - (help.glow / 2), true); @@ -649,7 +649,7 @@ void menurender() break; case 1: //Show quick save info - graphics.drawpixeltextbox(25, 65-20, 270, 90, 34,12, 65, 185, 207,0,4); + graphics.drawpixeltextbox(17, 65-20, 286, 90, 36,12, 65, 185, 207,0,4); graphics.bigprint(-1, 20, "Quick Save", tr, tg, tb, true); graphics.Print(0, 80-20, game.quick_currentarea, 25, 255 - (help.glow / 2), 255 - (help.glow / 2), true); @@ -2215,7 +2215,7 @@ void maprender() { graphics.Print(0, 36, "Game saved ok!", 255 - (help.glow / 2), 255 - (help.glow / 2), 255 - (help.glow / 2), true); - graphics.drawpixeltextbox(25, 65, 270, 90, 34,12, 65, 185, 207,0,4); + graphics.drawpixeltextbox(17, 65, 286, 90, 36,12, 65, 185, 207,0,4); if (graphics.flipmode) { @@ -2258,7 +2258,7 @@ void maprender() { graphics.Print(0, 36, "Game saved ok!", 255 - (help.glow / 2), 255 - (help.glow / 2), 255 - (help.glow / 2), true); - graphics.drawpixeltextbox(25, 65, 270, 90, 34,12, 65, 185, 207,0,4); + graphics.drawpixeltextbox(17, 65, 286, 90, 36,12, 65, 185, 207,0,4); if (graphics.flipmode) {