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

Strangerke Strangerke at scummvm.org
Sun Jan 5 11:34:35 CET 2014


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:
f16f9466f3 TSAGE: R2R Demo - Move the end of demo message to staticres


Commit: f16f9466f3d5fcbdfa19085cfd52d7f0c82602dc
    https://github.com/scummvm/scummvm/commit/f16f9466f3d5fcbdfa19085cfd52d7f0c82602dc
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-01-05T02:33:32-08:00

Commit Message:
TSAGE: R2R Demo - Move the end of demo message to staticres

Changed paths:
    engines/tsage/ringworld2/ringworld2_scenes0.cpp
    engines/tsage/staticres.cpp
    engines/tsage/staticres.h



diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
index 6c9138f..e04f294 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
@@ -2530,15 +2530,10 @@ void Scene205Demo::Action1::signal() {
 	case 0:
 		setDelay(2);
 		break;
-
-	case 1: {
-		Common::String mask = g_resourceManager->getMessage(206, 0, true);
-//		Common::String msg = sprintf(mask.c_str(), "1-800-482-3766");
-		MessageDialog::show2(mask, OK_BTN_STRING);
+	case 1:
+		MessageDialog::show2(BUY_FULL_GAME_MSG, OK_BTN_STRING);
 		setDelay(1);
-		}
 		break;
-
 	case 2:
 		scene->leaveScene();
 		break;
diff --git a/engines/tsage/staticres.cpp b/engines/tsage/staticres.cpp
index 3c850cf..fb08195 100644
--- a/engines/tsage/staticres.cpp
+++ b/engines/tsage/staticres.cpp
@@ -253,6 +253,8 @@ char const *const USE_INTERCEPTOR = "Do you want to use your interceptor card?";
 char const *const USE_DOUBLE_AGENT = "Do you want to use your double agent?";
 char const *const NEED_INSTRUCTIONS = "Do you want instructions?";
 char const *const WRONG_ANSWER_MSG = "Wrong respond value sent.";
+char const *const BUY_FULL_GAME_MSG = "To order the complete game, RETURN TO RINGWORLD, call 1-800-482-3766!";
+
 const byte scene1550JunkLocationsDefault[] = {
 	20, 7,  41, 6,
 	3,  6,  42, 11,
diff --git a/engines/tsage/staticres.h b/engines/tsage/staticres.h
index c18f31f..334a240 100644
--- a/engines/tsage/staticres.h
+++ b/engines/tsage/staticres.h
@@ -206,6 +206,7 @@ extern char const *const USE_DOUBLE_AGENT;
 extern char const *const NEED_INSTRUCTIONS;
 extern char const *const WRONG_ANSWER_MSG;
 
+extern char const *const BUY_FULL_GAME_MSG;
 // Scene 1550 arrays of constants
 extern const byte scene1550JunkLocationsDefault[];
 extern const byte scene1550AreaMap[];






More information about the Scummvm-git-logs mailing list