[Scummvm-git-logs] scummvm master -> 520018817a565f5857a603b400ad8de7e3c4c5e7
sev-
noreply at scummvm.org
Mon May 23 22:43:24 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:
520018817a DIRECTOR: Remove STUB for RightMouseUp, RightMouseDown and RomanLingo
Commit: 520018817a565f5857a603b400ad8de7e3c4c5e7
https://github.com/scummvm/scummvm/commit/520018817a565f5857a603b400ad8de7e3c4c5e7
Author: Pragyansh Chaturvedi (r41k0u) (pragyanshchaturvedi18 at gmail.com)
Date: 2022-05-24T00:43:22+02:00
Commit Message:
DIRECTOR: Remove STUB for RightMouseUp, RightMouseDown and RomanLingo
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 d49ec1efc2f..1df64cb195e 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -741,13 +741,16 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
d = g_lingo->_theResult;
break;
case kTheRightMouseDown:
- getTheEntitySTUB(kTheRightMouseDown);
+ d.type = INT;
+ d.u.i = g_system->getEventManager()->getButtonState() & (1 << Common::MOUSE_BUTTON_RIGHT) ? 1 : 0;
break;
case kTheRightMouseUp:
- getTheEntitySTUB(kTheRightMouseUp);
+ d.type = INT;
+ d.u.i = g_system->getEventManager()->getButtonState() & (1 << Common::MOUSE_BUTTON_RIGHT) ? 0 : 1;
break;
case kTheRomanLingo:
- getTheEntitySTUB(kTheRomanLingo);
+ d.type = INT;
+ d.u.i = 0; //Set to FALSE to support non-roman character set in Lingo
break;
case kTheScummvmVersion:
d.type = INT;
More information about the Scummvm-git-logs
mailing list