simon-git: puzzles (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Mon Dec 7 19:44:14 GMT 2020
TL;DR:
78bc9ea Add method for frontends to query the backend's cursor location.
Repository: https://git.tartarus.org/simon/puzzles.git
On the web: https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2020-12-07 19:44:14
commit 78bc9ea7f79f379634f822d5f95242900f5716b9
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=78bc9ea7f79f379634f822d5f95242900f5716b9;hp=9aa7b7cdfb2bcd200f45941a58d6ae698882a2d4
Author: Franklin Wei <franklin at rockbox.org>
Date: Mon Jul 6 22:06:30 2020 -0400
Add method for frontends to query the backend's cursor location.
The Rockbox frontend allows games to be displayed in a "zoomed-in"
state targets with small displays. Currently we use a modal interface
-- a "viewing" mode in which the cursor keys are used to pan around
the rendered bitmap; and an "interaction" mode that actually sends
keys to the game.
This commit adds a midend_get_cursor_location() function to allow the
frontend to retrieve the backend's cursor location or other "region of
interest" -- such as the player location in Cube or Inertia.
With this information, the Rockbox frontend can now intelligently
follow the cursor around in the zoomed-in state, eliminating the need
for a modal interface.
blackbox.c | 15 +++++++++++
bridges.c | 15 +++++++++++
cube.c | 22 ++++++++++++++++
devel.but | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++
dominosa.c | 15 +++++++++++
fifteen.c | 12 +++++++++
filling.c | 15 +++++++++++
flip.c | 15 +++++++++++
flood.c | 15 +++++++++++
galaxies.c | 32 ++++++++++++++++++++++
guess.c | 15 +++++++++++
inertia.c | 12 +++++++++
keen.c | 15 +++++++++++
lightup.c | 14 ++++++++++
loopy.c | 9 +++++++
magnets.c | 14 ++++++++++
map.c | 14 ++++++++++
midend.c | 29 ++++++++++++++++++++
mines.c | 14 ++++++++++
net.c | 15 +++++++++++
netslide.c | 15 +++++++++++
nullgame.c | 9 +++++++
palisade.c | 14 ++++++++++
pattern.c | 14 ++++++++++
pearl.c | 14 ++++++++++
pegs.c | 14 ++++++++++
puzzles.h | 7 +++++
range.c | 14 ++++++++++
rect.c | 14 ++++++++++
samegame.c | 14 ++++++++++
signpost.c | 14 ++++++++++
singles.c | 14 ++++++++++
sixteen.c | 14 ++++++++++
slant.c | 14 ++++++++++
solo.c | 14 ++++++++++
tents.c | 14 ++++++++++
towers.c | 14 ++++++++++
tracks.c | 32 ++++++++++++++++++++++
twiddle.c | 14 ++++++++++
undead.c | 14 ++++++++++
unequal.c | 14 ++++++++++
unfinished/group.c | 9 +++++++
unfinished/separate.c | 9 +++++++
unfinished/slide.c | 9 +++++++
unfinished/sokoban.c | 9 +++++++
unruly.c | 14 ++++++++++
untangle.c | 9 +++++++
47 files changed, 740 insertions(+)
More information about the tartarus-commits
mailing list