[Scummvm-git-logs] scummvm branch-2-7 -> f10572265bd2a5fe748da5288fbf3bac093e952a
phcoder
noreply at scummvm.org
Sat Jan 21 19:10:27 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f10572265b GLK: Support running on lowres devices
Commit: f10572265bd2a5fe748da5288fbf3bac093e952a
https://github.com/scummvm/scummvm/commit/f10572265bd2a5fe748da5288fbf3bac093e952a
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-01-21T20:10:16+01:00
Commit Message:
GLK: Support running on lowres devices
Changed paths:
engines/glk/conf.cpp
diff --git a/engines/glk/conf.cpp b/engines/glk/conf.cpp
index 6ee0505f2c5..74482ca5a33 100644
--- a/engines/glk/conf.cpp
+++ b/engines/glk/conf.cpp
@@ -62,8 +62,18 @@ WindowStyleStatic G_STYLES[style_NUMSTYLES] = {
Conf *g_conf;
Conf::Conf(InterpreterType interpType) : _interpType(interpType), _graphics(true),
- _width(640), _height(400), _screenFormat(2, 5, 6, 5, 0, 11, 5, 0, 0),
- _rows(25), _cols(60), _lockRows(0), _lockCols(0), _wPaddingX(0), _wPaddingY(0),
+#ifndef USE_HIGHRES
+ _width(320), _height(200),
+#else
+ _width(640), _height(400),
+#endif
+ _screenFormat(2, 5, 6, 5, 0, 11, 5, 0, 0),
+#ifndef USE_HIGHRES
+ _rows(12), _cols(30),
+#else
+ _rows(25), _cols(60),
+#endif
+ _lockRows(0), _lockCols(0), _wPaddingX(0), _wPaddingY(0),
_wBorderX(0), _wBorderY(0), _tMarginX(7), _tMarginY(7), _gamma(1.0),
_borderColor(0), _borderSave(0),
_windowColor(parseColor(WHITE)), _windowSave(parseColor(WHITE)),
More information about the Scummvm-git-logs
mailing list