diff options
author | Paul Gilbert | 2016-04-30 08:29:11 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:43 -0400 |
commit | 01989265aa6abd68f2aa5d799d867886c8ed3799 (patch) | |
tree | 98d1ccecc1e44ca734f9c63436a924af3c452bbe /engines/titanic/pet_control/pet_conversations.h | |
parent | 287a9f6ef2ceb1cac4fef74832b3fdee9987ecf1 (diff) | |
download | scummvm-rg350-01989265aa6abd68f2aa5d799d867886c8ed3799.tar.gz scummvm-rg350-01989265aa6abd68f2aa5d799d867886c8ed3799.tar.bz2 scummvm-rg350-01989265aa6abd68f2aa5d799d867886c8ed3799.zip |
TITANIC: PET Conversations now partly rendering
Diffstat (limited to 'engines/titanic/pet_control/pet_conversations.h')
-rw-r--r-- | engines/titanic/pet_control/pet_conversations.h | 35 |
1 files changed, 28 insertions, 7 deletions
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,8 +128,29 @@ 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 */ virtual bool isValid(CPetControl *petControl); |