diff options
author | Paul Gilbert | 2017-02-16 21:09:17 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-02-16 21:09:17 -0500 |
commit | 216e57aff49b43446699f236f47f67df2c95d0f1 (patch) | |
tree | 1659a0bf6fc70d55ee9b93f001421e373adc4166 /engines/titanic/carry | |
parent | 899585d478efbc79efaa61f804e75701776fb064 (diff) | |
download | scummvm-rg350-216e57aff49b43446699f236f47f67df2c95d0f1.tar.gz scummvm-rg350-216e57aff49b43446699f236f47f67df2c95d0f1.tar.bz2 scummvm-rg350-216e57aff49b43446699f236f47f67df2c95d0f1.zip |
TITANIC: Renamings for CGameObject & CGameState methods
Diffstat (limited to 'engines/titanic/carry')
-rw-r--r-- | engines/titanic/carry/brain.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/carry/carry_parrot.cpp | 6 | ||||
-rw-r--r-- | engines/titanic/carry/head_piece.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/carry/mouth.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/carry/brain.cpp b/engines/titanic/carry/brain.cpp index b00f026718..7b2e8d0e45 100644 --- a/engines/titanic/carry/brain.cpp +++ b/engines/titanic/carry/brain.cpp @@ -122,7 +122,7 @@ bool CBrain::PassOnDragStartMsg(CPassOnDragStartMsg *msg) { bool CBrain::PETGainedObjectMsg(CPETGainedObjectMsg *msg) { if (!_field138) { if (getName() == "Perch") { - stateInc38(); + incParrotResponse(); _field138 = 1; } } diff --git a/engines/titanic/carry/carry_parrot.cpp b/engines/titanic/carry/carry_parrot.cpp index 3a2f2c9368..4bb3a96bfb 100644 --- a/engines/titanic/carry/carry_parrot.cpp +++ b/engines/titanic/carry/carry_parrot.cpp @@ -113,7 +113,7 @@ bool CCarryParrot::MouseDragEndMsg(CMouseDragEndMsg *msg) { CTreeItem *perchedParrot = findUnder(getRoot(), "PerchedParrot"); detach(); addUnder(perchedParrot); - sound8(true); + stopSoundChannel(true); CPutParrotBackMsg backMsg(msg->_mousePos.x); backMsg.execute(perchedParrot); @@ -122,7 +122,7 @@ bool CCarryParrot::MouseDragEndMsg(CMouseDragEndMsg *msg) { _canTake = false; CParrot::_state = PARROT_ESCAPED; playSound("z#475.wav"); - sound8(true); + stopSoundChannel(true); moveUnder(findRoom()); CActMsg actMsg("Shut"); @@ -137,7 +137,7 @@ bool CCarryParrot::MouseDragEndMsg(CMouseDragEndMsg *msg) { setVisible(false); _canTake = false; playSound("z#475.wav"); - sound8(true); + stopSoundChannel(true); moveUnder(findRoom()); } } diff --git a/engines/titanic/carry/head_piece.cpp b/engines/titanic/carry/head_piece.cpp index 1ce1d5ba1e..fa025158a5 100644 --- a/engines/titanic/carry/head_piece.cpp +++ b/engines/titanic/carry/head_piece.cpp @@ -60,7 +60,7 @@ bool CHeadPiece::SenseWorkingMsg(CSenseWorkingMsg *msg) { bool CHeadPiece::PETGainedObjectMsg(CPETGainedObjectMsg *msg) { _visibleFrame = 1; if (!_field13C) { - stateInc38(); + incParrotResponse(); _field13C = true; } diff --git a/engines/titanic/carry/mouth.cpp b/engines/titanic/carry/mouth.cpp index e48929a391..d750fc969e 100644 --- a/engines/titanic/carry/mouth.cpp +++ b/engines/titanic/carry/mouth.cpp @@ -70,7 +70,7 @@ bool CMouth::PETGainedObjectMsg(CPETGainedObjectMsg *msg) { loadFrame(2); setVisible(true); if (!_field13C) { - stateInc38(); + incParrotResponse(); _field13C = true; } |