aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/tattoo/tattoo.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp
index 60705f6016..bc4e7d5042 100644
--- a/engines/sherlock/tattoo/tattoo.cpp
+++ b/engines/sherlock/tattoo/tattoo.cpp
@@ -24,6 +24,7 @@
#include "sherlock/tattoo/tattoo.h"
#include "sherlock/tattoo/tattoo_resources.h"
#include "sherlock/tattoo/tattoo_scene.h"
+#include "sherlock/tattoo/widget_base.h"
#include "sherlock/people.h"
namespace Sherlock {
@@ -38,6 +39,10 @@ TattooEngine::TattooEngine(OSystem *syst, const SherlockGameDescription *gameDes
_allowFastMode = true;
}
+TattooEngine::~TattooEngine() {
+ WidgetBase::freeInterfaceImages();
+}
+
void TattooEngine::showOpening() {
// TODO
}
@@ -48,6 +53,9 @@ void TattooEngine::initialize() {
// Initialize the base engine
SherlockEngine::initialize();
+ // Further initialization
+ WidgetBase::setInterfaceImages(new ImageFile("intrface.vgs"));
+
// Initialise the global flags
_flags.resize(3200);
_flags[1] = _flags[4] = _flags[76] = true;
@@ -105,6 +113,10 @@ void TattooEngine::eraseCredits() {
// TODO
}
+void TattooEngine::doHangManPuzzle() {
+ // TODO
+}
+
} // End of namespace Tattoo
} // End of namespace Sherlock