[Scummvm-git-logs] scummvm master -> 20e963bd503ece2394acc8754f3140d00cc4be18
neuromancer
noreply at scummvm.org
Tue Nov 10 08:40:41 UTC 2026
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
ab0f891470 HYPNO: Fix target cursor color in Wetlands
20e963bd50 HYPNO: Add torpedo cursor in Wetlands
Commit: ab0f8914708c9b5cb3631ddda63995cb934c1438
https://github.com/scummvm/scummvm/commit/ab0f8914708c9b5cb3631ddda63995cb934c1438
Author: hiteshchandra (hiteshchandra2703 at gmail.com)
Date: 2026-11-10T09:40:34+01:00
Commit Message:
HYPNO: Fix target cursor color in Wetlands
The original game draws the target cursor in green (palette slot 251), not blue (252).
Changed paths:
engines/hypno/wet/cursors.cpp
diff --git a/engines/hypno/wet/cursors.cpp b/engines/hypno/wet/cursors.cpp
index c9a3778f364..fce3cb5b22f 100644
--- a/engines/hypno/wet/cursors.cpp
+++ b/engines/hypno/wet/cursors.cpp
@@ -57,19 +57,19 @@ static const byte circleCursor[] = {
0, 0, 0, 0, 250, 250, 250, 250, 250, 0, 0, 0, 0};
static const byte targetCursor[] = {
- 0, 0, 0, 252, 252, 252, 252, 252, 252, 252, 252, 252, 0, 0, 0,
- 0, 0, 252, 0, 0, 250, 250, 250, 250, 250, 0, 0, 252, 0, 0,
- 0, 252, 0, 250, 250, 0, 0, 0, 0, 0, 250, 250, 0, 252, 0,
- 252, 0, 250, 0, 0, 252, 252, 252, 252, 252, 0, 0, 250, 0, 252,
- 252, 0, 250, 0, 252, 0, 0, 0, 0, 0, 252, 0, 250, 0, 252,
- 252, 250, 0, 252, 0, 0, 0, 0, 0, 0, 0, 252, 0, 250, 252,
- 252, 250, 0, 252, 0, 0, 0, 0, 0, 0, 0, 252, 0, 250, 252,
- 252, 250, 0, 252, 0, 0, 0, 0, 0, 0, 0, 252, 0, 250, 252,
- 252, 0, 250, 0, 252, 0, 0, 0, 0, 0, 252, 0, 250, 0, 252,
- 252, 0, 250, 0, 0, 252, 252, 252, 252, 252, 0, 0, 250, 0, 252,
- 0, 252, 0, 250, 250, 0, 0, 0, 0, 0, 250, 250, 0, 252, 0,
- 0, 0, 252, 0, 0, 250, 250, 250, 250, 250, 0, 0, 252, 0, 0,
- 0, 0, 0, 252, 252, 252, 252, 252, 252, 252, 252, 252, 0, 0, 0};
+ 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0,
+ 0, 0, 251, 0, 0, 250, 250, 250, 250, 250, 0, 0, 251, 0, 0,
+ 0, 251, 0, 250, 250, 0, 0, 0, 0, 0, 250, 250, 0, 251, 0,
+ 251, 0, 250, 0, 0, 251, 251, 251, 251, 251, 0, 0, 250, 0, 251,
+ 251, 0, 250, 0, 251, 0, 0, 0, 0, 0, 251, 0, 250, 0, 251,
+ 251, 250, 0, 251, 0, 0, 0, 0, 0, 0, 0, 251, 0, 250, 251,
+ 251, 250, 0, 251, 0, 0, 0, 0, 0, 0, 0, 251, 0, 250, 251,
+ 251, 250, 0, 251, 0, 0, 0, 0, 0, 0, 0, 251, 0, 250, 251,
+ 251, 0, 250, 0, 251, 0, 0, 0, 0, 0, 251, 0, 250, 0, 251,
+ 251, 0, 250, 0, 0, 251, 251, 251, 251, 251, 0, 0, 250, 0, 251,
+ 0, 251, 0, 250, 250, 0, 0, 0, 0, 0, 250, 250, 0, 251, 0,
+ 0, 0, 251, 0, 0, 250, 250, 250, 250, 250, 0, 0, 251, 0, 0,
+ 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0};
static const byte crosshairCursor[] = {
0, 0, 0, 0, 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, 0,
Commit: 20e963bd503ece2394acc8754f3140d00cc4be18
https://github.com/scummvm/scummvm/commit/20e963bd503ece2394acc8754f3140d00cc4be18
Author: hiteshchandra (hiteshchandra2703 at gmail.com)
Date: 2026-11-10T09:40:34+01:00
Commit Message:
HYPNO: Add torpedo cursor in Wetlands
Changed paths:
engines/hypno/wet/arcade.cpp
engines/hypno/wet/cursors.cpp
diff --git a/engines/hypno/wet/arcade.cpp b/engines/hypno/wet/arcade.cpp
index bd4dd370119..1d1f4af155f 100644
--- a/engines/hypno/wet/arcade.cpp
+++ b/engines/hypno/wet/arcade.cpp
@@ -864,6 +864,15 @@ void WetEngine::drawCursorArcade(const Common::Point &mousePos) {
return;
}
+ if (_levelId == 31) {
+ for (uint j = 0; j < _shoots.size(); j++) {
+ if (_shoots[j].name == "SP_BOSS1" || _shoots[j].name == "SP_BOSS2") {
+ changeCursor("torpedo");
+ return;
+ }
+ }
+ }
+
if (i >= 0)
changeCursor("target");
else
diff --git a/engines/hypno/wet/cursors.cpp b/engines/hypno/wet/cursors.cpp
index fce3cb5b22f..57e2b6215db 100644
--- a/engines/hypno/wet/cursors.cpp
+++ b/engines/hypno/wet/cursors.cpp
@@ -71,6 +71,23 @@ static const byte targetCursor[] = {
0, 0, 251, 0, 0, 250, 250, 250, 250, 250, 0, 0, 251, 0, 0,
0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0};
+static const byte torpedoCursor[] = {
+ 0, 0, 0, 0, 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 0, 0,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 0, 0, 250, 0, 0, 0, 0, 250, 0, 0, 0, 0, 250, 0, 0,
+ 0, 0, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, 0};
+
static const byte crosshairCursor[] = {
0, 0, 0, 0, 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 250, 250, 250, 250, 250, 0, 0, 0, 0, 0,
@@ -100,6 +117,7 @@ static const CursorTable cursorTable[] = {
{"arcade", circleCursor, 13, 11, 7, 5},
{"target", targetCursor, 15, 13, 8, 6},
{"crosshair", crosshairCursor, 15, 13, 8, 6},
+ {"torpedo", torpedoCursor, 15, 15, 7, 7},
{nullptr, nullptr, 0, 0, 0, 0}};
void WetEngine::changeCursor(const Common::String &cursor) {
More information about the Scummvm-git-logs
mailing list