diff options
author | scratko <m@scratko.xyz> | 2024-11-18 18:01:32 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-11-18 20:36:37 +0300 |
commit | 503e7350fa3d8065e2f4814181664382154dc702 (patch) | |
tree | 18ec4fd2dc2d55e286b164c79f673b9e67e4c1bd /gameplay.cpp | |
parent | 7fea2267e78de935af6010d5ac7300e51f471601 (diff) | |
download | picture-puzzle-503e7350fa3d8065e2f4814181664382154dc702.tar.gz picture-puzzle-503e7350fa3d8065e2f4814181664382154dc702.tar.bz2 picture-puzzle-503e7350fa3d8065e2f4814181664382154dc702.zip |
Random image selection
Added a dialog box about.
Checks if the selected file is correct.
Diffstat (limited to 'gameplay.cpp')
-rw-r--r-- | gameplay.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gameplay.cpp b/gameplay.cpp index 0c6a1ab..d6bf59f 100644 --- a/gameplay.cpp +++ b/gameplay.cpp @@ -62,6 +62,7 @@ void press_button_callback(Fl_Widget *w, void *params) void PuzzleGame::StartGame(GameParams *gp) { + gp->SelectRandomPicture(); gp->ResetFreePuzzles(); gp->CreateNewPuzzles(); gp->win->redraw(); |