[Scummvm-git-logs] scummvm master -> 826abc57d57388ef90fc5d8e27011d128f073b77
sev-
noreply at scummvm.org
Mon Jun 20 23:03:37 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:
826abc57d5 DIRECTOR: LINGO: Implement Number of Castmembers STUB in Lingo::getTheEntity()
Commit: 826abc57d57388ef90fc5d8e27011d128f073b77
https://github.com/scummvm/scummvm/commit/826abc57d57388ef90fc5d8e27011d128f073b77
Author: Pragyansh Chaturvedi (r41k0u) (pragyanshchaturvedi18 at gmail.com)
Date: 2022-06-21T01:03:34+02:00
Commit Message:
DIRECTOR: LINGO: Implement Number of Castmembers 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 48b511b4843..7848d43efae 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -387,7 +387,11 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
d = getTheCast(id, field);
break;
case kTheCastMembers:
- warning("STUB: Lingo::getTheEntity(): Unprocessed getting field %s of entity %s", field2str(field), entity2str(entity));
+ {
+ d.type = INT;
+ Movie *movie = g_director->getCurrentMovie();
+ d.u.i = movie->getCast()->_loadedCast->size() + movie->_sharedCast->_loadedCast->size();
+ }
break;
case kTheCenterStage:
d.type = INT;
More information about the Scummvm-git-logs
mailing list