[Scummvm-git-logs] scummvm master -> 87d32c23c01f7a4fee8cd5881f2e7807732a4b35

dreammaster dreammaster at scummvm.org
Fri Jul 21 03:21:30 CEST 2017


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:
87d32c23c0 TITANIC: Extra code in movie debugger command to aid reverse AVI testing


Commit: 87d32c23c01f7a4fee8cd5881f2e7807732a4b35
    https://github.com/scummvm/scummvm/commit/87d32c23c01f7a4fee8cd5881f2e7807732a4b35
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-07-20T21:21:20-04:00

Commit Message:
TITANIC: Extra code in movie debugger command to aid reverse AVI testing

Changed paths:
    engines/titanic/debugger.cpp


diff --git a/engines/titanic/debugger.cpp b/engines/titanic/debugger.cpp
index bd42c95..5f28aed 100644
--- a/engines/titanic/debugger.cpp
+++ b/engines/titanic/debugger.cpp
@@ -280,6 +280,22 @@ bool Debugger::cmdMovie(int argc, const char **argv) {
 	}
 
 	CString filename(argv[1]);
+
+	if (filename == "reverse" || filename == "doubletake") {
+		// Tests reverse playback transparency frames
+		tester->loadMovie("y457.avi");
+		if (filename == "reverse") {
+			tester->playMovie(436, 0, MOVIE_STOP_PREVIOUS);
+		} else {
+			tester->playMovie(436, 432, MOVIE_STOP_PREVIOUS);
+			tester->playMovie(432, 436, 0);
+			tester->playMovie(436, 432, 0);
+			tester->playMovie(432, 436, 0);
+		}
+
+		return false;
+	}
+
 	if (!filename.hasSuffix(".avi"))
 		filename += ".avi";
 	tester->loadMovie(filename);





More information about the Scummvm-git-logs mailing list