summaryrefslogtreecommitdiff
path: root/src/scenes/scenes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenes/scenes.h')
-rw-r--r--src/scenes/scenes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scenes/scenes.h b/src/scenes/scenes.h
index f71c2ee..d705feb 100644
--- a/src/scenes/scenes.h
+++ b/src/scenes/scenes.h
@@ -6,6 +6,16 @@
#define SCENE_STACK_SIZE 16
+typedef enum {
+ POPUP_REVEALING,
+ POPUP_REVEALING_ALT,
+ POPUP_ACTIVE,
+ POPUP_HIDING,
+ POPUP_HIDING_ALT,
+} PopUpState;
+static const int SCROLL_SPEED = 8;
+static const int BLACKOUT_SPEED = 3;
+
/// This structure represents a scene that is stored in a stack.
/// The main appeal of this data type is dynamic creation of different
/// scenes that don't depend on global state
@@ -34,5 +44,6 @@ Scene *CreateDistractionScene(DistractionPuzzle *puzzle, void (*addTime)(Scene *
Scene *CreateResultView(SubmitionResult *result);
Scene *CreatePuzzleCollectionScene(CollectionElement *el);
+Scene *CreatePuzzlePreview(Puzzle *puzzle);
#endif // SCENES_H