diff options
author | Paul Gilbert | 2010-01-30 09:21:07 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-01-30 09:21:07 +0000 |
commit | 3285a4ba4d585739577176baddd8f48478d2f229 (patch) | |
tree | 86f8e10aab8e619116721398918bca88abf4ce5d /engines/m4/converse.h | |
parent | 28aee9c5f3462cd72db0b91b7f578649869738d5 (diff) | |
download | scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.tar.gz scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.tar.bz2 scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.zip |
Beginnings of a separation of the MADS and M4 engines into separate classes. This will be cleaner then having checks everywhere for whether the game mode is MADS or M4.
svn-id: r47705
Diffstat (limited to 'engines/m4/converse.h')
-rw-r--r-- | engines/m4/converse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/m4/converse.h b/engines/m4/converse.h index 791497b403..a71de24492 100644 --- a/engines/m4/converse.h +++ b/engines/m4/converse.h @@ -137,7 +137,7 @@ typedef Common::HashMap<Common::String,int32,Common::IgnoreCase_Hash,Common::Ign class ConversationView: public View { public: - ConversationView(M4Engine *vm); + ConversationView(MadsM4Engine *vm); ~ConversationView(); void setNode(int32 nodeIndex); @@ -162,7 +162,7 @@ private: class Converse { public: - Converse(M4Engine *vm) : _vm(vm) {} + Converse(MadsM4Engine *vm) : _vm(vm) {} ~Converse() {} void startConversation(const char *convName, bool showConversebox = true, ConverseStyle style = CONVSTYLE_EARTH ); @@ -179,7 +179,7 @@ public: void play(); */ private: - M4Engine *_vm; + MadsM4Engine *_vm; Common::Array<ConvEntry*>_convNodes; Common::Array<MessageEntry*>_madsMessageList; Common::Array<char *>_convStrings; |