From e4b96cc66d8c4269661745ce187cb58c852542d3 Mon Sep 17 00:00:00 2001 From: physick Date: Mon, 31 Aug 2026 17:16:44 +0500 Subject: transitions --- src/scenes/scenes.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/scenes/scenes.h') 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 -- cgit v1.3