rockbox/apps/plugins/puzzles
Franklin Wei 9f62373735 puzzles: fix title drawing
This fixes two separate bugs: The first was that the drawmode was not
reliably set when drawing the title, occasionally leading to a black
rectangle where the title should be; the second that the title bar's
space wasn't being cleared before drawing, leading to artifacts when
the length of the title string changed.

Change-Id: I3859125b14d568e1098b095ab134645a504b2d45
2017-11-04 11:14:17 -04:00
..
dummy add fake stdio.h 2017-04-30 19:13:13 -04:00
help puzzles: resync with upstream 2017-10-23 17:19:29 -04:00
src puzzles: sync with upstream 2017-10-29 17:39:29 -04:00
compress.c puzzles: fix build 2017-08-16 15:01:38 -04:00
fonts.zip puzzles: dynamic text size via custom font pack 2017-07-17 16:58:13 -04:00
genhelp.sh puzzles: compress extensive help text 2017-08-16 11:40:37 -04:00
help.h puzzles: compress extensive help text 2017-08-16 11:40:37 -04:00
lz4tiny.c puzzles: compress extensive help text 2017-08-16 11:40:37 -04:00
lz4tiny.h puzzles: compress extensive help text 2017-08-16 11:40:37 -04:00
puzzles.make puzzles: remove redundant help content 2017-06-03 13:45:07 -04:00
rbassert.h
rbcompat.h puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
rbmalloc.c puzzles: improve zoom rendering 2017-10-29 12:49:39 -04:00
rbwrappers.c puzzles: misc. changes and sync with upstream 2017-08-23 14:22:09 -04:00
README.rockbox puzzles: various useless tweaks 2017-08-16 11:40:42 -04:00
rockbox.c puzzles: fix title drawing 2017-11-04 11:14:17 -04:00
SOURCES puzzles: compress extensive help text 2017-08-16 11:40:37 -04:00
SOURCES.games puzzles: enable Mines 2017-07-27 19:09:50 -04:00

This is the readme for the Rockbox port of Simon Tatham's Portable
Puzzle Collection.

Upstream version used is 7cae89fb4b22c305b3fd98b4e1be065ad527a9f7 from
December 2016. It should be relatively trivial to update it to a newer
version, and should probably be done periodically as changes are made.

Most of the upstream files are essentially untouched, apart from some
minor adjustments to make it compile happily on Rockbox. Some games
still don't work due to issues with their cursor-only control scheme
(untangle being the big culprit here) but the ones that don't are
commented out in SOURCES.games. I'll get around to fixing them
eventually.

Building is done rather hackily, with a rule for every puzzle to be
built... almost 40 at the time of writing. Mr. Someone ought to figure
out how to do that with a wildcard or something.

Kudos to Simon (duh), and Frank, for telling me about it.

Franklin Wei (__builtin)

April 2017: Changes made to move upstream sources to a separate
subdirectory, where they are completely unmodified from the
original. Updating the upstream version is now as simple as copying a
fresh set of sources to src/. Several hacks were used to accomplish
this: a global include specified on the command line, and a directory
of dummy header files.

August 2017: Every game that can be played with only the cursor keys
is now functional.