aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_field.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-15 15:48:43 -0400
committerPaul Gilbert2017-07-15 15:48:43 -0400
commitb4c5318e6d48366e23221e9ab1643393c497561e (patch)
tree093c41f10e22aff55de5daa11a7785cb93744dda /engines/titanic/star_control/star_field.h
parent0f33e8ff8feb70f3b0625dc5c2ed012e9d3924e8 (diff)
downloadscummvm-rg350-b4c5318e6d48366e23221e9ab1643393c497561e.tar.gz
scummvm-rg350-b4c5318e6d48366e23221e9ab1643393c497561e.tar.bz2
scummvm-rg350-b4c5318e6d48366e23221e9ab1643393c497561e.zip
TITANIC: Don't allow starfield to be shown if puzzle was skipped
Diffstat (limited to 'engines/titanic/star_control/star_field.h')
-rw-r--r--engines/titanic/star_control/star_field.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/star_control/star_field.h b/engines/titanic/star_control/star_field.h
index 63eb68d853..bd3f8aecb6 100644
--- a/engines/titanic/star_control/star_field.h
+++ b/engines/titanic/star_control/star_field.h
@@ -120,6 +120,16 @@ public:
bool isSolved() const;
/**
+ * Return true if the starfield puzzle was skipped
+ */
+ bool isSkipped() const;
+
+ /**
+ * Skips the starfield puzzle
+ */
+ void skipPuzzle();
+
+ /**
* Returns the number of markers placed in the starfield
*/
int getMarkerCount() const {