diff options
| author | physick <mynameisgennadiy@vk.com> | 2026-08-31 21:17:22 +0500 |
|---|---|---|
| committer | physick <mynameisgennadiy@vk.com> | 2026-08-31 21:17:22 +0500 |
| commit | 9b545255d4496903455c5dd49042c87e1a1f7af4 (patch) | |
| tree | fc3355947341636c5e3e01c1997c77a358fbe653 /src/scenes/scenes.h | |
| parent | e4b96cc66d8c4269661745ce187cb58c852542d3 (diff) | |
scroll in the puzzle selection scene
Diffstat (limited to 'src/scenes/scenes.h')
| -rw-r--r-- | src/scenes/scenes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scenes/scenes.h b/src/scenes/scenes.h index d705feb..f4ba579 100644 --- a/src/scenes/scenes.h +++ b/src/scenes/scenes.h @@ -40,10 +40,11 @@ bool UpdateScene(); Scene *CreateMainMenu(); Scene *CreatePuzzleScene(Puzzle *puzzle); +/// Expects a callback to add time (second argument = amount of seconds) to the scene. Scene *CreateDistractionScene(DistractionPuzzle *puzzle, void (*addTime)(Scene *, size_t)); Scene *CreateResultView(SubmitionResult *result); -Scene *CreatePuzzleCollectionScene(CollectionElement *el); +Scene *CreatePuzzleCollectionScene(CollectionElement *el, bool smooothEntry); Scene *CreatePuzzlePreview(Puzzle *puzzle); #endif // SCENES_H |
