aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-23 23:18:30 -0400
committerPaul Gilbert2016-07-15 19:24:36 -0400
commitec5dcc17dc75a1b74a417676edf0c51048e19b6c (patch)
treeb5cb35f7f30d93722a9e1822e2e9fc71e7267bb7 /engines/titanic/pet_control/pet_control.h
parent934787b19be3aa86e02d77eea0a1a5ffa1771075 (diff)
downloadscummvm-rg350-ec5dcc17dc75a1b74a417676edf0c51048e19b6c.tar.gz
scummvm-rg350-ec5dcc17dc75a1b74a417676edf0c51048e19b6c.tar.bz2
scummvm-rg350-ec5dcc17dc75a1b74a417676edf0c51048e19b6c.zip
TITANIC: Added TTtalker methods
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 8093152089..fb5e0093da 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -312,16 +312,25 @@ public:
*/
CString getFullViewName();
- /**
- * Resets the dial display to reflect new values
- */
- void resetDials(int flag = 1);
-
bool getC0() const { return _fieldC0 > 0; }
void incC0() { ++_fieldC0; }
void decC0() { --_fieldC0; }
- /* CPetRooms methods */
+ /*--- CPetConversations methods ---*/
+
+ /**
+ * Resets the dial display in the conversation tab to reflect new values
+ */
+ void convResetDials(int flag = 1);
+
+ /**
+ * Adds a line to the conversation log
+ */
+ void convAddLine(const CString &line) {
+ _conversations.addLine(line);
+ }
+
+ /*--- CPetRooms methods ---*/
/**
* Gives the player a new assigned room in the specified passenger class