[Scummvm-git-logs] scummvm master -> 1a76622434633fc7972015d5aeebda1c420cb450

sev- noreply at scummvm.org
Sat Jul 2 10:54:35 UTC 2022


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:
1a76622434 DIRECTOR: LINGO: Implement searchCurrentFolder STUB in Lingo::getTheEntity()


Commit: 1a76622434633fc7972015d5aeebda1c420cb450
    https://github.com/scummvm/scummvm/commit/1a76622434633fc7972015d5aeebda1c420cb450
Author: Pragyansh Chaturvedi (r41k0u) (pragyanshchaturvedi18 at gmail.com)
Date: 2022-07-02T12:54:33+02:00

Commit Message:
DIRECTOR: LINGO: Implement searchCurrentFolder STUB in Lingo::getTheEntity()

Changed paths:
    engines/director/lingo/lingo-the.cpp


diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index 35ac9927462..15f8cdeb0ba 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -812,7 +812,9 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
 		d.u.i = _vm->getVersion();
 		break;
 	case kTheSearchCurrentFolder:
-		getTheEntitySTUB(kTheSearchCurrentFolder);
+		//We always allow searching in current folder
+		warning("BUILDBOT: SearchCurrentFolder is queried");
+		d = Datum(1);
 		break;
 	case kTheSearchPath:
 		d = g_lingo->_searchPath;
@@ -1142,6 +1144,9 @@ void Lingo::setTheEntity(int entity, Datum &id, int field, Datum &d) {
 		// Allow director version change: used for testing version differences via the lingo tests.
 		_vm->setVersion(d.asInt());
 		break;
+	case kTheSearchCurrentFolder:
+		warning("BUILDBOT: Trying to set SearchCurrentFolder lingo property");
+		break;
 	case kTheSelEnd:
 		g_director->getCurrentMovie()->_selEnd = d.asInt();
 		if (movie->_currentEditableTextChannel != 0) {




More information about the Scummvm-git-logs mailing list