aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/saveable_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/core/saveable_object.h')
-rw-r--r--engines/titanic/core/saveable_object.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/titanic/core/saveable_object.h b/engines/titanic/core/saveable_object.h
index 4c7c1a7737..0591f0930c 100644
--- a/engines/titanic/core/saveable_object.h
+++ b/engines/titanic/core/saveable_object.h
@@ -59,8 +59,12 @@ public:
class CSaveableObject {
typedef CSaveableObject *(*CreateFunction)();
private:
- static Common::List<ClassDef *> *_classDefs;
- static Common::HashMap<Common::String, CreateFunction> *_classList;
+ typedef Common::List<ClassDef *> ClassDefList;
+ typedef Common::HashMap<Common::String, CreateFunction> ClassListMap;
+ typedef Common::Array<void *> VoidArray;
+ static ClassDefList *_classDefs;
+ static ClassListMap *_classList;
+ static VoidArray *_typesToFree;
public:
/**
* Sets up the list of saveable object classes