aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-01 23:03:51 -0400
committerPaul Gilbert2016-11-01 23:03:51 -0400
commit4a90553bf32c8537a6cccc5a9ab55ddb92f1f48c (patch)
tree36e3d5c2889d18c41339ec935ee9938a33a6a0fa /engines
parente790b9a5f010d7cb84b148bd02d88bdf24539e23 (diff)
downloadscummvm-rg350-4a90553bf32c8537a6cccc5a9ab55ddb92f1f48c.tar.gz
scummvm-rg350-4a90553bf32c8537a6cccc5a9ab55ddb92f1f48c.tar.bz2
scummvm-rg350-4a90553bf32c8537a6cccc5a9ab55ddb92f1f48c.zip
TITANIC: Cleanup calls to playClip
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/carry/carry_parrot.cpp4
-rw-r--r--engines/titanic/npcs/bellbot.cpp2
-rw-r--r--engines/titanic/npcs/deskbot.cpp4
-rw-r--r--engines/titanic/npcs/doorbot.cpp6
-rw-r--r--engines/titanic/npcs/liftbot.cpp2
-rw-r--r--engines/titanic/npcs/parrot.cpp2
6 files changed, 10 insertions, 10 deletions
diff --git a/engines/titanic/carry/carry_parrot.cpp b/engines/titanic/carry/carry_parrot.cpp
index 9e36ddb4d6..ed86384147 100644
--- a/engines/titanic/carry/carry_parrot.cpp
+++ b/engines/titanic/carry/carry_parrot.cpp
@@ -154,8 +154,8 @@ bool CCarryParrot::PassOnDragStartMsg(CPassOnDragStartMsg *msg) {
moveToView();
setPosition(Point(0, 0));
setVisible(true);
- playClip("Pick Up", 2);
- playClip("Flapping", 1);
+ playClip("Pick Up", MOVIE_STOP_PREVIOUS);
+ playClip("Flapping", MOVIE_REPEAT);
stopTimer(_timerId);
_timerId = addTimer(1000, 1000);
diff --git a/engines/titanic/npcs/bellbot.cpp b/engines/titanic/npcs/bellbot.cpp
index dd217262a2..9f6f152c6d 100644
--- a/engines/titanic/npcs/bellbot.cpp
+++ b/engines/titanic/npcs/bellbot.cpp
@@ -229,7 +229,7 @@ bool CBellBot::NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg) {
};
if (msg->_value2 == 2)
- playClip("Mother Frame", 0);
+ playClip("Mother Frame");
else
msg->_names = NAMES;
diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp
index d3f8d03d6a..083ed799ed 100644
--- a/engines/titanic/npcs/deskbot.cpp
+++ b/engines/titanic/npcs/deskbot.cpp
@@ -170,7 +170,7 @@ bool CDeskbot::TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg) {
inc54();
lockMouse();
petSetArea(PET_CONVERSATION);
- playClip("ReprogramPETInHand", 4);
+ playClip("ReprogramPETInHand", MOVIE_NOTIFY_OBJECT);
_npcFlags |= NPCFLAG_10000;
_classNum = msg->_param1;
@@ -301,7 +301,7 @@ bool CDeskbot::TurnOff(CTurnOff *msg) {
performAction(1, findView());
_npcFlags = (_npcFlags & ~(NPCFLAG_SPEAKING | NPCFLAG_IDLING | NPCFLAG_START_IDLING)) | NPCFLAG_40000;
- playClip("Closing", 0x14);
+ playClip("Closing", MOVIE_GAMESTATE | MOVIE_NOTIFY_OBJECT);
}
return true;
diff --git a/engines/titanic/npcs/doorbot.cpp b/engines/titanic/npcs/doorbot.cpp
index a3d5a669bf..06edae24a9 100644
--- a/engines/titanic/npcs/doorbot.cpp
+++ b/engines/titanic/npcs/doorbot.cpp
@@ -272,9 +272,9 @@ bool CDoorbot::TimerMsg(CTimerMsg *msg) {
break;
case 3:
- playClip("DoubleTake Start", 0);
- playClip("DoubleTake End", 0);
- playClip("DoubleTake Start", 0);
+ playClip("DoubleTake Start");
+ playClip("DoubleTake End");
+ playClip("DoubleTake Start");
playClip("DoubleTake End", MOVIE_NOTIFY_OBJECT);
_introMovieNum = 3;
break;
diff --git a/engines/titanic/npcs/liftbot.cpp b/engines/titanic/npcs/liftbot.cpp
index 64bc7c4989..ae3d1532dd 100644
--- a/engines/titanic/npcs/liftbot.cpp
+++ b/engines/titanic/npcs/liftbot.cpp
@@ -164,7 +164,7 @@ bool CLiftBot::NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg) {
};
if (msg->_value2 == 2)
- playClip("At Rest", 0);
+ playClip("At Rest");
else
msg->_names = NAMES;
return true;
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp
index 678cf76932..9c888478dc 100644
--- a/engines/titanic/npcs/parrot.cpp
+++ b/engines/titanic/npcs/parrot.cpp
@@ -291,7 +291,7 @@ bool CParrot::MovieEndMsg(CMovieEndMsg *msg) {
return true;
} else if (clipExistsByEnd("Lean Over To Chicken", msg->_endFrame)) {
- playClip("Eat Chicken", 0);
+ playClip("Eat Chicken");
playClip("Eat Chicken 2", MOVIE_NOTIFY_OBJECT);
_v1 = 1;