From ec5dcc17dc75a1b74a417676edf0c51048e19b6c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 23 Jun 2016 23:18:30 -0400 Subject: TITANIC: Added TTtalker methods --- engines/titanic/pet_control/pet_control.h | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'engines/titanic/pet_control/pet_control.h') 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 -- cgit v1.2.3