aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_conversations.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-25 16:41:31 -0400
committerPaul Gilbert2016-07-15 19:24:56 -0400
commit4ed93ca8f175d7a43c6a0de72ad02b42827938b7 (patch)
tree448c2cd5021192692041c967fc6571b29cd56f7f /engines/titanic/pet_control/pet_conversations.cpp
parent42c8ac1c880076c181071922aff3b923a185af98 (diff)
downloadscummvm-rg350-4ed93ca8f175d7a43c6a0de72ad02b42827938b7.tar.gz
scummvm-rg350-4ed93ca8f175d7a43c6a0de72ad02b42827938b7.tar.bz2
scummvm-rg350-4ed93ca8f175d7a43c6a0de72ad02b42827938b7.zip
TITANIC: Cleanup of PET section classes methods to match original
Diffstat (limited to 'engines/titanic/pet_control/pet_conversations.cpp')
-rw-r--r--engines/titanic/pet_control/pet_conversations.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/titanic/pet_control/pet_conversations.cpp b/engines/titanic/pet_control/pet_conversations.cpp
index 4ec6e8996d..276b99e610 100644
--- a/engines/titanic/pet_control/pet_conversations.cpp
+++ b/engines/titanic/pet_control/pet_conversations.cpp
@@ -506,13 +506,6 @@ void CPetConversations::textLineEntered(const CString &textLine) {
scrollToBottom();
}
-CString CPetConversations::getActiveNPCName() const {
- if (_petControl && _petControl->_activeNPC)
- return _petControl->_activeNPC->getName();
- else
- return CString();
-}
-
void CPetConversations::setActiveNPC(const CString &name) {
_npcName = name;
_field418 = 1;
@@ -520,11 +513,6 @@ void CPetConversations::setActiveNPC(const CString &name) {
startNPCTimer();
}
-void CPetConversations::copyColors(uint tableNum, uint colors[5]) {
- const uint *src = getColorTable(tableNum);
- Common::copy(src, src + 5, colors);
-}
-
void CPetConversations::updateDial(uint dialNum, const CString &npcName) {
TTnpcScript *script = getNPCScript(npcName);
uint newLevel = getDialLevel(dialNum, script);