ehouse
e63ad30e52
Add a bit more logging; do a better job of changing roles. Now can switch
...
roles with a new game and communication starts without a restart of the
app.
2006-10-07 03:40:29 +00:00
ehouse
4fda93c34d
Raise status char a bit.
2006-10-07 03:38:36 +00:00
ehouse
7cbc781a07
Add quick hack to show BT connect state on main board, to be replace
...
by icons or something prettier later. For new games dialog, replace
hard-coded list of controls to ignore with a runtime list. This
allows checkboxes and fields to be enabled and disabled more easily.
Works around Palm's lack of a control state meaning "visible but
inactive" that works for all form elements.
2006-09-24 17:56:14 +00:00
ehouse
a7e58126ed
Add more consts.
2006-09-24 15:28:15 +00:00
ehouse
a88d079029
Add debug menu and in response dump bt state to stream for display.
...
Track sends and receives. Add listening state for master, and don't
reset its acl when slave goes away.
2006-09-23 22:58:33 +00:00
ehouse
aee519e453
Don't use service records; don't reset connection state as part of
...
reset for new game; handle case where callback happens inside of
BtLibLinkDisconnect call.
2006-09-23 15:24:30 +00:00
ehouse
9ec9acdc8e
"IR" -> "Beaming"
2006-09-23 15:19:29 +00:00
ehouse
c20232085a
Tweaks toward a dual ARM/68K binary where only 68K supports bluetooth.
...
Don't try to not show the BT option for connecting, but in the case
where it's not actually supported say so in the dialog.
2006-09-18 04:40:27 +00:00
ehouse
488a2b1bac
Remove dependency on non-existant file: should not have been checked in.
2006-09-17 13:33:45 +00:00
ehouse
f0f89aa26e
remove dead code using IR libs directly (no exchange mgr); rename
...
#define to be consistent with same for bluetooth.
2006-09-17 06:16:05 +00:00
ehouse
66def86757
remove dead code using IR libs directly (no exchange mgr); rename
...
#define to be consistent with same for bluetooth.
2006-09-17 06:15:37 +00:00
ehouse
9068ba441c
What I mean to check in...
2006-09-17 05:04:32 +00:00
ehouse
9c23a2d1fe
Punt on problem of svn version in about box changing: comment in
...
makefile, and make it the last string.
2006-09-17 05:03:59 +00:00
ehouse
a7d45aca6c
Prune excessive logging
2006-09-17 04:45:19 +00:00
ehouse
00a45e0e77
fix ARM build so DEBUG setting is passed to compiler, and code so it
...
compiles that way.
2006-09-16 22:09:28 +00:00
ehouse
abd82e6e2f
pass debug -D options to .rcp files to to include debug menus
2006-09-16 16:08:33 +00:00
ehouse
ea2e1c3f0f
revert change 1593: FEATURE_HIGHRES is no longer defined. This brings
...
highres icons back.
2006-09-16 15:53:14 +00:00
ehouse
6c3ae78f81
strutils macro change
2006-09-15 07:43:21 +00:00
ehouse
e17a442964
strutils macro change; tweak so compiles non-DEBUG and without Bluetooth
2006-09-15 07:42:10 +00:00
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