diff options
Diffstat (limited to 'engines/mads/conversations.h')
-rw-r--r-- | engines/mads/conversations.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/engines/mads/conversations.h b/engines/mads/conversations.h index 2a2a6258df..ceb5ad6eb7 100644 --- a/engines/mads/conversations.h +++ b/engines/mads/conversations.h @@ -26,6 +26,7 @@ #include "common/scummsys.h" #include "common/array.h" #include "common/str-array.h" +#include "mads/screen.h" namespace MADS { @@ -88,6 +89,13 @@ struct ConversationData { }; struct ConversationData2 { + struct ConversationVar { + int v1; + int v2; + int v3; + }; + + Common::Array<ConversationVar> _vars; }; struct ConversationEntry { @@ -102,6 +110,14 @@ class GameConversations { private: MADSEngine *_vm; ConversationEntry _conversations[MAX_CONVERSATIONS]; + bool _speakerActive[MAX_SPEAKERS]; + int _speakerPortraits[MAX_SPEAKERS]; + int _speakerExists[MAX_SPEAKERS]; + int _arr4[MAX_SPEAKERS]; + int _arr5[MAX_SPEAKERS]; + int _arr6[MAX_SPEAKERS]; + InputMode _inputMode; + int _val1, _val2, _val3, _val4, _val5; /** * Returns the record for the specified conversation, if it's loaded @@ -128,6 +144,11 @@ public: */ virtual ~GameConversations(); + /** + * Sets a variable + */ + void setVariable(uint idx, int v1, int v2 = -1); + int* _nextStartNode; int* getVariable(int idx); |