From 01989265aa6abd68f2aa5d799d867886c8ed3799 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 30 Apr 2016 08:29:11 -0400 Subject: TITANIC: PET Conversations now partly rendering --- engines/titanic/pet_control/pet_conversations.h | 35 ++++++++++++++++++++----- 1 file changed, 28 insertions(+), 7 deletions(-) (limited to 'engines/titanic/pet_control/pet_conversations.h') diff --git a/engines/titanic/pet_control/pet_conversations.h b/engines/titanic/pet_control/pet_conversations.h index 79f6b59bdc..1bc59419f1 100644 --- a/engines/titanic/pet_control/pet_conversations.h +++ b/engines/titanic/pet_control/pet_conversations.h @@ -34,17 +34,17 @@ class CPetConversations : public CPetSection { private: CPetGfxElement _scrollUp; CPetGfxElement _scrollDown; - CPetGfxElement _val3; - CPetGfxElement _gfxList[3]; + CPetGfxElement _dialBackground; + CPetGfxElement _dials[3]; CPetGfxElement _val4; CPetGfxElement _val5; - CPetGfxElement _val6; - int _field14C; + CPetGfxElement _indent; + Rect _rect1; CPetGfxElement _doorBot; CPetGfxElement _bellBot; - CPetGfxElement _val9; - CPetGfxElement _valArray2[9]; - int _field30C; + CPetGfxElement _splitter; + CPetGfxElement _npcIcons[9]; + int _npcNum; CPetText _log; CPetText _textInput; int _valArray3[3]; @@ -128,7 +128,28 @@ private: CString getActiveNPCName() const; public: CPetConversations(); + virtual ~CPetConversations() {} + /** + * Sets up the section + */ + virtual bool setup(CPetControl *petControl); + + /** + * Reset the section + */ + virtual bool reset(); + + /** + * Draw the section + */ + virtual void draw(CScreenManager *screenManager); + + /** + * Get the bounds for the section + */ + virtual Rect getBounds(); + /** * Returns true if the object is in a valid state */ -- cgit v1.2.3