[Scummvm-cvs-logs] scummvm master -> 9ad3712aa30944fa3bdc5e03eb87499daf626592

m-kiewitz m_kiewitz at users.sourceforge.net
Tue Feb 2 19:59:26 CET 2016


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:
9ad3712aa3 AGI: Add WORKAROUND comment to "render after menu"


Commit: 9ad3712aa30944fa3bdc5e03eb87499daf626592
    https://github.com/scummvm/scummvm/commit/9ad3712aa30944fa3bdc5e03eb87499daf626592
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-02T19:58:55+01:00

Commit Message:
AGI: Add WORKAROUND comment to "render after menu"

see commit 0b75bf37219cf49f274da330a44e81068152599c
Original AGI did not do, what we are doing now

Changed paths:
    engines/agi/menu.cpp



diff --git a/engines/agi/menu.cpp b/engines/agi/menu.cpp
index df77587..3f1cdd2 100644
--- a/engines/agi/menu.cpp
+++ b/engines/agi/menu.cpp
@@ -357,8 +357,9 @@ void GfxMenu::execute() {
 		_text->statusDraw();
 	} else {
 		if (_text->getWindowRowMin() == 0) {
-			// Playarea starts right at the stop, so instead of clearing that part, render it from playarea
+			// WORKAROUND: Playarea starts right at the stop, so instead of clearing that part, render it from playarea
 			// Required for at least Donald Duck
+			// This was not done by original AGI, which means the upper pixel line were cleared in this case.
 			_gfx->render_Block(0, (1 * FONT_VISUAL_HEIGHT) - 1, SCRIPT_WIDTH, FONT_VISUAL_HEIGHT);
 		} else {
 			_text->clearLine(0, 0);






More information about the Scummvm-git-logs mailing list