[Scummvm-git-logs] scummvm master -> aaf9f0ae76e9834ca316769200fe2770fad8db08

bluegr noreply at scummvm.org
Sat Dec 5 02:13:33 UTC 2026


This automated email contains information about 5 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
b1886d4b7d NANCY: NANCY19: Give the mouse to the streams in front of the scene
09c517538d NANCY: NANCY19: Draw the tooltips in front of the UI
7dcdf34c3f NANCY: NANCY19: Show all the lines of a conversation at once
4b226e4435 NANCY: NANCY19: Name the saves of the scripts by their autotext
aaf9f0ae76 NANCY: NANCY19: Give a viewed item back when its stream ends


Commit: b1886d4b7da611cff9adf5d2c4891236c9d22d30
    https://github.com/scummvm/scummvm/commit/b1886d4b7da611cff9adf5d2c4891236c9d22d30
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-12-05T04:13:04+02:00

Commit Message:
NANCY: NANCY19: Give the mouse to the streams in front of the scene

A stream that takes the input, like the close-up of the plate in
Nancy19 scene 2065, now gets clicks before the scene behind it.
Before, clicks went through to that scene, e.g. to the blank paper.

Changed paths:
    engines/nancy/state/scenestream.cpp


diff --git a/engines/nancy/state/scenestream.cpp b/engines/nancy/state/scenestream.cpp
index b4e141d1fec..f5404f0daa9 100644
--- a/engines/nancy/state/scenestream.cpp
+++ b/engines/nancy/state/scenestream.cpp
@@ -826,10 +826,11 @@ bool SceneStreamManager::handleInput(NancyInput &input, bool beforeMainStream) {
 			continue;
 		}
 
-		// From Resorting to Danger on, a stream drawn in front of the main one
-		// gets the mouse before it too, like the phone
+		// From Nancy19 on, a stream drawn in front of the main one gets the mouse
+		// before it too, like the phone, or the close-up of the plate that
+		// Nancy19 scene 2065 opens
 		bool isInFront = isBeforeMainStream;
