Commit graph

388 commits

Author SHA1 Message Date
ehouse
d06daad4f0 Names change only: it's actions, not events, that are postponed. 2006-09-14 01:57:40 +00:00
ehouse
2c0283ee31 Remove dead code 2006-09-14 01:48:22 +00:00
ehouse
ed06a20881 New addr param to checkAndDeliver so address can be passed back to
comms; Add debug-only menus to toggle logging to file and memopad.
2006-09-14 01:46:41 +00:00
ehouse
4f2468c61e New addr param to checkAndDeliver so address can be passed back to
comms.
2006-09-14 01:41:37 +00:00
ehouse
3b98337eec Better handling of disconnect and reconnect; esp. slave will keep
trying to connect after losing contact with server.  With this
checkin, a game between palm and linux can be interrupted by either or
both and restarted, with either in either role.  Haven't tested
palm-on-palm yet.  App stop speed is much better now too.
2006-09-14 01:38:09 +00:00
ehouse
66d900b1fa Add debug-only menus to toggle logging to file and memopad 2006-09-14 01:34:22 +00:00
ehouse
13aabdd2e7 Don't typedef array; make array field of struct. 2006-09-14 01:31:13 +00:00
ehouse
c068126c56 tweaks to re/connect logic; process incoming data from main event loop
and enqueue more than one at a time; wipe existing queue when reinited.
2006-09-10 18:34:57 +00:00
ehouse
f46ae953e8 Lots of changes aimed at allowing to quit and restart in the middle of
a BT game: track states so can shutdown cleanly; transition from
master to slave; mechanism to defer work from callbacks to the main
loop.  Can now quit and restart as guest against host on linux.  Have
not tested between two Treos.
2006-09-08 07:06:21 +00:00
ehouse
67b1c7c45a init address field with current bt_adddr 2006-09-08 07:02:16 +00:00
ehouse
e471250e1e cleanup: add missing consts. 2006-09-08 06:43:59 +00:00
ehouse
f73836a0ce add ability to log to non-Memo db (to be read off device). 2006-09-08 06:39:35 +00:00
ehouse
fbe6da0ecd add __FUNCTION__ to assert macro 2006-09-01 04:39:56 +00:00
ehouse
29c8b461b8 hardcode psm (for now), and remove spd lookup stuff. Was needed to
connect to linux server which doesn't add spd records yet.
2006-08-29 13:23:00 +00:00
ehouse
7d48f2e430 Put up BT device browser while user is picking connection method
rather than when trying to send for first time, then pass address
through from conns dialog to bt code.
2006-08-26 21:12:10 +00:00
ehouse
3c6405d0d1 First shot at bluetooth support (turned off in Makefile by default).
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.
2006-08-23 04:44:55 +00:00
ehouse
62dd1091ca Fix compile errors due to missing UNUSED macros 2006-08-17 01:31:49 +00:00
ehouse
f561989644 Set -Wunused-parameter for those versions of gcc that support it, and
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.
2006-08-16 13:44:44 +00:00
ehouse
fbd3716fc3 tweak button location 2006-07-28 08:04:00 +00:00
ehouse
eacc930c31 fix change between Local players/Total players when device role changes in newgame dlg 2006-07-28 08:03:33 +00:00
ehouse
3b11f5ac1f better compile-command in header 2006-07-28 07:53:18 +00:00
ehouse
468a8626bf cleanup: remove overly verbose logging 2006-07-28 07:51:49 +00:00
ehouse
8e1291a4e6 round up when determining top coord of letter in cell. Fixes "Q"
getting drawn higher than other ascii chars, and does not break even
taller chars in Danish or Portuguese.
2006-07-04 00:16:08 +00:00
ehouse
83d8d8b9e8 Exclude high-res bitmaps from lowres build 2006-07-03 23:45:18 +00:00
ehouse
b2d326c2f5 on low-res screens, don't expand timer's clip rect to avoid erasing cell border below. 2006-07-03 23:44:51 +00:00
ehouse
9e5b4930b0 ppm files no longer used. Remove. 2006-07-03 23:06:25 +00:00
ehouse
d860e63e16 UI compromise on juggle: force something to happen, so the user sees a
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.
2006-07-01 14:18:00 +00:00
ehouse
9ad529c6b6 remove parameter following API change 2006-06-28 03:11:26 +00:00
ehouse
8277d3736a Use new xplatform newgame logic to replace palm's in newgame.c, and make other
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.
2006-06-22 04:57:46 +00:00
ehouse
f4659b73b0 Use new xplatform newgame logic to replace palm's in newgame.c, and make other
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.
2006-06-22 04:57:08 +00:00
ehouse
2d344c8c76 turn off advanced networking by default for push to release 2006-06-22 04:52:33 +00:00
ehouse
e8273bc9f0 Finish scrollbar work by passing number of visible rows to
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.
2006-05-19 13:44:05 +00:00
ehouse
6b80b3c0bc Include output of svnversion in Palm version's About dialog. For
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.
2006-05-15 04:24:30 +00:00
ehouse
4969c10445 catch up with API change 2006-05-09 04:05:19 +00:00
ehouse
dc0cdfc53a catch up with API change 2006-05-09 04:04:56 +00:00
ehouse
01d7f9b344 Get rid of TALL_FONT macro, since it's permanently on anyway. 2006-04-01 21:25:58 +00:00
ehouse
cc6251b595 Remove HIGHRES compile-time tests: all palm releases will have HIGHRES
support now; build in different directories.
2006-03-31 10:57:01 +00:00
ehouse
180c86cf0c add a couple of missing icon images 2006-03-18 03:34:15 +00:00
ehouse
d98c3d64f2 bring in transparant small icon change from 4.1 branch 2006-02-26 23:56:06 +00:00
ehouse
ccb5ee87f8 up alpha version 2006-02-26 23:53:55 +00:00
ehouse
9ff5259d4e add const decls to draw.h and dictnry.h functions where appropriate,
and modify "subclass" methods to match.  Should be no code change, but
this makes the intent of the APIs clearer.
2006-02-18 06:39:40 +00:00
ehouse
de01f71058 update help target 2006-02-18 06:37:01 +00:00
ehouse
0693777599 merge transparant large-icon from 411-branch 2006-01-22 17:50:47 +00:00
ehouse
f833a5ef2c don't show "loading ARM" except on debug versions. It's fast enough now. 2006-01-21 19:16:39 +00:00
ehouse
d2a32f7a95 tell folks where to get dictionaries. 2006-01-21 19:12:37 +00:00
ehouse
165174087c -Os instead of -O2 2006-01-16 06:08:16 +00:00
ehouse
423c090c4c make default build arm_only, and don't require multilink to build the
68k stub.
2006-01-16 06:07:33 +00:00
ehouse
c7d851ca18 don't use arm-palmos* tools if arm-elf* tools available. Current
version on debian testing builds bad code.
2006-01-08 22:19:24 +00:00
ehouse
dcd31cd092 update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
2719bb39b2 fix for when BEYOND_IR not defined 2005-09-17 19:49:53 +00:00