diff options
author | Paul Gilbert | 2016-04-30 22:29:07 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:55 -0400 |
commit | 9d8208bd465a8f42ceb00418d29e9ca55a4d193f (patch) | |
tree | 807bdc3cc4cea2acd9824c8b7e972e05fe249047 /engines/titanic/pet_control/pet_conversations.h | |
parent | 6691dfa408b05d2cb01fb879bc1b2466bf757738 (diff) | |
download | scummvm-rg350-9d8208bd465a8f42ceb00418d29e9ca55a4d193f.tar.gz scummvm-rg350-9d8208bd465a8f42ceb00418d29e9ca55a4d193f.tar.bz2 scummvm-rg350-9d8208bd465a8f42ceb00418d29e9ca55a4d193f.zip |
TITANIC: Miscellaneous PET Conversations methods
Diffstat (limited to 'engines/titanic/pet_control/pet_conversations.h')
-rw-r--r-- | engines/titanic/pet_control/pet_conversations.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_conversations.h b/engines/titanic/pet_control/pet_conversations.h index 6e8ffbee41..ec3cdd64cb 100644 --- a/engines/titanic/pet_control/pet_conversations.h +++ b/engines/titanic/pet_control/pet_conversations.h @@ -30,12 +30,15 @@ namespace Titanic { +#define TOTAL_DIALS 3 + class CPetConversations : public CPetSection { private: CPetGfxElement _scrollUp; CPetGfxElement _scrollDown; CPetGfxElement _dialBackground; - CPetGfxElement _dials[3]; + CPetGfxElement _dials[TOTAL_DIALS]; + uint _npcLevels[TOTAL_DIALS]; CPetGfxElement _val4; CPetGfxElement _val5; CPetGfxElement _indent; @@ -47,7 +50,6 @@ private: int _npcNum; CPetText _log; CPetText _textInput; - uint _npcLevels[3]; bool _logChanged; int _field418; CString _npcName; @@ -146,6 +148,11 @@ private: * Called when the dial for an NPC is being changed */ void npcDialChange(uint dialNum, int oldLevel, int newLevel); + + /** + * Reset the dials with those for a given NPC + */ + void resetDials(const CString &name); public: CPetConversations(); virtual ~CPetConversations() {} @@ -221,6 +228,10 @@ public: */ virtual void displayNPCName(CGameObject *npc); + virtual void proc34(const CString &name); + + virtual void proc35() {} + /** * Show the text cursor */ |