diff options
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/tattoo.cpp | 15 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo.h | 17 |
2 files changed, 23 insertions, 9 deletions
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp index 47a7c2a9ba..6d90416c34 100644 --- a/engines/sherlock/tattoo/tattoo.cpp +++ b/engines/sherlock/tattoo/tattoo.cpp @@ -27,13 +27,15 @@ namespace Sherlock { namespace Tattoo { +TattooEngine::TattooEngine(OSystem *syst, const SherlockGameDescription *gameDesc) : + SherlockEngine(syst, gameDesc) { + _creditsActive = false; +} + void TattooEngine::showOpening() { // TODO } -/** - * Initialize the engine - */ void TattooEngine::initialize() { initGraphics(640, 480, true); @@ -52,9 +54,6 @@ void TattooEngine::initialize() { loadInitialPalette(); } -/** - * Starting a scene within the game - */ void TattooEngine::startScene() { // TODO } @@ -69,6 +68,10 @@ void TattooEngine::loadInitialPalette() { delete stream; } +void TattooEngine::eraseCredits() { + // TODO +} + } // End of namespace Tattoo } // End of namespace Scalpel diff --git a/engines/sherlock/tattoo/tattoo.h b/engines/sherlock/tattoo/tattoo.h index b9224e06ba..b6a85108e4 100644 --- a/engines/sherlock/tattoo/tattoo.h +++ b/engines/sherlock/tattoo/tattoo.h @@ -36,16 +36,27 @@ private: */ void loadInitialPalette(); protected: + /** + * Initialize the engine + */ virtual void initialize(); virtual void showOpening(); + /** + * Starting a scene within the game + */ virtual void startScene(); public: - TattooEngine(OSystem *syst, const SherlockGameDescription *gameDesc) : - SherlockEngine(syst, gameDesc) {} - + bool _creditsActive; +public: + TattooEngine(OSystem *syst, const SherlockGameDescription *gameDesc); virtual ~TattooEngine() {} + + /** + * Erase any area of the screen covered by credits + */ + void eraseCredits(); }; } // End of namespace Tattoo |