summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/rbwrappers.c (follow)
Commit message (Collapse)AuthorAge
* 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: 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
* puzzles: more accurate sin() and cos()Franklin Wei2017-01-16
| | | | | | - now uses fp_sincos() Change-Id: I20c8224cac98fc677097161737d25dd9038bede2
* Fix compilation of puzzles on WindowsAmaury Pouly2017-01-15
| | | | | | mingw exports vsscanf and that clashes with rbwrappers' definition. Change-Id: I87481ff4e93547059b2e1fa8083bedcf8633343a
* puzzles: fix a few thingsFranklin Wei2017-01-04
| | | | | | | | - old acos() function was broken, replaced with a call to atan2(); this fixes "Cube!" - Makefile extended to support building "unfinished games", but not enabled - a backdrop issue fixed in rockbox.c Change-Id: I9393e958d43de32f4ccf18e1cb409f75c2e1ed3c
* puzzles: rename bcopy() to bcopy_wrapper() and make staticFranklin Wei2017-01-03
| | | | | | - fixes a name collision on linux Change-Id: I9f162b5c8a1f319fa6495ff9343fb6007cc20edf
* Port of Simon Tatham's Puzzle CollectionFranklin Wei2016-12-18
Original revision: 5123b1bf68777ffa86e651f178046b26a87cf2d9 MIT Licensed. Some games still crash and others are unplayable due to issues with controls. Still need a "real" polygon filling algorithm. Currently builds one plugin per puzzle (about 40 in total, around 100K each on ARM), but can easily be made to build a single monolithic overlay (800K or so on ARM). The following games are at least partially broken for various reasons, and have been disabled on this commit: Cube: failed assertion with "Icosahedron" setting Keen: input issues Mines: weird stuff happens on target Palisade: input issues Solo: input issues, occasional crash on target Towers: input issues Undead: input issues Unequal: input and drawing issues (concave polys) Untangle: input issues Features left to do: - In-game help system - Figure out the weird bugs Change-Id: I7c69b6860ab115f973c8d76799502e9bb3d52368