A full robot vs. robot game now works between two Treos. Added UI to
choose BT as transport mechanism, and added new send proc to establish
socket connection between host and guest. Works only for two devices:
no piconet yet. No error recovery, ability to quit game in middle,
start new game, etc.
deal with the output by removing params where possible and elsewhere
by adding XP_UNUSED macro wrapping __attribute__((unused)). There
should be NO change in function in spite of the large number of files.
change, then juggle again so the outcome is random. This works on Palm
because draws are not cached: if two players wind up not moving you still
see them move then move back.
changes (shifting util functions around) that follow from that. Back
version number down to 4.1.5 since that'll be the next shipped from this
branch. Add juggle button to newgame -- the whole point of this.
changes (shifting util functions around) that follow from that. Back
version number down to 4.1.5 since that'll be the next shipped from this
branch. Add juggle button to newgame -- the whole point of this.
util_trayHiddenChange, which means an API change. In board, calculate
bottom of board based on bottom of tray when tray is hidden, and round
so that it's an exact multiple of cell height. In wince, take
advantage of the new parameter to fix the scrollbar so that very
constrained boards can be scrolled even when the tray is hidden.
Catalan and Spanish as well as English. There's also some character
conversion in the former two that may be linked to my local LANG
setting now being en_US.utf8. May need to revisit if there are
problems.
tray tiles, since it seems not to work on all versions of PalmOS.
Simply drawing seems fine where tested; will try close clipping if
erasure happens elsewhere. Draw board-top stuff one pixel higher on
highres devices, and fix scoreboard being too narrow on high-res
devices.