aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/minigames/geisha/diving.h
diff options
context:
space:
mode:
authorSven Hesse2012-01-29 00:00:04 +0100
committerSven Hesse2012-01-29 00:10:11 +0100
commit2f7ae1109bb94ab9b0bf1fe20d554c7124eb8465 (patch)
treef13ab5ba5722ffdf3a1620c1d267cde08e270c57 /engines/gob/minigames/geisha/diving.h
parentcaeae1a7d66843823a31bb99e081da0165a18a22 (diff)
downloadscummvm-rg350-2f7ae1109bb94ab9b0bf1fe20d554c7124eb8465.tar.gz
scummvm-rg350-2f7ae1109bb94ab9b0bf1fe20d554c7124eb8465.tar.bz2
scummvm-rg350-2f7ae1109bb94ab9b0bf1fe20d554c7124eb8465.zip
GOB: Add a cheat debug command
- Cheat the Diving minigame to a win - Get the mastermind solution
Diffstat (limited to 'engines/gob/minigames/geisha/diving.h')
-rw-r--r--engines/gob/minigames/geisha/diving.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/diving.h b/engines/gob/minigames/geisha/diving.h
index 65ae06ec3e..089d60b260 100644
--- a/engines/gob/minigames/geisha/diving.h
+++ b/engines/gob/minigames/geisha/diving.h
@@ -51,6 +51,9 @@ public:
bool play(uint16 playerCount, bool hasPearlLocation);
+ bool isPlaying() const;
+ void cheatWin();
+
private:
static const uint kEvilFishCount = 3;
static const uint kDecorFishCount = 3;
@@ -148,6 +151,7 @@ private:
SoundDesc _soundBlackPearl;
bool _hasPearlLocation;
+ bool _isPlaying;
void init();