aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova2/screen.cpp
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-06-18 10:31:49 +0200
committerThierry Crozat2019-07-28 15:09:14 +0100
commit83e05ea13f61fdd5d582115c8c2bbd246f70983c (patch)
treea18687fa0a205254a8d231b24d0d63ca9af2dcd9 /engines/supernova2/screen.cpp
parent76142e2e7dddcc41906bdddc1138d452b15de3bc (diff)
downloadscummvm-rg350-83e05ea13f61fdd5d582115c8c2bbd246f70983c.tar.gz
scummvm-rg350-83e05ea13f61fdd5d582115c8c2bbd246f70983c.tar.bz2
scummvm-rg350-83e05ea13f61fdd5d582115c8c2bbd246f70983c.zip
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.
Diffstat (limited to 'engines/supernova2/screen.cpp')
-rw-r--r--engines/supernova2/screen.cpp4
1 files changed, 3 insertions, 1 deletions
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) {