From 83e05ea13f61fdd5d582115c8c2bbd246f70983c Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Tue, 18 Jun 2019 10:31:49 +0200 Subject: SUPERNOVA2: Add english translated image This adds translated image of cyphered text inside Cabin room I don't think I can get any closer to the original looks with .pbm format. --- engines/supernova2/screen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/supernova2/screen.cpp') diff --git a/engines/supernova2/screen.cpp b/engines/supernova2/screen.cpp index 82e38af091..60c2179638 100644 --- a/engines/supernova2/screen.cpp +++ b/engines/supernova2/screen.cpp @@ -22,6 +22,7 @@ #include "common/str.h" #include "common/system.h" +#include "common/config-manager.h" #include "engines/util.h" #include "graphics/cursorman.h" #include "graphics/palette.h" @@ -354,7 +355,8 @@ void Screen::renderImageSection(const MS2Image *image, int section, bool invert) image->_section[section].y1, image->_section[section].x2 + 1, image->_section[section].y2 + 1); - if (image->_filenumber == 38) { + if (image->_filenumber == 38 || + (image->_filenumber == 28 && ConfMan.get("language") == "en")) { sectionRect.setWidth(640); sectionRect.setHeight(480); if (_screenWidth != 640) { -- cgit v1.2.3