aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom_tray.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-10 15:39:20 -0400
committerPaul Gilbert2016-07-10 16:10:51 -0400
commit91336a86115f600e626c333441aa1369b435ab92 (patch)
tree78b9b7ebb30f8992c1dc621a6b5cb3e0592f7df7 /engines/titanic/game/cdrom_tray.cpp
parent8e5f7a9453deff3436fc937292a0ff825acd7454 (diff)
downloadscummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.tar.gz
scummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.tar.bz2
scummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.zip
TITANIC: Implement playing a range of frames within movie
Diffstat (limited to 'engines/titanic/game/cdrom_tray.cpp')
-rw-r--r--engines/titanic/game/cdrom_tray.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/game/cdrom_tray.cpp b/engines/titanic/game/cdrom_tray.cpp
index 5f576d1263..1b2d6baf07 100644
--- a/engines/titanic/game/cdrom_tray.cpp
+++ b/engines/titanic/game/cdrom_tray.cpp
@@ -56,7 +56,7 @@ bool CCDROMTray::ActMsg(CActMsg *msg) {
if (msg->_action == "ClickedOn") {
if (_state) {
if (_insertedCD == "None") {
- fn1(55, 65, 0);
+ playMovie(55, 65, 0);
playSound("a#35.wav", 50, 0, 0);
_state = 0;
} else {
@@ -70,24 +70,24 @@ bool CCDROMTray::ActMsg(CActMsg *msg) {
loadFrame(52);
}
} else if (_insertedCD == "None") {
- fn1(44, 54, 0);
+ playMovie(44, 54, 0);
playSound("a#34.wav", 50, 0, 0);
_state = 1;
} else if (_insertedCD == "newCD1" || _insertedCD == "newCD2") {
- fn1(22, 32, 0);
+ playMovie(22, 32, 0);
playSound("a#34.wav", 50, 0, 0);
_state = 1;
} else if (_insertedCD == "newSTCD") {
- fn1(0, 10, 0);
+ playMovie(0, 10, 0);
playSound("a#34.wav", 50, 0, 0);
_state = 1;
}
} else if (_state) {
if (msg->_action == "newCD1" || msg->_action == "newCD2") {
- fn1(33, 43, 4);
+ playMovie(33, 43, 4);
playSound("a#35.wav", 50, 0, 0);
} else if (msg->_action == "newSTCD") {
- fn1(11, 21, 4);
+ playMovie(11, 21, 4);
playSound("a#35.wav", 50, 0, 0);
} else {
return true;