| Commit message (Collapse) | Author | Age |
| |
|
|
| |
Change-Id: Ic707fb03c2472b9a0c4ea3e64eb3620c411f661c
|
| |
|
|
|
|
|
| |
- change point ordering to make concave polygon rendering work
- also enables an "Easter egg" of sorts
Change-Id: I3b4044a374dce1cff889d5f3744de9e634978591
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Up to now, we'd just ignore whatever font size the puzzle asked for,
and instead just go with either the UI font or system font regardless
of their size, which led to some horrible-looking puzzles. This patch
adds the ability to automatically load fonts of the proper size when
they are available, which makes text-based puzzles such as Pattern and
Slant function correctly with any UI font.
The font pack, which should be extracted to the system-wide fonts
directory consists of 3 small bitmap fonts from 7px to 10px and then
anti-aliased Deja Vu fonts from 10px to 36px. It is available in the
source tree (apps/plugins/puzzles/fonts.zip), or from
<http://download.rockbox.org/useful/sgt-fonts.zip>.
Change-Id: I05c8fe7bd6d867e14de9b941deb91e8c642ee4a8
|
| |
|
|
|
|
| |
This maps the select button to the "h" key for Fifteen only.
Change-Id: I7a5a61cec46e86254218fabfb191974f98c12319
|
| |
|
|
|
|
|
|
|
|
|
| |
It used to be that each puzzle had a complete copy of the entire
puzzles manual and the "quick help" text for every single puzzle. This
was obviously a waste, so now each puzzle only has the sections of the
manual that apply to it, saving about 100KB or so per puzzle. This
also has the added benefit of shrinking binary size enough to allow
full help support on the c200v2, which has been enabled.
Change-Id: I76c799635de058e4a48e0c18b79537857af7cf85
|
| |
|
|
|
|
|
| |
DRMODE_FG should be used instead of DRMODE_COMPLEMENT to allow text to
be drawn in color, benefitting puzzles such as Slant and Pattern.
Change-Id: I292216490a58344cb93dc5c2ec1780229735313a
|
| |
|
|
| |
Change-Id: I0541485af087d0bea845e05fbcf61b01be91bf6f
|
| |
|
|
| |
Change-Id: I1f68f25a557bb2daa5e83a6d6f02711abeec5165
|
| |
|
|
|
|
| |
- small screen could lead to invalid viewport coordinates
Change-Id: I1f2a323554e4ed31f250218220b464a02bffa308
|
| |
|
|
|
|
|
| |
- disables help on c200v2
- renames conflicting function
Change-Id: I0c4ff1bb40e7e3cafd0170090f22b80bf0656741
|
| |
|
|
|
|
|
|
|
| |
- embeds the upstream halibut documentation for plugin use
- currently every plugin has a copy of the help text, but in the
future a centralized system using overlays might be better
Change-Id: Idb6eb9accc2fa786a4c6bc2b704e7cf5fd3f78dd
|
| |
|
|
|
|
|
|
| |
All the *_PAD values are always #defined. So the change made in
5e91ec1 was applied to all devices instead of only those it was
meant to be applied to.
Change-Id: Iba72316ecf2e3c83132b47484731cd177686b19e
|
| |
|
|
| |
Change-Id: I22c84257a3aa9b19bf5e94f9de51204bbade08c5
|
| |
|
|
| |
Change-Id: Ib0524fd4594e9524612eca0da54b3d13dc79b22c
|
| |
|
|
| |
Change-Id: I14b4bda7e706e73d2d4475c9d536fbef9e2b9577
|
| |
|
|
| |
Change-Id: Iec6159b095b29b5ffb3ef5a46d068012fbe10f00
|
| |
|
|
| |
Change-Id: Icb7320f9233f2c121a8487d5b5c4cbcb483e9345
|
| |
|
|
| |
Change-Id: Ibba738b8179c166f680dee0ce7536890fca1c0e4
|
| |
|
|
| |
Change-Id: I014ace22f0b83d8e407bd46df361532207f984bc
|
| |
|
|
| |
Change-Id: I34dd8673ebcbc7fcd55681175d0e18c8bbc5fe6c
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
cppcheck reported:
[chessbox/chessbox_pgn.c:51]: (portability) 'bufptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined.
Change-Id: Ib2139489fa316fb61b4bcdc08f17b97eb6ad0be7
|
| |
|
|
|
|
| |
cppcheck reported: [speedread.c:151]: (style) Condition 'h<0' is always true
Change-Id: I78fe0bbd205b0ca5b03a71ace81ef4f9b616e268
|
| |
|
|
| |
Change-Id: I704231b10987ae2adddedebb975538f222843bce
|
| |
|
|
| |
Change-Id: I6113d48f763195cdea36b8a9efd9e5dd18098c99
|
| |
|
|
|
|
|
|
| |
Partially based on `spread0r', an open-source ebook reader: https://github.com/xypiie/spread0r
Similar to Spritz(TM): http://spritzinc.com
Change-Id: I6aa54addd1910a83a266aea561406b6268449b67
|
| |
|
|
|
|
|
|
| |
- unregisters timer on exit, preventing possible crash
- disables synchronization mechanisms when used from an IRQ
- prevents memory allocations from overflowing the audio buffer (unlikely)
Change-Id: I3c2c4ebe93c10ca9176ed0455e7aacc2d10c059e
|
| |
|
|
| |
Change-Id: I9faf00a97d0718efb0e4667018e9ff81ba80ee83
|
| |
|
|
|
|
| |
- thanks to Michael Sevakis for catching this
Change-Id: Ia02ba7a06a55bc0741df9ce2c21f868d7e0abdd4
|
| |
|
|
|
|
| |
- rewrote a bunch of repetitive rules with a pattern rule
Change-Id: I86a61a7ed8398f18789e5efaf4996d9eafd50651
|
| |
|
|
|
|
|
|
|
| |
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is
not valid. In any case, one should use intptr_t and ptrdiff_t when casting
to integers. This commit attempts to fix all instances reported by GCC.
When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h
Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Chessbox was overflowing GameList[240] causing the board to flip + crash
GameCnt changed to unsigned char which allows the array to roll over
to 0 after 255
define MAX_GAME_CNT 256 and GameList[MAX_GAME_CNT] along with 1 byte GameCnt
should fix this issue
dbg save routine left in for now to help identify any other problems
Added bounds checking to prevent second bug found when loading .pgn files
Change-Id: I2b615c8ecbed4368724412f80ce07346f3cf30a7
|
| |
|
|
|
|
| |
Remove 1616 Whitespaces from chessbox
Change-Id: I84c0dbd4a177eba50b9f7427f5695ae4b266aa5e
|
| |
|
|
|
|
| |
- now uses fp_sincos()
Change-Id: I20c8224cac98fc677097161737d25dd9038bede2
|
| |
|
|
| |
Change-Id: I606df468f92f8d550827c122a9cfd5248866afdb
|
| |
|
|
| |
Change-Id: Iaa02e7a1fe4c17be7c4decbd5eb71206469710e9
|
| |
|
|
| |
Change-Id: I7f27e96036b5d22e946cc72146cd0f5a791deaf7
|
| |
|
|
|
|
| |
- accidentally enabled in c200v2 fix
Change-Id: I252191fc47da9fe1a664a260cb53f6a5a1eea437
|
| |
|
|
|
|
|
|
|
|
| |
defined in mingw environments.
Renamed defines of UNALIGNED to ROCKBOX_UNALIGNED so that they don't
conflict with definitions in mingw32 cross-compiling environments
(defined in _mingw.h).
Change-Id: I369848c0f507e6bf5ff9ab4a60663bbbda6edc52
|
| |
|
|
| |
Change-Id: I9b0659c218f92051a4de99ec03b97a2b1d067e29
|
| |
|
|
|
|
| |
- disables Solo and Loopy
Change-Id: I3de15c0ad001683a4303950972af2f5988d438d0
|
| |
|
|
|
|
|
|
|
| |
"shortcuts" for undo/redo
- line drawing should eventually be moved to xlcd, but for now it's very unportable code
- also fixes a minor issue with the configuration screens
Change-Id: I897f01b7210cbbec32665c2bc67920c965ea0bec
|
| |
|
|
|
|
| |
mingw exports vsscanf and that clashes with rbwrappers' definition.
Change-Id: I87481ff4e93547059b2e1fa8083bedcf8633343a
|
| |
|
|
|
|
|
|
| |
undo/redo"
This reverts commit 8e4429853d1ac024ac2b8069636cc210cf5bab1b.
Change-Id: Id622d58ad4b3b9dd3313811c8a2f83202d21f5ee
|
| |
|
|
| |
Change-Id: I440f3cea1bbeb3e7bda4aebefaaece3e8f3d44fd
|
| |
|
|
|
|
|
| |
- line drawing should eventually be moved to xlcd, but for now it's very nonportable code
- fixes a minor issue with the configuration screens
Change-Id: I897f01b7210cbbec32665c2bc67920c965ea0bec
|
| |
|
|
|
|
|
|
| |
- upon a failed smalloc(), the audio buffer will be used for further allocations
- should fix things on low-memory targets (c100 and c200v2), but breaks playback
- playback should still be intact on other targets
Change-Id: Ic239f1316efadc957050afacf5c614dbbca3f805
|
| |
|
|
|
|
|
| |
- makes it playable
- submitted to upstream
Change-Id: Ib672ee374d500a994bc8e78eb01fea529ec5132f
|
| |
|
|
| |
Change-Id: I9aaf7f2844e9f90030dbf0a63ebec80db4851e18
|
| |
|
|
| |
Change-Id: I3794e8d8837722442b25e2b48db1b5b3c3c2dc51
|