ehouse
9246ca78a5
Revert to default values for conType-specific fields for all types but
...
the current. This prevents random-string hostnames when switching
from IR to BT. Also some code cleanup.
2008-01-07 01:15:18 +00:00
ehouse
92c37d836c
Error string used with method to check consistency of BT address.
2008-01-07 01:12:12 +00:00
ehouse
ff7a3bfe63
Error code used with method to check consistency of BT address.
2008-01-07 01:11:29 +00:00
ehouse
3374849111
Unify lookup by address and by channelNo; add method to check consistency of BT address.
2008-01-07 01:10:43 +00:00
ehouse
b333476d48
Update to use modified newg_store
2008-01-05 16:37:49 +00:00
ehouse
08da013d4d
Warn user, and refuse to continue, when new game is as host and has no remote players. API
...
changes, so other platforms won't compile until changed.
2008-01-04 14:47:52 +00:00
ehouse
81c3d1681a
when variables in callback indicate we're running in another app's context, do nothing
2008-01-02 01:46:35 +00:00
ehouse
bad6415484
log date on startup; don't always put up about dialog on first boot; remove excessive logging
2008-01-02 01:45:58 +00:00
ehouse
22909ce6fb
add target for dict2dawg
2008-01-02 01:44:12 +00:00
ehouse
b115cc6f0c
fix unused param warning
2008-01-02 01:43:45 +00:00
ehouse
1828cfcf11
up copyright date and beta version number
2008-01-02 01:28:30 +00:00
ehouse
40f7295802
test for duplicate initial client message and if so drop it; add const keyword; add assertion in addr comparion in attempt to learn why duplicates are getting through.
2007-12-31 20:00:13 +00:00
ehouse
4074417b33
ignore timers if state changes after they're set; take down links when resetting
2007-12-31 01:22:03 +00:00
ehouse
81dac2ec1b
draw hint borders wider on high-res devices so they're actually visible (part 2)
2007-12-19 05:31:53 +00:00
ehouse
f1ee7db34c
Add what may be final French translations; remove pre-release part of aboutbox text.
2007-12-19 05:30:51 +00:00
ehouse
995990d70a
draw hint borders wider on high-res devices so they're actually visible
2007-12-19 05:29:53 +00:00
ehouse
02ca3eb9d7
Make initial value of confirmBTConnect true.
2007-12-15 18:55:32 +00:00
ehouse
9292e38cab
Substitute name of remote host into request for connection
...
initialization confirmation.
2007-12-15 07:22:12 +00:00
ehouse
484025a21f
Catch French up with change for BT connect confirmation (pending
...
translation.)
2007-12-14 13:37:12 +00:00
ehouse
8668420dd0
Don't end game when player has no tiles left in tray but still
...
tentative tiles on board.
2007-12-14 13:25:40 +00:00
ehouse
3b1fcceb16
Fix compilation errors due to constant name changes -- no change to binary.
2007-12-14 13:06:44 +00:00
ehouse
711bdf54f2
Instead of warning user on failure to connect via BT, add preference
...
to allow user to confirm before every attempt. Users will learn to
set this when T650s are in the mix. Save a new preference, and up the
stream version. Up beta version. Add the preference both to the prefs
dialog and to the bluetooth connection (for guest) dialog, with both
impacting the same field in gamePrefs.
2007-12-14 03:38:55 +00:00
ehouse
872ae90c94
fix bug using same string and code to warn and to reject phonies.
2007-12-14 03:21:46 +00:00
ehouse
d6a161b939
fix bug introduced by what was supposed to be risk-free change: send prefsChangedEvent rather than the wrong one so preferences get honored again.
2007-12-13 14:44:29 +00:00
ehouse
5cf30db8f0
Change Resend menu text, and to make it clearer put up an error message when it's used in a standalone game.
2007-12-12 04:23:42 +00:00
ehouse
01fec3742c
Substitute French translations of new BT-related strings; since this
...
results in overlapping buttons, add code to space them evenly across
window.
2007-12-11 04:36:50 +00:00
ehouse
8035955814
Add non-sf.net contact options; make params const.
2007-12-09 23:37:47 +00:00
ehouse
4c686bdaa0
Add strings and make other changes needed for compilation with BT on
...
for French, marked for translation. Fix formatting and add emacs
compile string for English.
2007-12-09 04:02:24 +00:00
ehouse
a07a5f2822
cleanup; replace a bunch of EvtAddEventToQueue calls with
...
postEmptyEvent; pass transport type with incoming packets so they can
be rejected if not on expected channel (to stop IR, which is always
on, from injecting into a BT game); do BT work and fire timers even
when menu is down; don't let robot run until after board is drawn for
the first time; on startup, don't let robot run until after board is
drawn once. Up version to b3.
2007-12-09 01:59:15 +00:00
ehouse
8dfff86cff
Fix crash on restart when app had been exited with some form other
...
than main on top. focusOwner was saved based on front form but on
startup I tried to set it in the main form. This will need to be
merged into a branch based on the 4.2.1 release for a 4.2.1.
2007-12-08 21:04:44 +00:00
ehouse
75a3c36ad6
Remove unused code and constants; fix to compile with relay; don't
...
show connection type dialog unless more than IR is available and
supported, and then build the dropdown dynamically based on what's
compiled-in and available on the device. This means you don't see the
BT option at all if you don't have BT.
2007-12-08 18:11:42 +00:00
ehouse
348111ece2
Remove unused FindTrustedDevice calls; don't try to become master or slave
...
until we know which we'll be. This likely fixes the problem where devices
have trouble connecting after switching roles.
2007-12-07 09:50:48 +00:00
ehouse
619e7d14c0
call util_addrChange prior to closing comms to fix crash moving from
...
BT to standalone game; add a couple of similar assertions; up beta
version.
2007-12-07 07:50:19 +00:00
ehouse
33cb34abfe
Remove excessive focus logging; fix timer bug for BT by posting event so EvtGetEvent can exit
2007-12-06 05:26:44 +00:00
ehouse
ad78ec1fd8
Rewrite of checkIncomingStream to be cleaner and fix bug with initial messages getting dropped
...
while heartbeat feature was enabled. Fixed the problem on Linux, but experience on Treo650
is still better without HB feature, so turning it off on Palm. This seems ready for beta,
but will test a bit more.
2007-12-05 06:33:37 +00:00
ehouse
7929865ad9
Comments only.
2007-12-05 06:31:30 +00:00
ehouse
acc7b5be52
Don't respawn if child died in less than a second.
2007-12-05 06:30:45 +00:00
ehouse
d5d29adc0c
Change util function to use signed type; other cleanup to compile with various features.
2007-12-05 06:28:51 +00:00
ehouse
1926c84825
Change state icon even when not doing work to get it to show up (unconnected) earlier.
2007-12-05 06:26:21 +00:00
ehouse
e4c2143aed
Fix dialog title; send heartbeat based on when connected even if no
...
messages yet received; reset bt connection on palm in two stages;
remove unused param. Change version number for beta.
2007-12-03 01:20:32 +00:00
ehouse
9ec0177592
Log BT lib version -- toward refusing to run or alerting user of broken Treo650 (version 1).
2007-12-03 01:18:59 +00:00
ehouse
86f5193801
Fix compilation errors. Not tested.
2007-12-03 01:18:13 +00:00
ehouse
da93ed5b31
Don't use uninitialized values as port numbers; use match for set as well as get.
2007-12-03 00:45:09 +00:00
ehouse
f0e21dbd86
Fix bug showing remote/robot moves only on host to include client too.
2007-12-02 22:07:24 +00:00
ehouse
5457ea1b59
replace all __FUNCTION__ with __func__
2007-12-02 19:13:25 +00:00
ehouse
25c4368231
Start adding ability to listen on multiple sockets and to dynamically
...
change the set listened on. There's still some debugging to do but
nothing that worked before is broken. Also begin to accept unique
prefixes (e.g. g for get) for commands and attributes on the control
port. Note that relay-related code in comms seems broken now, but is
without this checkin.
2007-12-01 15:00:30 +00:00
ehouse
a560c9f8a8
Add files forgotten with last checkin; add additional parameter to
...
addListener so listeners can be removed on reset.
2007-11-28 03:59:26 +00:00
ehouse
e1d5632a7b
Re-add direct-via-ip transport, and implement for linux in order to
...
better test heartbeats. Fix so can play against Palm over BT.
Assertions failing on Linux when reset, but it's otherwise done.
2007-11-26 02:58:25 +00:00
ehouse
ee726968b0
Don't draw negative number of tiles left.
2007-11-25 15:12:22 +00:00
ehouse
6e71f8197e
Add file and line number to debug version of realloc and free.
2007-11-22 05:04:40 +00:00