aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-29 22:21:55 -0400
committerPaul Gilbert2016-03-29 22:21:55 -0400
commita1e959b4986914bd42bdbd4587cdfc2bd57ca3a0 (patch)
tree1a4b8e18b8164140bd458a5179993167121c3e47 /engines/titanic/pet_control/pet_control.h
parente0602c4851ab42763cc66858fed8d05496040498 (diff)
downloadscummvm-rg350-a1e959b4986914bd42bdbd4587cdfc2bd57ca3a0.tar.gz
scummvm-rg350-a1e959b4986914bd42bdbd4587cdfc2bd57ca3a0.tar.bz2
scummvm-rg350-a1e959b4986914bd42bdbd4587cdfc2bd57ca3a0.zip
TITANIC: Fix PET post-loading
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index ce40eba177..02a59fdd3a 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -51,9 +51,9 @@ private:
CPetControlSub5 _sub5;
CPetControlSub7 _sub7;
CPetControlSub8 _sub8;
- int _field1384;
+ CTreeItem *_treeItem1;
CString _string1;
- int _field1394;
+ CTreeItem *_treeItem2;
CString _string2;
int _field13A4;
private:
@@ -62,9 +62,20 @@ private:
*/
bool isValid() const;
- void loadSubObjects(SimpleFile *file, int param);
+ /**
+ * Loads data for the individual areas
+ */
+ void loadAreas(SimpleFile *file, int param);
- void saveSubObjects(SimpleFile *file, int indent) const;
+ /**
+ * Saves data for the individual areas
+ */
+ void saveAreas(SimpleFile *file, int indent) const;
+
+ /**
+ * Called at the end of the post game-load handling
+ */
+ void loaded();
public:
CLASSDEF