ehouse
1aa6d81177
When bt init fails, put up alert; check for failure after and don't
...
crash; erase bt status area even when no comms in order to erase after
turning bt off; in connect dlg, use a trigger rather than field and
button for host name.
2006-10-15 16:14:42 +00:00
ehouse
27d01c55b4
Build with Bluetooth on; add alpha-only text to About dlg; show About
...
dlg on startup first time; fix null ptr deref bug.
2006-10-15 14:22:32 +00:00
ehouse
ba4f91d9e0
remove BEYOND_IR, replacing with XWFEATURE_RELAY and
...
XWFEATURE_BLUETOOTH. The goal is to be able to build to support
bluetooth only, or relay/ip only, e.g. for a palm bluetooth beta.
Seems to work.
2006-10-10 01:34:37 +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
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
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
e17a442964
strutils macro change; tweak so compiles non-DEBUG and without Bluetooth
2006-09-15 07:42:10 +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
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
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
9ad529c6b6
remove parameter following API change
2006-06-28 03:11:26 +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
dc0cdfc53a
catch up with API change
2006-05-09 04:04:56 +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
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
ehouse
c319711cb1
add error messages
2005-09-04 20:34:16 +00:00
ehouse
df5c274c31
constant name changed
2005-08-21 14:18:56 +00:00
ehouse
1fd6afcaf9
Clean up and fix timer code.
2005-08-03 01:14:49 +00:00
ehouse
c67c8054b0
add const to match new signature
2005-07-30 02:44:42 +00:00
ehouse
0a8b5bb563
Get rid of unused param
2005-07-14 02:54:47 +00:00
ehouse
b015224188
Get rid of WinCopyRect-based method of drawing letters and values in
...
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.
2005-07-14 02:45:10 +00:00
ehouse
2abb6fe77f
cleanup: make module-local functions static
2005-06-25 05:43:56 +00:00
ehouse
45cc7595cd
fix timer not getting drawn on highres screens; handle heartbeat timer
...
and change to util_setTimer
2005-06-23 04:22:27 +00:00
ehouse
88f4c3749b
add palm_util_addrChange; track whether running on POSE to work around
...
NetLibSelect bug.
2005-04-03 16:54:54 +00:00
ehouse
803371ef5a
move generic send/receive stuff from palmir.c.
2005-04-03 01:59:57 +00:00
ehouse
51f7adb650
catch up with API changes; make buffer bigger so crash doesn't happen
...
in tile picker for long-named players.
2005-01-24 05:21:45 +00:00
ehouse
be8b96424a
util function sig change
2005-01-13 04:37:36 +00:00
ehouse
91d9e9b65b
fix non-high-res build so compiles again
2004-11-17 03:54:35 +00:00
ehouse
549b89049c
use XP_MALLOC rather than MemPtrNew
2004-11-13 17:43:31 +00:00
ehouse
fbb08f7d84
don't scroll when menu's frontmost
2004-11-13 16:01:30 +00:00
ehouse
30bf7512fb
pass globals to palm_dictionary_make; handle five-way up/down in ask
...
dialog scrolling
2004-11-13 05:20:07 +00:00
ehouse
244d5b6833
check that there's a form up before calling FrmCustomAlert (when
...
warning about missing dict)
2004-11-11 15:11:54 +00:00
ehouse
1c08a0318d
bug: use ce's rule for hiding tray; works with always-visible case now
...
expected on high-res
2004-11-09 02:13:43 +00:00
ehouse
5122a003b6
wrap launch-68K option in compile-time flag off by default
2004-11-08 14:44:52 +00:00
ehouse
ea98508e43
add wrapper makeSimpleStream; handle new TILES_LEFT menuitem; server
...
now writes dict name to counts/values stream
2004-11-06 02:33:43 +00:00
ehouse
2ab5ffe0d7
palmaskFromStrId changed as part of proving "Yes" and "No" buttons to
...
queries by default. "Ok" becomes the answer only when there's a title
and (it's assumed) only one button needed.
2004-11-05 14:35:28 +00:00
ehouse
8a4ebebe5a
apply human-count test when hiding tray when quitting. No replaces
...
Cancel.
2004-11-04 02:01:47 +00:00
ehouse
48afd331ef
tweaks on tray position
2004-11-03 03:58:46 +00:00
ehouse
81c7cfbb62
tray can be in two positions/have two sizes only, either scrunched for
...
highres or square as it's always been. Initial position is for
highres; at app startup, relocate if device is low-res. Also, fix
glitch in tile picker.
2004-11-02 06:20:29 +00:00
ehouse
32e40baa04
report missing dicts; don't hide tray on close when only one human in
...
game
2004-10-30 04:51:46 +00:00
ehouse
fab8a59add
relaunch app when switching from ARM to 68K
2004-10-13 01:05:53 +00:00
ehouse
82927d7169
deal with older app prefs version
2004-10-09 00:17:29 +00:00
ehouse
151ae0e0f0
engineStarting takes number of blanks; in ARM case show progress only
...
when non-zero.
2004-10-07 13:58:42 +00:00
ehouse
f931d76db0
put randomness back in; bring up as ARM by default
2004-10-05 02:29:31 +00:00
ehouse
d9dc930e51
remove dead field
2004-10-02 03:52:46 +00:00