puzzles: resync with upstream

This brings the puzzles source in sync with Simon's branch, commit fd304c5
(from March 2024), with some added Rockbox-specific compatibility changes:

https://www.franklinwei.com/git/puzzles/commit/?h=rockbox-devel&id=516830d9d76bdfe64fe5ccf2a9b59c33f5c7c078

There are quite a lot of backend changes, including a new "Mosaic" puzzle.
In addition, some new frontend changes were necessary:

- New "Preferences" menu to access the user preferences system.
- Enabled spacebar input for several games.

Change-Id: I94c7df674089c92f32d5f07025f6a1059068af1e
This commit is contained in:
Franklin Wei 2024-07-22 21:43:25 -04:00
parent c72030f98c
commit 09aa8de52c
184 changed files with 27833 additions and 15572 deletions

View file

@ -19,7 +19,7 @@ then
fi
echo "=== POTENTIALLY DANGEROUS OPERATION ==="
echo "Are you sure you want to remove all files in src/?"
echo "Are you sure you want to remove all files in src/ and help/?"
echo -n "If so, type \"yes\" in all caps: "
read ans
if [ "YES" == $ans ]
@ -30,8 +30,9 @@ then
rm -rf src
echo "[2/5] Copying new sources"
mkdir src
cp -r "$1"/{*.c,*.h,*.R,*.but,LICENCE,README} src
cp -r "$1"/{*.c,*.h,*.but,LICENCE,README,CMakeLists.txt} src
echo "[3/5] Regenerating help"
rm -rf help
./genhelp.sh
echo "[4/5] Staging for commit"