diff options
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/tattoo.cpp | 28 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo.h | 5 |
2 files changed, 33 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp index d4059ac413..3c684ff3ee 100644 --- a/engines/sherlock/tattoo/tattoo.cpp +++ b/engines/sherlock/tattoo/tattoo.cpp @@ -21,6 +21,7 @@ */ #include "sherlock/tattoo/tattoo.h" +#include "engines/util.h" namespace Sherlock { @@ -30,6 +31,33 @@ void TattooEngine::showOpening() { // TODO } +/** + * Initialize the engine + */ +void TattooEngine::initialize() { + initGraphics(640, 480, true); + + // Initialize the base engine + SherlockEngine::initialize(); + + _flags.resize(100 * 8); + + // Add some more files to the cache + _res->addToCache("walk.lib"); + _res->addToCache("sound.lib"); + + // Starting scene + _scene->_goToScene = 91; +} + +/** + * Starting a scene within the game + */ +void TattooEngine::startScene() { + // TODO +} + + } // End of namespace Tattoo } // End of namespace Scalpel diff --git a/engines/sherlock/tattoo/tattoo.h b/engines/sherlock/tattoo/tattoo.h index b98395597c..7bdeec55d1 100644 --- a/engines/sherlock/tattoo/tattoo.h +++ b/engines/sherlock/tattoo/tattoo.h @@ -31,10 +31,15 @@ namespace Tattoo { class TattooEngine : public SherlockEngine { protected: + virtual void initialize(); + virtual void showOpening(); + + virtual void startScene(); public: TattooEngine(OSystem *syst, const SherlockGameDescription *gameDesc) : SherlockEngine(syst, gameDesc) {} + virtual ~TattooEngine() {} }; |