[Scummvm-cvs-logs] scummvm master -> b76b301d4f4854d143e9e5f6f5c14eaf7e4d3aa7

Strangerke Strangerke at scummvm.org
Fri Nov 22 21:23:53 CET 2013


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:
b76b301d4f TSAGE: R2R - Add a hack to avoid the display of giant character in circular hall (scene 3375)


Commit: b76b301d4f4854d143e9e5f6f5c14eaf7e4d3aa7
    https://github.com/scummvm/scummvm/commit/b76b301d4f4854d143e9e5f6f5c14eaf7e4d3aa7
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-11-22T12:21:55-08:00

Commit Message:
TSAGE: R2R - Add a hack to avoid the display of giant character in circular hall (scene 3375)

Changed paths:
    engines/tsage/ringworld2/ringworld2_scenes3.cpp



diff --git a/engines/tsage/ringworld2/ringworld2_scenes3.cpp b/engines/tsage/ringworld2/ringworld2_scenes3.cpp
index b3b512e..07e3a8a 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes3.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes3.cpp
@@ -1996,11 +1996,11 @@ void Scene3375::postInit(SceneObjectList *OwnerList) {
 	setZoomPercents(126, 55, 200, 167);
 	R2_GLOBALS._player.postInit();
 
-	if (R2_GLOBALS._player._characterIndex == R2_SEEKER) {
+	if (R2_GLOBALS._player._characterIndex == R2_SEEKER)
 		R2_GLOBALS._player._moveDiff = Common::Point(5, 3);
-	} else {
+	else
 		R2_GLOBALS._player._moveDiff = Common::Point(3, 2);
-	}
+
 	R2_GLOBALS._player.changeZoom(-1);
 
 	switch (R2_GLOBALS._player._characterIndex) {
@@ -2191,6 +2191,14 @@ void Scene3375::signal() {
 		_companion2._shade = 4;
 		_webbster._effect = EFFECT_SHADED2;
 		_webbster._shade = 4;
+
+		// HACK: Reset zooms in order to avoid giant characters on the upper right of the screen
+		R2_GLOBALS._player.setZoom(-1);
+		_companion1.setZoom(-1);
+		_companion2.setZoom(-1);
+		_webbster.setZoom(-1);
+		//
+
 		enterArea(_sceneMode);
 		break;
 	case 3379:






More information about the Scummvm-git-logs mailing list