aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/titanic.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-02-07 16:22:16 -0500
committerPaul Gilbert2016-02-07 16:22:16 -0500
commitbc7bc8ab3487df70263721493c26c16aab9c7b81 (patch)
tree2cbc0f70ee278eea0cf3f131ff73c15c8417da23 /engines/titanic/titanic.cpp
parent0874af38dbad54551e143e541f37163ec9e7e0e7 (diff)
downloadscummvm-rg350-bc7bc8ab3487df70263721493c26c16aab9c7b81.tar.gz
scummvm-rg350-bc7bc8ab3487df70263721493c26c16aab9c7b81.tar.bz2
scummvm-rg350-bc7bc8ab3487df70263721493c26c16aab9c7b81.zip
TITANIC: Class stubs and beginnings of CSaveableObject hierarchy
Diffstat (limited to 'engines/titanic/titanic.cpp')
-rw-r--r--engines/titanic/titanic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/titanic/titanic.cpp b/engines/titanic/titanic.cpp
index 9230717c8e..c438c353ef 100644
--- a/engines/titanic/titanic.cpp
+++ b/engines/titanic/titanic.cpp
@@ -28,6 +28,7 @@
#include "graphics/scaler.h"
#include "graphics/thumbnail.h"
#include "titanic/titanic.h"
+#include "titanic/saveable_object.h"
namespace Titanic {
@@ -40,6 +41,7 @@ TitanicEngine::TitanicEngine(OSystem *syst, const TitanicGameDescription *gameDe
TitanicEngine::~TitanicEngine() {
delete _window;
delete _screenManager;
+ CSaveableObject::freeClassList();
}
void TitanicEngine::initialize() {
@@ -49,6 +51,7 @@ void TitanicEngine::initialize() {
DebugMan.addDebugChannel(kDebugGraphics, "graphics", "Graphics handling");
DebugMan.addDebugChannel(kDebugSound, "sound", "Sound and Music handling");
+ CSaveableObject::initClassList();
_window = new CMainGameWindow(this);
_screenManager = new OSScreenManager();
}