[Scummvm-git-logs] scummvm master -> 01dbecc7977decd443e42233bc0e076bf6399e7f

elasota noreply at scummvm.org
Tue Nov 15 07:00: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:
01dbecc797 MTROPOLIS: Add "invalidaterect" property stub.


Commit: 01dbecc7977decd443e42233bc0e076bf6399e7f
    https://github.com/scummvm/scummvm/commit/01dbecc7977decd443e42233bc0e076bf6399e7f
Author: elasota (ejlasota at gmail.com)
Date: 2022-11-15T02:00:09-05:00

Commit Message:
MTROPOLIS: Add "invalidaterect" property stub.

Changed paths:
    engines/mtropolis/runtime.cpp


diff --git a/engines/mtropolis/runtime.cpp b/engines/mtropolis/runtime.cpp
index 51c41d7f433..261c9e08188 100644
--- a/engines/mtropolis/runtime.cpp
+++ b/engines/mtropolis/runtime.cpp
@@ -7985,6 +7985,10 @@ MiniscriptInstructionOutcome VisualElement::writeRefAttribute(MiniscriptThread *
 	} else if (attrib == "layer") {
 		DynamicValueWriteFuncHelper<VisualElement, &VisualElement::scriptSetLayer, true>::create(this, writeProxy);
 		return kMiniscriptInstructionOutcomeContinue;
+	} else if (attrib == "invalidaterect") {
+		// Not sure what this does, MTI uses it frequently
+		DynamicValueWriteDiscardHelper::create(writeProxy);
+		return kMiniscriptInstructionOutcomeContinue;
 	}
 
 	return Element::writeRefAttribute(thread, writeProxy, attrib);




More information about the Scummvm-git-logs mailing list