[Scummvm-git-logs] scummvm master -> 3e3abbd01b89adefe2151704a66d300dbd49abb9
moralrecordings
code at moral.net.au
Thu May 14 11:38:36 UTC 2020
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:
3e3abbd01b DIRECTOR: LINGO: Implement kTheStage*
Commit: 3e3abbd01b89adefe2151704a66d300dbd49abb9
https://github.com/scummvm/scummvm/commit/3e3abbd01b89adefe2151704a66d300dbd49abb9
Author: Scott Percival (code at moral.net.au)
Date: 2020-05-14T19:38:09+08:00
Commit Message:
DIRECTOR: LINGO: Implement kTheStage*
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 78fb2fdded..5f9144eebc 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -466,6 +466,22 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
case kTheSprite:
d = getTheSprite(id, field);
break;
+ case kTheStageBottom:
+ d.type = INT;
+ d.u.i = _vm->getCurrentScore()->_movieRect.bottom;
+ break;
+ case kTheStageLeft:
+ d.type = INT;
+ d.u.i = _vm->getCurrentScore()->_movieRect.left;
+ break;
+ case kTheStageRight:
+ d.type = INT;
+ d.u.i = _vm->getCurrentScore()->_movieRect.right;
+ break;
+ case kTheStageTop:
+ d.type = INT;
+ d.u.i = _vm->getCurrentScore()->_movieRect.top;
+ break;
case kTheStillDown:
d.type = INT;
d.u.i = _vm->getCurrentScore()->_mouseIsDown;
More information about the Scummvm-git-logs
mailing list