From b4c5318e6d48366e23221e9ab1643393c497561e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 15 Jul 2017 15:48:43 -0400 Subject: TITANIC: Don't allow starfield to be shown if puzzle was skipped --- engines/titanic/star_control/star_field.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/titanic/star_control/star_field.h') 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 @@ -119,6 +119,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 */ -- cgit v1.2.3