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

dreammaster dreammaster at scummvm.org
Sun Aug 14 08:05:57 CEST 2011


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d23d0d2a17 TSAGE: Change Blue Force detection entries to include GF_ALT_REGIONS flag
ff5b85e160 TSAGE: Completed Scene 109 of Blue Force (Bar-room Introduction scene)


Commit: d23d0d2a17d645dfc8496c053a81491a0da5487f
    https://github.com/scummvm/scummvm/commit/d23d0d2a17d645dfc8496c053a81491a0da5487f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-08-13T23:02:04-07:00

Commit Message:
TSAGE: Change Blue Force detection entries to include GF_ALT_REGIONS flag

This ensures it uses the correct walk region loading code

Changed paths:
    engines/tsage/detection_tables.h



diff --git a/engines/tsage/detection_tables.h b/engines/tsage/detection_tables.h
index 9e7b853..fcab028 100644
--- a/engines/tsage/detection_tables.h
+++ b/engines/tsage/detection_tables.h
@@ -124,7 +124,7 @@ static const tSageGameDescription gameDescriptions[] = {
 			Common::GUIO_NOSPEECH | Common::GUIO_NOSFX
 		},
 		GType_BlueForce,
-		GF_FLOPPY
+		GF_FLOPPY | GF_ALT_REGIONS
 	},
 	// Blue Force CD and First Wave use the same files
 	{
@@ -138,7 +138,7 @@ static const tSageGameDescription gameDescriptions[] = {
 			Common::GUIO_NOSPEECH | Common::GUIO_NOSFX
 		},
 		GType_BlueForce,
-		GF_CD
+		GF_CD | GF_ALT_REGIONS
 	},
 	{ AD_TABLE_END_MARKER, 0, 0 }
 };


Commit: ff5b85e160424e6bce7a0e8a70f98b2d1e9ce642
    https://github.com/scummvm/scummvm/commit/ff5b85e160424e6bce7a0e8a70f98b2d1e9ce642
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-08-13T23:02:44-07:00

Commit Message:
TSAGE: Completed Scene 109 of Blue Force (Bar-room Introduction scene)

Changed paths:
    engines/tsage/blue_force/blueforce_scenes1.cpp
    engines/tsage/blue_force/blueforce_scenes1.h



