summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2024-07-23 20:53:07 -0400
committerFranklin Wei <franklin@rockbox.org>2024-07-23 20:56:05 -0400
commitcd1922fe74916c909ff568437c5f71f7d08c0b2b (patch)
treec2bcdf8aec32c43a6f083a042cb14ea55c6aa979
parent96f564fe646b5efc2e67a3c15b619f4e2451286a (diff)
downloadrockbox-cd1922fe74.tar.gz
rockbox-cd1922fe74.zip
puzzles: update documentation and copyright year.
Change-Id: I50731664f278f76946f96529f4ec696c9c115589
-rw-r--r--apps/plugins/puzzles/README.rockbox3
-rw-r--r--apps/plugins/puzzles/rockbox.c24
2 files changed, 16 insertions, 11 deletions
diff --git a/apps/plugins/puzzles/README.rockbox b/apps/plugins/puzzles/README.rockbox
index e497c9794f..b64b60f694 100644
--- a/apps/plugins/puzzles/README.rockbox
+++ b/apps/plugins/puzzles/README.rockbox
@@ -64,3 +64,6 @@ May 2019: Resync to e2135d5.
June 2020: Resync to 9aa7b7c. Fixed really embarrassing bug in loading
saved games.
+
+July 2024: Resync to 1c62dac (branched from Simon's fd304c5).
+Implement user preferences menu. Introduced "Mosaic".
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c
index c95e8a8356..a3fe1c6e96 100644
--- a/apps/plugins/puzzles/rockbox.c
+++ b/apps/plugins/puzzles/rockbox.c
@@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2016-2020 Franklin Wei
+ * Copyright (C) 2016-2024 Franklin Wei
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -24,10 +24,9 @@
* ================================
*
* This file contains the majority of the rockbox-specific code for
- * the sgt-puzzles port. It implements a set of functions for the
- * backend to call to actually run the games, as well as rockbox UI
- * code (menus, input, etc). For a good overview of the rest of the
- * puzzles code, see:
+ * the sgt-puzzles port. It implements an API for the backend to call
+ * to run the games, as well as the rockbox UI code (menus, input,
+ * etc). For a good overview of the rest of the puzzles code, see:
*
* <https://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/>.
*
@@ -37,7 +36,7 @@
* Contents of this file
* ---------------------
*
- * By rough order of appearnce in this file:
+ * By rough order of appearance in this file:
*
* 1) "Zoom" feature
*
@@ -62,8 +61,7 @@
* mode switching. In commit 5094aaa, this behavior was changed so
* that the frontend can now query the backend for the on-screen
* cursor location and move the viewport accordingly through the
- * new midend_get_cursor_location() API (which is not yet merged
- * into Simon's tree as of October 2020).
+ * new midend_get_cursor_location() API.
*
* 2) Font management
*
@@ -82,8 +80,8 @@
*
* 3) Drawing API
*
- * The sgt-puzzles backend wants a set of function pointers to the
- * usual drawing primitives. [1] If the `zoom_enabled' switch is
+ * The sgt-puzzles backend wants a set of function pointers to
+ * typical drawing primitives. [1] If the `zoom_enabled' switch is
* on, these call upon the "zoomed" drawing routines in (1).
*
* In the normal un-zoomed case, these functions generally rely on
@@ -108,7 +106,7 @@
* a) Mouse mode
*
* This mode is designed to accommodate puzzles without a
- * keyboard or cursor interface (currently only "Loopy"). We
+ * keyboard or cursor interface (currently only Loopyx). We
* remap the cursor keys to move an on-screen cursor rather
* than sending arrow keys to the game.
*
@@ -175,6 +173,10 @@
* generation, etc. Also supplied are a set of "presets" that
* specify a predetermined set of configuration parameters.
*
+ * In 2023, Simon introduced a User Preferences system that allows
+ * further customization of the game UI (e.g., "snap to grid" in
+ * Untangle). Rockbox support for this was added in July 2024.
+ *
* 6) In-game help
*
* The sgt-puzzles manual (src/puzzles.but) contains a chapter