summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src (follow)
Commit message (Collapse)AuthorAge
* puzzles: resync with upstreamFranklin Wei2019-05-15
| | | | | | | | | This brings the puzzles source to upstream commit e2135d5. (I've made my own changes on top of that.) This brings in a couple bugfixes and a new solver for Dominosa. Change-Id: I11d46b43171787832330a5e2e0d2f353f36f727d
* puzzles: resync with upstreamFranklin Wei2018-12-21
| | | | | | | | | | This brings the code to upstream commit 3ece3d6 (I've made my own Rockbox- specific changes on top of that). Changes include using C99 `bool' throughout, and minor logic fixes for some puzzles. Change-Id: Ie823e73ae49a8ee1de411d6d406df2ba835af541
* puzzles: resync with upstreamFranklin Wei2018-06-20
| | | | | | | | This brings the source to upstream commit 506b073 (though I have made some extra commits on top of that). Notably this includes a fix for a double-free bug that I myself introduced upstream. Change-Id: I02671586bbc34d63e05398ee971271fed42538cf
* puzzles: resync with upstreamFranklin Wei2018-04-24
| | | | | | | This brings the upstream version to b3da238 (though some of my own changes are included on top of that). Change-Id: Ida73e8cd86765413147ce891af3cc2b7aeda2b2a
* puzzles: clean up for rockboxFranklin Wei2018-04-17
| | | | | | Disabled vprintf() call in Filling, and reordered vertices in Unequal. Change-Id: Ia3d8cd46ae3a7909b7dc2a8de762aa3173634d1e
* puzzles: enable all the remaining gamesFranklin Wei2018-04-17
| | | | | | | | They all work now :). I merged in part of Chris Boyle's Android port of Puzzles to give the front end a way to know what keys the back end needs. This also re-syncs to the latest upstream sources. Change-Id: Ie0409bbb32f617ae5abf4f81be3b45d1552db9bb
* puzzles: clean junk filesFranklin Wei2017-11-21
| | | | | | These are really not needed. Change-Id: I8aa8d648c363c657ca104fc9876b3c63558c5608
* puzzles: resync with upstream; add Loopy and Palisade, mouse modeFranklin Wei2017-11-21
| | | | | | | | | | | | This brings a various small changes to the drawing and input code, as well as a brand new "mouse mode", where input goes to a virtual mouse cursor. Only Loopy has this mouse mode enabled by default, while other games have it hidden away under the debug menu. Some changes by me to Palisade were required to make it playable; those are included here as well. Right now, sgt-net is pushing the c200v2's upper limit on size and may have to be dropped in a future commit. Change-Id: I495d2a2125462c2985aec1ffbc54bbe3fe5133bd
* puzzles: sync with upstreamFranklin Wei2017-10-29
| | | | | | | This includes the fix for Map's incorrect cursor positioning when zoomed in. Change-Id: I7d7d1f3031bbe1390e89340039996f99efaa8ef5
* puzzles: make Untangle's input code return UI_UPDATE instead of ""Franklin Wei2017-10-24
| | | | | | | This was changed upstream and slipped by when I was merging the changes. Change-Id: I3a53cd2db5a5cd2ffef52719a048b8ff4c80d1aa
* puzzles: resync with upstreamFranklin Wei2017-10-23
| | | | | | | There have been some improvements with regard to small screen sizes, which will be nice to have. Change-Id: I30c740514156258d2818fde325c1a751500f7611
* puzzles: resync with upstreamFranklin Wei2017-09-30
| | | | | | This brings puzzles to upstream commit 84d3fd2. Change-Id: I808a197f868032d771fc101a15666c5ec4b9f94b
* puzzles: misc. changes and sync with upstreamFranklin Wei2017-08-23
| | | | | | | | | This brings puzzles up-to-date with Simon's tree, along with the rockbox-specific changes I made. Note that I also got rid of some of the ugly floating-point code in rbwrappers.c and replaced it with wrappers for our fixed-point library. Change-Id: Ibfb79acb15517116a26de1c3ea89e025146b9e2e
* puzzles: fix polygon drawing in InertiaFranklin Wei2017-08-16
| | | | | | Yet another hack to accommodate our polygon algorithm... Change-Id: Ic5d304be23d30c380b19771ab68cf01c416261b4
* puzzles: add more parameter validation checksFranklin Wei2017-08-16
| | | | | | Fixes some annoying crashes. Change-Id: If3c293bd90e301c3e697d1e5fcb1b0aa2ea320fb
* puzzles: fix floating-point formattingFranklin Wei2017-08-16
| | | | | | | | | This is pretty ad-hoc, but the only other ways are to rewrite sprintf (which would use too much memory on the c200v2), or implement support for floats in rockbox's formatter, neither of which are acceptable. Change-Id: I70d59fd3e90a16e2db9ae0a84cd8c14807f50b46
* puzzles: fix flag drawing in MinesFranklin Wei2017-07-27
| | | | | Yet another workaround to accomodate our polygon drawing "algorithm" (if you can call it that).
* puzzles: fix star drawing in SignpostFranklin Wei2017-07-17
| | | | | | | - change point ordering to make concave polygon rendering work - also enables an "Easter egg" of sorts Change-Id: I3b4044a374dce1cff889d5f3744de9e634978591
* puzzles: fix buildingFranklin Wei2017-05-17
| | | | | | | - disables help on c200v2 - renames conflicting function Change-Id: I0c4ff1bb40e7e3cafd0170090f22b80bf0656741
* puzzles: refactor and resync with upstreamFranklin Wei2017-04-29
This brings puzzles up-to-date with upstream revision 2d333750272c3967cfd5cd3677572cddeaad5932, though certain changes made by me, including cursor-only Untangle and some compilation fixes remain. Upstream code has been moved to its separate subdirectory and future syncs can be done by simply copying over the new sources. Change-Id: Ia6506ca5f78c3627165ea6791d38db414ace0804