aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-27 20:26:40 -0400
committerPaul Gilbert2015-05-27 20:26:40 -0400
commit0d4163c6e932bed2b85843f6ab3b5066d0353df6 (patch)
treec2c23e06cf5e60cdd1bd205a421469b902646d0b /engines/sherlock/tattoo
parent483a72b8b840a9ebbb7009b3dcd20878d0ffad58 (diff)
downloadscummvm-rg350-0d4163c6e932bed2b85843f6ab3b5066d0353df6.tar.gz
scummvm-rg350-0d4163c6e932bed2b85843f6ab3b5066d0353df6.tar.bz2
scummvm-rg350-0d4163c6e932bed2b85843f6ab3b5066d0353df6.zip
SHERLOCK: Implemented initial background clearing of RT doBgAnim
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r--engines/sherlock/tattoo/tattoo.cpp15
-rw-r--r--engines/sherlock/tattoo/tattoo.h17
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