mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Palisade: add double-resolution cursor mode.
This adds a "half-grid" cursor mode, settable via a preference, which doubles the resolution of the keyboard cursor, so that it can be over a square center, vertex, or edge. The cursor select buttons then toggle the edge directly under the cursor. There are two advantages to this new behavior. First, the game can now be played with only the cursor keys, doing away with the need to hold Control or Shift, which are not currently emulated on Rockbox. And second, the new interface is arguably more discoverable than the legacy mode, which is still retained as a user preference.
This commit is contained in:

committed by
Simon Tatham

parent
72ff127404
commit
62c0e0dcc9
20
puzzles.but
20
puzzles.but
@ -3519,10 +3519,15 @@ Palisade was contributed to this collection by Jonas K\u00F6{oe}lker.
|
||||
\H{palisade-controls} \I{controls, for Palisade}Palisade controls
|
||||
|
||||
Left-click to place an edge. Right-click to indicate \q{no edge}.
|
||||
Alternatively, the arrow keys will move a keyboard cursor. Holding
|
||||
Control while pressing an arrow key will place an edge. Press
|
||||
Shift-arrowkey to switch off an edge. Repeat an action to perform
|
||||
its inverse.
|
||||
|
||||
Alternatively, the arrow keys will move a keyboard cursor. Depending
|
||||
on the \q{Cursor mode} preference (see \k{palisade-prefs}), the cursor
|
||||
will either navigate among the grid squares, or along their
|
||||
borders. In \q{Full-grid} mode, hold Control while pressing an arrow
|
||||
key to place an edge, and press Shift-arrowkey to switch off an
|
||||
edge. In \q{Half-grid} mode, press Enter to place an edge, and Space
|
||||
to switch off an edge. In either mode, you can repeat an action to
|
||||
perform its inverse.
|
||||
|
||||
(All the actions described in \k{common-actions} are also available.)
|
||||
|
||||
@ -3539,6 +3544,13 @@ These parameters are available from the \q{Custom...} option on the
|
||||
|
||||
\dd The size of the regions into which the grid must be subdivided.
|
||||
|
||||
\H{palisade-prefs} \I{preferences, for Palisade}Palisade user preferences
|
||||
|
||||
On platforms that support user preferences, the \q{Preferences} option
|
||||
on the \q{Game} menu will let you configure the behavior of the cursor
|
||||
keys to either navigate among full grid squares, or along the borders
|
||||
of the grid squares.
|
||||
|
||||
\C{mosaic} \i{Mosaic}
|
||||
|
||||
\cfg{winhelp-topic}{games.mosaic}
|
||||
|
Reference in New Issue
Block a user