diff --git a/engines/tsage/blue_force/blueforce_scenes1.cpp b/engines/tsage/blue_force/blueforce_scenes1.cpp
index 8e744a4..cdd8194 100644
--- a/engines/tsage/blue_force/blueforce_scenes1.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes1.cpp
@@ -78,7 +78,7 @@ void BF_Scene100::Action1::setTextStrings(const Common::String &msg1, const Comm
 	_sceneText1._color2 = _globals->_fontColors.foreground;
 	_sceneText1._color3 = _globals->_fontColors.background;
 	_sceneText1.setup(msg1);
-	_sceneText1.setFrame2(-1);
+	_sceneText1.fixPriority(-1);
 	_sceneText1.setPosition(Common::Point(
 		(SCREEN_WIDTH - _sceneText1.getFrame().getBounds().width()) / 2, 202));
 	_sceneText1._moveRate = 30;
@@ -92,7 +92,7 @@ void BF_Scene100::Action1::setTextStrings(const Common::String &msg1, const Comm
 	_sceneText2._color2 = _globals->_fontColors.foreground;
 	_sceneText2._color3 = _globals->_fontColors.background;
 	_sceneText2.setup(msg1);
-	_sceneText2.setFrame2(-1);
+	_sceneText2.fixPriority(-1);
 	GfxSurface textSurface = _sceneText2.getFrame();
 	_sceneText2.setPosition(Common::Point((SCREEN_WIDTH - textSurface.getBounds().width()) / 2, 202));
 	_sceneText2._moveRate = 30;
@@ -223,8 +223,8 @@ void BF_Scene109::Action1::signal() {
 		scene->_protaginist1.show();
 		scene->_bartender.show();
 		scene->_object1.show();
-		scene->_object6.show();
-		scene->_object6.setAction(&scene->_action3);
+		scene->_drunk.show();
+		scene->_drunk.setAction(&scene->_action3);
 		scene->_object2.show();
 		scene->_object9.show();
 		scene->_object9.setAction(&scene->_action2);
@@ -233,30 +233,37 @@ void BF_Scene109::Action1::signal() {
 		setDelay(60);
 		break;
 	case 4:
+		// Start drinking
 		scene->_bartender.setAction(&scene->_sequenceManager4, NULL, 109, &scene->_bartender, &scene->_object2, NULL);
 		scene->_protaginist1.setAction(&scene->_sequenceManager5, NULL, 107, &scene->_protaginist1, NULL);
 		scene->_protaginist2.setAction(&scene->_sequenceManager6, this, 106, &scene->_protaginist2, NULL);
 		break;
 	case 5:
-		scene->setAction(&scene->_sequenceManager6, this, 105, &scene->_object10, NULL);
+		// Open briefcase and pass over disk
+		setAction(&scene->_sequenceManager6, this, 105, &scene->_object10, NULL);
 		break;
 	case 6:
+		// Protaginist 2 walk to the bar
 		scene->_object10.remove();
-		scene->setAction(&scene->_sequenceManager6, this, 100, &scene->_object10, NULL);
+		setAction(&scene->_sequenceManager6, this, 100, &scene->_protaginist2, NULL);
 		break;
 	case 7:
+		// Two thugs enter and walk to table
 		scene->_object7.setAction(&scene->_sequenceManager7, NULL, 103, &scene->_object7, NULL);
 		scene->_object5.setAction(&scene->_sequenceManager8, this, 102, &scene->_object5, NULL);
 		scene->_protaginist2.setAction(&scene->_sequenceManager6, NULL, 104, &scene->_protaginist2, &scene->_bartender, NULL);
 		break;
 	case 8:
-		scene->setAction(&scene->_sequenceManager8, this, 101, &scene->_object5, &scene->_protaginist1, NULL);
+		// Protaginist 1 leaves, protaginist 2 stands up
+		setAction(&scene->_sequenceManager8, this, 101, &scene->_object5, &scene->_protaginist1, NULL);
 		break;
 	case 9:
+		// Shots fired!
 		scene->_protaginist1.setAction(&scene->_sequenceManager5, this, 98, &scene->_protaginist1, NULL);
 		scene->_object7.setAction(&scene->_sequenceManager7, NULL, 99, &scene->_object7, NULL);
 		break;
 	case 10:
+		// End scene
 		scene->_sceneMode = 1;
 		remove();
 		break;
@@ -270,7 +277,7 @@ void BF_Scene109::Action2::signal() {
 
 void BF_Scene109::Action3::signal() {
 	BF_Scene109 *scene = (BF_Scene109 *)BF_GLOBALS._sceneManager._scene;
-	scene->setAction(&scene->_sequenceManager3, this, 108, &scene->_object6, NULL);
+	scene->setAction(&scene->_sequenceManager3, this, 108, &scene->_drunk, NULL);
 }
 
 /*--------------------------------------------------------------------------*/
@@ -338,7 +345,7 @@ void BF_Scene109::postInit(SceneObjectList *OwnerList) {
 	_protaginist2.postInit();
 	_protaginist2.setVisage(119);
 	_protaginist2.setFrame(11);
-	_protaginist2.setFrame2(133);
+	_protaginist2.fixPriority(133);
 	_protaginist2.setPosition(Common::Point(165, 124));
 	_protaginist2.hide();
 
@@ -346,7 +353,7 @@ void BF_Scene109::postInit(SceneObjectList *OwnerList) {
 	_protaginist1.setVisage(118);
 	_protaginist1.setStrip(1);
 	_protaginist1.setFrame(8);
-	_protaginist1.setFrame2(132);
+	_protaginist1.fixPriority(132);
 	_protaginist1.setPosition(Common::Point(143, 125));
 	_protaginist1.hide();
 
@@ -366,13 +373,13 @@ void BF_Scene109::postInit(SceneObjectList *OwnerList) {
 	_object1.setPosition(Common::Point(110, 64));
 	_object1.hide();
 
-	_object6.postInit();
-	_object6.setVisage(120);
-	_object6.setStrip(2);
-	_object6.setFrame(5);
-	_object6.setPriority(-1);
-	_object6.setPosition(Common::Point(127, 97));
-	_object6.hide();
+	_drunk.postInit();
+	_drunk.setVisage(120);
+	_drunk.setStrip(2);
+	_drunk.setFrame(5);
+	_drunk.setPriority(-1);
+	_drunk.setPosition(Common::Point(127, 97));
+	_drunk.hide();
 
 	_object2.postInit();
 	_object2.setVisage(121);
@@ -399,7 +406,7 @@ void BF_Scene109::postInit(SceneObjectList *OwnerList) {
 	_object10.hide();
 
 	BF_GLOBALS._player.disableControl();
-	setAction(&_action1);
+	setAction(&_action1, this);
 }
 
 void BF_Scene109::signal() {
diff --git a/engines/tsage/blue_force/blueforce_scenes1.h b/engines/tsage/blue_force/blueforce_scenes1.h
index b3d16ab..21c1ab4 100644
--- a/engines/tsage/blue_force/blueforce_scenes1.h
+++ b/engines/tsage/blue_force/blueforce_scenes1.h
@@ -101,7 +101,7 @@ public:
 	SequenceManager _sequenceManager4, _sequenceManager5, _sequenceManager6;
 	SequenceManager _sequenceManager7, _sequenceManager8;
 	SceneObject _object1, _object2, _protaginist2, _protaginist1, _object5;
-	SceneObject _object6, _object7, _bartender, _object9, _object10;
+	SceneObject _drunk, _object7, _bartender, _object9, _object10;
 	Text _text;
 	BlueAnimatedSpeaker _speaker;
 	Action1 _action1;






More information about the Scummvm-git-logs mailing list