added new, 3-state setup option to allow skipping levels (yes/no/ask)
authorHolger Schemel <info@artsoft.org>
Fri, 26 Apr 2024 13:46:28 +0000 (15:46 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 26 Apr 2024 13:46:32 +0000 (15:46 +0200)
commita3ac352389ad4a27a69cf0413eaabccc9eeedd9e
tree54e049d39a81dd9b9f9b831b556b8f73eb5e3c84
parentf9609535cba3b9b907f0e8dad31f7727aa380f71
added new, 3-state setup option to allow skipping levels (yes/no/ask)

This new setup option replaces the two previous setup options "Force
Solving Levels: yes/no" and "Allow Skipping Levels: yes/no" with a new
option "Allow Skipping Levels: yes/no/ask". This should simplify the
three (useful) combinations of the two previous setup options, as
follows:

- "Force Solving Levels: yes" and "Allow Skipping Levels: yes"
  => "Allow Skipping Levels: ask"

- "Force Solving Levels: yes" and "Allow Skipping Levels: no"
  => "Allow Skipping Levels: no"

- "Force Solving Levels: no" (and "Allow Skipping Levels: yes/no")
  => "Allow Skipping Levels: yes"

This hopefully makes configuring if (and how) unsolved levels may be
skipped or not easier to understand.
src/files.c
src/libgame/setup.c
src/libgame/system.h
src/screens.c