[Scummvm-cvs-logs] scummvm master -> 621609d23c7aeb7769942f9f6162f9d635167b2a

Strangerke Strangerke at scummvm.org
Tue Dec 3 08:31:56 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:
621609d23c TSAGE: R2R - Get rid of some magic values


Commit: 621609d23c7aeb7769942f9f6162f9d635167b2a
    https://github.com/scummvm/scummvm/commit/621609d23c7aeb7769942f9f6162f9d635167b2a
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-12-02T23:30:54-08:00

Commit Message:
TSAGE: R2R - Get rid of some magic values

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



diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index ed3eb21..07882b5 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -876,8 +876,8 @@ void Scene1100::postInit(SceneObjectList *OwnerList) {
 		R2_GLOBALS._player._moveRate = 30;
 		R2_GLOBALS._player._moveDiff = Common::Point(16, 2);
 
-		_rightLandslide.setup2(1104, 2, 1, 175, 125, 102, 1);
-		_purplePlant.setup2(1102, 5, 1, 216, 167, 1, 0);
+		_rightLandslide.setup2(1104, 2, 1, 175, 125, 102, EFFECT_SHADED);
+		_purplePlant.setup2(1102, 5, 1, 216, 167, 1, EFFECT_NONE);
 
 		_leftImpacts.postInit();
 		_leftImpacts.setup(1113, 2, 1);
@@ -2455,7 +2455,7 @@ void Scene1337::Action1::signal() {
 		scene->_gameBoardSide[0]._outpostStation[0]._card.remove();
 		scene->_gameBoardSide[0]._outpostStation[1]._card.remove();
 
-		scene->_background2.setup2(1332, 5, 1, 165, 95, 110, 1);
+		scene->_background2.setup2(1332, 5, 1, 165, 95, 110, EFFECT_SHADED);
 
 		scene->_gameBoardSide[1]._handCard[0]._card.postInit();
 		scene->_gameBoardSide[1]._handCard[0]._card.setVisage(1332);
@@ -3083,7 +3083,7 @@ void Scene1337::Action2::signal() {
 		break;
 	case 3:
 		scene->_shuffleAnimation._card.remove();
-		scene->_background2.setup2(1332, 5, 1, 162, 95, 110, 1);
+		scene->_background2.setup2(1332, 5, 1, 162, 95, 110, EFFECT_SHADED);
 		scene->_shuffleEndedFl = true;
 		break;
 	default:
@@ -5533,7 +5533,7 @@ void Scene1337::subPostInit() {
 	_field4246 = false;
 	_field424A = -1;
 
-	_background1.setup2(9531, 1, 1, 249, 168, 155, 0);
+	_background1.setup2(9531, 1, 1, 249, 168, 155, EFFECT_NONE);
 
 	_autoplay = false;
 	_instructionsDisplayedFl = 0;






More information about the Scummvm-git-logs mailing list