summaryrefslogtreecommitdiff
path: root/src/scenes/scenes.h
diff options
context:
space:
mode:
authorphysick <mynameisgennadiy@vk.com>2026-08-31 17:16:44 +0500
committerphysick <mynameisgennadiy@vk.com>2026-08-31 17:16:44 +0500
commite4b96cc66d8c4269661745ce187cb58c852542d3 (patch)
tree4268a1ee350a9d762694e1de8803493ba4237bb1 /src/scenes/scenes.h
parentb45620544427306854a28a5163fafd45b007acc2 (diff)
transitions
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