ehouse
704e60ef4c
Make gadget and bitmap size match.
2007-03-18 23:58:32 +00:00
ehouse
b965654db3
Closing BT lib from datahandler (since don't want to close on game
...
close in case next game will use); erase BT status icon when not BT
game; plug leak of dict name.
2007-03-18 23:57:30 +00:00
ehouse
0b9f77d4c0
Don't call comms_start while opening game. Caller may still consider
...
another game open.
2007-03-18 23:55:58 +00:00
ehouse
6f7db1a202
palm_dictionary_make makes copy of name if needed. Helps plug memory leak.
2007-03-18 23:49:15 +00:00
ehouse
2bb3c946d9
add consts; remove logging.
2007-03-18 23:48:00 +00:00
ehouse
f1cda6dad4
What I meant to check in. Need to save first....
2007-03-18 23:38:53 +00:00
ehouse
da551e1177
Always send BT reconnet message, even if there are messages to resend.
...
Fixes failure to reconnect when opening a saved BT game where the
other device is waiting and will need to resend.
2007-03-18 23:38:19 +00:00
ehouse
6dc75914a6
turn stringFromStream into macro to aid logging for leak detection. Debug builds only effected.
2007-03-18 23:31:51 +00:00
ehouse
1ad222c409
Fix crash on ARM: don't compare dummy strings.
2007-03-18 14:45:51 +00:00
ehouse
968a58785d
include ability to choose arm or 68K in combined-arch release builds too
2007-03-18 00:05:15 +00:00
ehouse
5334876568
comment out assert that doesn't seem to matter
2007-03-17 17:31:01 +00:00
ehouse
c72ef78f60
include ability to choose arm or 68K in combined-arch debug builds
2007-03-17 17:30:30 +00:00
ehouse
233fb2ef40
Pad prefs struct so ARM and 68K versions are using same addresses
...
(fixes crash opening game in ARM version that was saved in 68K);
2007-03-17 17:29:32 +00:00
ehouse
6fcb5b714c
better logging: include function name
2007-03-17 15:38:44 +00:00
ehouse
7997258163
Pad prefs struct so ARM and 68K versions are using same addresses
...
(fixes crash opening game in ARM version that was saved in 68K);
renumber resource IDs so can be logged via a switch.
2007-03-17 15:37:15 +00:00
ehouse
9e345c317f
Remove excess logging.
2007-03-17 15:35:14 +00:00
ehouse
66d8a99bb1
Put back code to associate service record with listening socket, but
...
ifdef'd out as it doesn't seem to make any difference.
2007-03-17 15:34:24 +00:00
ehouse
5f75dfe213
define XW_PSM in accord with palm guidelines. Doesn't seem to matter...
2007-03-17 15:33:16 +00:00
ehouse
3cf22d6302
compare only six bytes of struct ARM pads to 8.
2007-03-15 05:06:56 +00:00
ehouse
eddc046e79
Enable BT; up version number for a3.
2007-03-15 01:21:56 +00:00
ehouse
b9068c10c1
Don't store procptr stubs in Ftrs across app boots! Fixes device-resetting crash.
2007-03-15 01:20:11 +00:00
ehouse
c1c96ed807
Don't store procptr stubs in Ftrs across app boots! Fixes device-resetting crash.
2007-03-15 01:19:35 +00:00
ehouse
a66f290b5e
Print param lists under 80 columns.
2007-03-15 01:14:15 +00:00
ehouse
ca849ea934
define constant so tests work on ARM too.
2007-03-09 03:00:44 +00:00
ehouse
71693ea0f7
Add APIs needed to compile and use BT APIs. ARM version works now well enough to play games, but often crashes on app exit having done so.
2007-03-09 02:58:57 +00:00
ehouse
9963c9de2e
update to die when func not found, and to handle BT APIs
2007-03-09 02:56:02 +00:00
ehouse
13a517d477
Add one-bit bluetooth status indicators
2007-02-28 02:32:49 +00:00
ehouse
21e5e3ad23
Fix bug: scoreboard doesn't reflect connected state until some other
...
event causes update. Fix by calling turnChangeListener any time turn
changes, including on initial set.
2007-02-27 02:48:51 +00:00
ehouse
033df9c5af
Save and restore focus owner across app restarts (includes working around
...
OS's insistence on sending focusTake event on formOpen); up version numbers; turn off BT prior to beta release.
2007-02-24 03:35:51 +00:00
ehouse
ef75450af5
Target to build tarball for uploading to byod.
2007-02-20 07:24:18 +00:00
ehouse
1ef4637a0d
Fix to work with new byod scheme.
2007-02-20 05:49:57 +00:00
ehouse
2b35dd68c7
Cleanup for a5 release: always use status icons when building for bluetooth.
2007-02-18 03:33:17 +00:00
ehouse
3bb2fb018f
Add support for Russian. So that Russian text can be processed on systems without setting LANG=ru_RU.CP1251, modify dict2dawg to skip duplicates and words outside of specified lengths. Modify all info.txt files for the new scheme (which includes change to byod.cgi not kept on sourceforge.)
2007-02-17 17:06:05 +00:00
ehouse
326ecb00f4
increment internal tile values by one so strings can be null-terminated
2007-02-14 15:17:00 +00:00
ehouse
dc204c9aba
code to use bitmaps instead of letters to show bt conn status.
2007-02-12 08:05:35 +00:00
ehouse
e53f483d27
Add bitmaps to replace letters as indicators of bluetooth connnect state. Still to go: lowres equivalents.
2007-02-12 07:54:23 +00:00
ehouse
80efa73a50
Cleanup: compile warning and to make logging easier.
2007-02-08 15:17:23 +00:00
ehouse
2d696b1e6c
Fix nav for tungsten: test for lack rather than presence of keyUp events.
2007-02-08 15:16:46 +00:00
ehouse
51f726ddcf
Add a one-byte header to BT messages so one device can signal another
...
that a new game's begun without dropping the connection. On Palm,
remove connection-drop on new game. With this change starting a new
game takes imperciptible time, down from 30 seconds.
2007-02-08 02:53:10 +00:00
ehouse
91c1b1246e
Replace ints with bools; add rev command; fix bug by reiniting args with each
...
command so they don't hold previous values.
2007-02-07 13:22:40 +00:00
ehouse
a7313b1e30
Fix linked-list bug in removeFromQueue.
2007-02-07 11:58:01 +00:00
ehouse
ad2acdf0b6
Print svn rev number as part of usage()
2007-02-07 11:56:30 +00:00
ehouse
cd397813c8
up version number for alpha
2007-02-06 05:55:21 +00:00
ehouse
8a94d0d6ef
initialize mutex before using; fixes a hang since could never aquire
...
lock. (This bug has always been there, but didn't matter before;
maybe pthreads changed.) Comment out self-spawning stuff until can
fix df-transfer problems. Other minor changes around logging.
2007-02-06 05:52:22 +00:00
ehouse
a762f27846
deal with case where guest begins new game but connects to host that's
...
running the old game: the host may reply, but guest must not take that
as evidence of a connection having been established: don't remove sent
messages (this isn't an ACK), and don't assert later on.
2007-02-06 05:49:45 +00:00
ehouse
e6315e118f
enable juggle button after role change
2007-02-06 05:47:20 +00:00
ehouse
129f551737
close and reopen bt module with every new game to fix, badly, client's
...
failure to connect if it's restarted before host; add event and use to
retry BtLibSocketListen when fails (since failure is usually
temporary).
2007-02-05 04:20:13 +00:00
ehouse
6af89b4182
Add assert; don't call comms if has been set to null (fixes device
...
reset); fix failure to install connCB (removes need to manually resend
messages when client starts up first.)
2007-02-04 17:13:01 +00:00
ehouse
aac30fffea
Drop keyUp events not preceeded by keyDowns to catch leaks from
...
dismissed dialogs; don't drop first keyDown on OS4 since the bug that
works around isn't there; turn BT back off by default.
2007-02-04 04:10:11 +00:00
ehouse
45b47c115f
add tarball target for exporting enough code to build relay.
2007-02-04 01:22:31 +00:00