[Scummvm-git-logs] scummvm master -> c9e2371340e5be229adde4ad7fa50a596b124e1a
neuromancer
noreply at scummvm.org
Sat Mar 4 20:12:06 UTC 2023
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4e4b038985 FREESCAPE: fixed artifacts when using stipple effect in opengl
c9e2371340 FREESCAPE: fixed _lastMinute initialization for driller amiga/atari
Commit: 4e4b038985ad342405617d38cfa281a14874868c
https://github.com/scummvm/scummvm/commit/4e4b038985ad342405617d38cfa281a14874868c
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2023-03-04T16:09:03-04:00
Commit Message:
FREESCAPE: fixed artifacts when using stipple effect in opengl
Changed paths:
engines/freescape/gfx_opengl.cpp
diff --git a/engines/freescape/gfx_opengl.cpp b/engines/freescape/gfx_opengl.cpp
index db8c9ba1a8b..e504625b1c4 100644
--- a/engines/freescape/gfx_opengl.cpp
+++ b/engines/freescape/gfx_opengl.cpp
@@ -283,7 +283,7 @@ void OpenGLRenderer::setStippleData(byte *data) {
void OpenGLRenderer::useStipple(bool enabled) {
if (enabled) {
glEnable(GL_POLYGON_OFFSET_FILL);
- glPolygonOffset(-5.0f, 1.0f);
+ glPolygonOffset(0.0f, -1.0f);
glEnable(GL_POLYGON_STIPPLE);
glPolygonStipple(_renderMode == Common::kRenderZX ? _variableStippleArray : _defaultStippleArray);
} else {
Commit: c9e2371340e5be229adde4ad7fa50a596b124e1a
https://github.com/scummvm/scummvm/commit/c9e2371340e5be229adde4ad7fa50a596b124e1a
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2023-03-04T16:09:03-04:00
Commit Message:
FREESCAPE: fixed _lastMinute initialization for driller amiga/atari
Changed paths:
engines/freescape/games/driller/driller.cpp
diff --git a/engines/freescape/games/driller/driller.cpp b/engines/freescape/games/driller/driller.cpp
index 752eeed6d96..97ce479a819 100644
--- a/engines/freescape/games/driller/driller.cpp
+++ b/engines/freescape/games/driller/driller.cpp
@@ -1002,8 +1002,11 @@ void DrillerEngine::initGameState() {
_playerHeightNumber = 1;
_playerHeight = _playerHeights[_playerHeightNumber];
removeTimers();
- startCountdown(_initialCountdown);
- _lastMinute = 0;
+ startCountdown(_initialCountdown - 1);
+
+ int seconds, minutes, hours;
+ getTimeFromCountdown(seconds, minutes, hours);
+ _lastMinute = minutes;
_demoIndex = 0;
_demoEvents.clear();
}
More information about the Scummvm-git-logs
mailing list