diff options
author | Paul Gilbert | 2015-05-12 22:02:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-12 22:02:59 -0400 |
commit | 7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e (patch) | |
tree | bff0492cc1fe7216ab67279594b7c8d3f26a9f21 /engines/sherlock/tattoo | |
parent | 44fbef5498070ee12fddb42c067d943e56d22f0e (diff) | |
download | scummvm-rg350-7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e.tar.gz scummvm-rg350-7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e.tar.bz2 scummvm-rg350-7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e.zip |
SHERLOCK: Beginnings of Rose Tattoo engine
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/tattoo.cpp | 27 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo.h | 5 |
2 files changed, 32 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp index d4059ac413..9039e3f9d4 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,32 @@ 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"); + + // 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() {} }; |