aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_conversations.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-29 18:19:03 -0400
committerPaul Gilbert2016-07-10 16:22:42 -0400
commit5d087a8fcd709550ec14fc6b01acf045f8d6614b (patch)
tree715f364762e16984a3810208d3db7275ed683bc9 /engines/titanic/pet_control/pet_conversations.h
parent6fa57389a2711a83103ebde63779743f7ac2b96d (diff)
downloadscummvm-rg350-5d087a8fcd709550ec14fc6b01acf045f8d6614b.tar.gz
scummvm-rg350-5d087a8fcd709550ec14fc6b01acf045f8d6614b.tar.bz2
scummvm-rg350-5d087a8fcd709550ec14fc6b01acf045f8d6614b.zip
TITANIC: Implement PET Conversations & Text saving
Diffstat (limited to 'engines/titanic/pet_control/pet_conversations.h')
-rw-r--r--engines/titanic/pet_control/pet_conversations.h39
1 files changed, 29 insertions, 10 deletions
diff --git a/engines/titanic/pet_control/pet_conversations.h b/engines/titanic/pet_control/pet_conversations.h
index f7541eda46..9247b44a42 100644
--- a/engines/titanic/pet_control/pet_conversations.h
+++ b/engines/titanic/pet_control/pet_conversations.h
@@ -109,16 +109,6 @@ public:
CPetConversations();
/**
- * Save the data for the class to file
- */
- virtual void save(SimpleFile *file, int indent) const;
-
- /**
- * Load the data for the class from file
- */
- virtual void load(SimpleFile *file, int param);
-
- /**
* Returns true if the object is in a valid state
*/
virtual bool isValid(CPetControl *petControl);
@@ -132,6 +122,35 @@ public:
virtual bool MouseDoubleClickMsg(CMouseDoubleClickMsg *msg);
virtual bool KeyCharMsg(CKeyCharMsg *msg);
virtual bool VirtualKeyCharMsg(CVirtualKeyCharMsg *msg);
+
+ /**
+ * Display a message
+ */
+ virtual void displayMessage(const CString &msg);
+
+ /**
+ * Load the data for the class from file
+ */
+ virtual void load(SimpleFile *file, int param);
+
+ /**
+ * Called after a game has been loaded
+ */
+ virtual void postLoad();
+ /**
+ * Save the data for the class to file
+ */
+ virtual void save(SimpleFile *file, int indent) const;
+
+ /**
+ * Called when a section is switched to
+ */
+ virtual void enter(PetArea oldArea);
+
+ /**
+ * Called when a section is being left, to switch to another area
+ */
+ virtual void leave();
};
} // End of namespace Titanic