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
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
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
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
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
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
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +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
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
ff5ea1cb44
Moving glyph-measuring code to drawing
2005-07-08 03:10:21 +00:00
ehouse
3d067ccbbc
(conditionally) modify dicts to support getting height of platform
...
glyphs, pass into drawing code so can be fetched and cached, and
implement for Palm. This is to allow drawing glyphs (like Danish's
A-with-circle) that are taller than normal without the visual padding
the rest can have. So far works for 68K/non-highres. Will not
compile for ARM yet.
2005-07-07 03:46:07 +00:00
ehouse
2abb6fe77f
cleanup: make module-local functions static
2005-06-25 05:43:56 +00:00
ehouse
b1536b6d38
handle heartbeat timer and change to util_setTimer
2005-06-23 04:22:46 +00:00
ehouse
f58a885ce2
track whether running on POSE to work around NetLibSelect bug; track
...
whether addr needs re-resolving.
2005-04-03 16:55:38 +00:00
ehouse
0a0bea17ed
move generic send/receive stuff from palmir.c; tweak data structures
...
for relay scheme.
2005-04-03 02:00:44 +00:00
ehouse
e363cddf6a
var name change
2004-11-14 16:17:47 +00:00
ehouse
5122a003b6
wrap launch-68K option in compile-time flag off by default
2004-11-08 14:44:52 +00:00
ehouse
92bcab58c7
palmaskFromStrId changed
2004-11-05 14:37:38 +00:00
ehouse
b3da969a47
more tweaks to high-res drawing -- and don't call WinSetScalingMode
...
when it's not available!
2004-11-02 06:05:23 +00:00
ehouse
574f994ea4
Draw tray tile value very small in highres case.
2004-10-30 19:25:23 +00:00
ehouse
aae594857a
always include slots that are only used in conditional builds to
...
simplify converting between saved versions.
2004-10-09 00:18:40 +00:00
ehouse
d0bfff0d46
change type to signed as part of not showing engine feedback when (on
...
ARM) search won't take long enough to matter.
2004-10-08 01:02:15 +00:00
ehouse
58f5f7b38c
add option when memory's available for dict to store all of its data
...
in a single FtrPtr so that lookup can be faster. Still need to
confirm that there's a noticable speedup this way....
2004-10-07 13:23:20 +00:00
ehouse
27556d8c43
name changes; add cast to macro
2004-10-05 02:30:19 +00:00
ehouse
d9dc930e51
remove dead field
2004-10-02 03:52:46 +00:00
ehouse
cf9c4320bd
separate highres support from screen resizing so can do only the former now
2004-10-01 01:40:47 +00:00
ehouse
4494339d72
pad struct to 4 bytes so ARM and 68K size are the same
2004-09-29 13:17:15 +00:00
ehouse
6027888932
cleanup; don't touch string ptrs after pass to LstSetListChoices;
...
store strings in single block so can dispose.
2004-09-29 01:07:53 +00:00
ehouse
0471650f88
build with 68K and ARM in same .prc
2004-09-24 01:21:42 +00:00
ehouse
50598c3293
cleanup unrelated to pnolet work
2004-09-21 04:57:00 +00:00
ehouse
5b385c1c11
remove tray limits; add boolen for tracking whether to ask for 'em.
2004-06-25 06:44:55 +00:00
ehouse
2afccf209a
add checkbox for hint rect
2004-06-22 06:30:58 +00:00
ehouse
7008125ec7
(rough) changes to make toggling work for 320x480 Clie with silkscreen
2004-04-20 04:10:15 +00:00
ehouse
f7cd22a4b3
add slot to store old win coords value
2004-03-16 05:28:40 +00:00
ehouse
82ce4e8962
start hi-res work
2004-03-13 14:18:54 +00:00
ehouse
314a5d682b
confirm each dict converted from old format; recover from open when
...
none avail.
2004-01-17 19:34:25 +00:00
ehouse
240b314ff8
remove turn-on-option part of picking tiles into tray. If you enable
...
it for a game you're stuck with it. Less complex UI is better.
2003-12-13 18:40:17 +00:00
ehouse
a2a2da865e
turn ntiles dialog into hint config dialog (experimental)
2003-12-01 14:34:09 +00:00
ehouse
6cb0f359ad
new form for picking nTiles used in hint
2003-11-30 22:03:02 +00:00
ehouse
ace0a33335
new state variable
2003-11-30 18:58:17 +00:00
ehouse
b229549323
Add UI to support turning on/off picking tiles
2003-11-19 04:09:15 +00:00
ehouse
56af07456c
get rid of DIRECT_PALMOS_CALLS
2003-11-16 19:46:51 +00:00
ehouse
a49c9b053d
checkin from personal archive
2003-11-16 19:37:12 +00:00