[Scummvm-git-logs] scummvm master -> 3470726971087eb65db4b155e606c42611004b60

neuromancer noreply at scummvm.org
Sun Apr 3 11:35:11 UTC 2022


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:
405fe868d9 HYPNO: skipped two black pixels lines in the ship view in wet
3470726971 HYPNO: removed some debug lines in wet


Commit: 405fe868d9ed7f1aaa710de76b16e60ec0397a35
    https://github.com/scummvm/scummvm/commit/405fe868d9ed7f1aaa710de76b16e60ec0397a35
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-04-03T13:35:27+02:00

Commit Message:
HYPNO: skipped two black pixels lines in the ship view in wet

Changed paths:
    engines/hypno/wet/arcade.cpp


diff --git a/engines/hypno/wet/arcade.cpp b/engines/hypno/wet/arcade.cpp
index 292586ae9e6..4a3ae3800dd 100644
--- a/engines/hypno/wet/arcade.cpp
+++ b/engines/hypno/wet/arcade.cpp
@@ -526,7 +526,11 @@ void WetEngine::drawPlayer() {
 	else if (_arcadeMode == "Y4")
 		_playerFrameIdx = 2;
 
-	drawImage(*_playerFrames[_playerFrameIdx], 0, 200 - _playerFrames[_playerFrameIdx]->h + 1, true);
+	int offset = 0;
+	if (_levelId == 31) // Ugly, but seems to be necessary
+		offset = 2;
+
+	drawImage(*_playerFrames[_playerFrameIdx], 0, 200 - _playerFrames[_playerFrameIdx]->h + offset, true);
 }
 
 void WetEngine::drawHealth() {


Commit: 3470726971087eb65db4b155e606c42611004b60
    https://github.com/scummvm/scummvm/commit/3470726971087eb65db4b155e606c42611004b60
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-04-03T13:35:27+02:00

Commit Message:
HYPNO: removed some debug lines in wet

Changed paths:
    engines/hypno/wet/arcade.cpp


diff --git a/engines/hypno/wet/arcade.cpp b/engines/hypno/wet/arcade.cpp
index 4a3ae3800dd..c97495ced1e 100644
--- a/engines/hypno/wet/arcade.cpp
+++ b/engines/hypno/wet/arcade.cpp
@@ -419,10 +419,8 @@ void WetEngine::missedTarget(Shoot *s, ArcadeShooting *arc, MVideo &background)
 }
 
 void WetEngine::missNoTarget(ArcadeShooting *arc, MVideo &background) {
-	debug("miss no target!");
 	for (int i = _shoots.size() - 1; i >= 0; --i) {
 		Shoot *it = &_shoots[i];
-		debug("missed: %d -> %s", i, it->name.c_str());
 		if ((it->name == "SP_BOSS" || it->name == "SP_BOSS1") && !arc->missBoss1Video.empty()) {
 			background.decoder->pauseVideo(true);
 			MVideo video(arc->missBoss1Video, Common::Point(0, 0), false, true, false);




More information about the Scummvm-git-logs mailing list