[Scummvm-git-logs] scummvm master -> a2242d8fa1be2369e94f2accce17f7cebf435d1d
phcoder
noreply at scummvm.org
Sat Jan 21 13:33:17 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:
a2242d8fa1 GLK: Support running on lowres devices
Commit: a2242d8fa1be2369e94f2accce17f7cebf435d1d
https://github.com/scummvm/scummvm/commit/a2242d8fa1be2369e94f2accce17f7cebf435d1d
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-01-21T16:33:13+03: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