-		if (g_nancy->getGameType() >= kGameTypeNancyDossier2 && stream->getZOffset() > 0) {
+		if (g_nancy->getGameType() >= kGameTypeNancy19 && stream->getZOffset() > 0) {
 			isInFront = true;
 		}
 


Commit: 09c517538d844507f66731b7fb8eb97024816f6f
    https://github.com/scummvm/scummvm/commit/09c517538d844507f66731b7fb8eb97024816f6f
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-12-05T04:13:06+02:00

Commit Message:
NANCY: NANCY19: Draw the tooltips in front of the UI

The tooltips were drawn behind the buttons of the UI, like the save
button of the menu.

Changed paths:
    engines/nancy/ui/ndui/manager.cpp


diff --git a/engines/nancy/ui/ndui/manager.cpp b/engines/nancy/ui/ndui/manager.cpp
index 132d38f5fe9..d63f812a4a5 100644
--- a/engines/nancy/ui/ndui/manager.cpp
+++ b/engines/nancy/ui/ndui/manager.cpp
@@ -118,6 +118,8 @@ void Manager::registerGraphics() {
 		panel->registerGraphics();
 	}
 
+	// Draw tooltips in front of the panels, which are in the layer of the UI
+	_tooltipWindow.setLayer(RenderObject::kUILayer);
 	_tooltipWindow.setNativeResolution(true);
 	_tooltipWindow.setVisible(false);
 	_tooltipWindow.registerGraphics();


Commit: 7dcdf34c3fba68cb7dc6213e0b436dbf4e75bbdf
    https://github.com/scummvm/scummvm/commit/7dcdf34c3fba68cb7dc6213e0b436dbf4e75bbdf
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-12-05T04:13:09+02:00

Commit Message:
NANCY: NANCY19: Show all the lines of a conversation at once

A conversation with several lines shows the text of all of them from
the start, and the box scrolls through them, e.g. Ned's call in Nancy19
scene 1418. Before, the text changed with each line.

Changed paths:
    engines/nancy/script/convo.cpp


diff --git a/engines/nancy/script/convo.cpp b/engines/nancy/script/convo.cpp
index 40411f4ea99..d2d8ba05002 100644
--- a/engines/nancy/script/convo.cpp
+++ b/engines/nancy/script/convo.cpp
@@ -267,8 +267,21 @@ void ConvoRecord::runOnce() {
 
 	UI::NDUI::Manager *ui = NancySceneState.getNDUI();
 	if (ui) {
+		// The text of every line is shown from the start, a line each, and the
+		// box scrolls through them: Ned's call in Nancy19 scene 1418
 		Common::String caption;
-		findText(_soundNames[0], caption);
+		for (uint i = 0; i < _soundNames.size(); ++i) {
+			Common::String text;
+			if (!findText(_soundNames[i], text)) {
+				warning("Missing convo text for %s", _soundNames[i].c_str());
+			}
+
+			if (i > 0) {
+				caption += "<n>";
+			}
+
+			caption += text;
+		}
 
 		Common::Array<Common::String> responseTexts;
 		for (const ConvoResponse *response : _offeredResponses) {
@@ -306,13 +319,6 @@ void ConvoRecord::run(double sceneTime, double elapsedTime) {
 	case kStartLine:
 		_isLineSkipped = false;
 		playSound(_soundNames[_curSound], kCharacterChannel);
-
-		if (_curSound > 0 && ui) {
-			Common::String caption;
-			findText(_soundNames[_curSound], caption);
-			ui->takeAction(UI::NDUI::kActionSetText, "ConvoCCText", caption);
-		}
-
 		_state = kWaitForLine;
 		break;
 	case kWaitForLine:


Commit: 4b226e4435be438a28767ebde56a61c366905246
    https://github.com/scummvm/scummvm/commit/4b226e4435be438a28767ebde56a61c366905246
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-12-05T04:13:10+02:00

Commit Message:
NANCY: NANCY19: Name the saves of the scripts by their autotext

The saves the scripts make are named by the text of their autotext
key, as the second chances look them up by it. Before, choosing to
try again in Nancy19 scene 3192 did nothing.

Changed paths:
    engines/nancy/script/gameapi.cpp


diff --git a/engines/nancy/script/gameapi.cpp b/engines/nancy/script/gameapi.cpp
index 58ffe10c794..335731c02be 100644
--- a/engines/nancy/script/gameapi.cpp
+++ b/engines/nancy/script/gameapi.cpp
@@ -1076,9 +1076,14 @@ static int saveGetScreenshotNames(lua_State *L) {
 	return 1;
 }
 
-// Save:Game(name), which saves the game under a name of the scripts' choosing
+// Save:Game(key), which saves the game under the autotext of the key. The second
+// chances load it by the same key, through Message:Send: Nancy19 scene 3192.
 static int saveGame(lua_State *L) {
-	const char *name = luaL_checkstring(L, 2);
+	const char *key = luaL_checkstring(L, 2);
+	Common::String name;
+	if (!findText(key, name)) {
+		return luaL_error(L, "Save game autotext reference '%s' does not exist", key);
+	}
 
 	UI::NDUI::Manager *ui = NancySceneState.getNDUI();
 	if (ui) {


Commit: aaf9f0ae76e9834ca316769200fe2770fad8db08
    https://github.com/scummvm/scummvm/commit/aaf9f0ae76e9834ca316769200fe2770fad8db08
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-12-05T04:13:12+02:00

Commit Message:
NANCY: NANCY19: Give a viewed item back when its stream ends

Nancy19 to Nancy25 put an item back in the inventory once its scene
is closed, like Nancy17 and Nancy18.

Changed paths:
    engines/nancy/state/scenestream.cpp


diff --git a/engines/nancy/state/scenestream.cpp b/engines/nancy/state/scenestream.cpp
index f5404f0daa9..8dbfa8c2b52 100644
--- a/engines/nancy/state/scenestream.cpp
+++ b/engines/nancy/state/scenestream.cpp
@@ -735,11 +735,12 @@ int SceneStreamManager::getSceneFrame(const Common::String &name) const {
 	return -1;
 }
 
-// Nancy17 takes an item out of the inventory while its scene is up, in a stream
-// named after it. The item's scene doesn't put it back: the stream ending does.
+// Nancy17 to Nancy25 take an item out of the inventory while its scene is up, in
+// a stream named after it. The item's scene doesn't put it back: the stream
+// ending does.
 static void returnViewedItem(const Common::String &streamName) {
 	const INVD *items = GetEngineData(INVD);
-	if (!items || g_nancy->getGameType() >= kGameTypeNancy19) {
+	if (!items || g_nancy->getGameType() >= kGameTypeNancy26) {
 		return;
 	}
 




More information about the Scummvm-git-logs mailing list