ehouse
73c32f0441
New stream version makes standalone and multi-device build formats the
...
same so new Wince can open files saved by current version. Tweaks to
build with relay and heartbeat turned on.
2009-01-03 23:54:25 +00:00
ehouse
6c9c013f1a
fix occasional crash: null-out ptrs after deleting what they point to.
2008-12-11 13:42:21 +00:00
ehouse
07e3b26e60
Quash some compile-time warnings. snprintf instead of sprintf.
2008-12-06 15:59:30 +00:00
ehouse
4ffeada868
call draw_dictChanged on load so draw can calc fonts immediately
2008-09-09 12:16:06 +00:00
ehouse
44f5d0a7c5
give serverRole a default value.
2008-08-27 12:08:07 +00:00
ehouse
e60d338488
Remove all tabs. No code changes.
2008-05-31 03:26:16 +00:00
ehouse
642e6611db
Mark params unused in compiles for standalone; remove unused param.
2008-02-16 16:02:49 +00:00
ehouse
d658c29c88
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
ef8a5d0b11
Make initial value of confirmBTConnect true.
2007-12-15 18:55:32 +00:00
ehouse
c8bbfc5432
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
b527110379
replace all __FUNCTION__ with __func__
2007-12-02 19:13:25 +00:00
ehouse
321acd1d42
Add and set a compile-time option so comms will set a periodic timer
...
and use it to send and check for heartbeats over any transport.
Caller must supply a reset proc which is called when heartbeat hasn't
been received in too long. No changes required to comms protocol, but
that means the heartbeat interval is fixed at compile time: can't be
negotiated, and the two ends had better agree. Currently tested with
linux host and PalmOS guest, where only the first heartbeat failure is
recovered from. So there's some debugging to be done still.
2007-11-18 23:43:27 +00:00
ehouse
41b81f463e
Hide tray on turn transitions when more than one non-robot local player present in game.
2007-05-20 20:46:29 +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
6dc75914a6
turn stringFromStream into macro to aid logging for leak detection. Debug builds only effected.
2007-03-18 23:31:51 +00:00
ehouse
2fe75a19a2
add const to a bunch of char* decls in APIs and variables; no code change
2007-02-03 17:54:20 +00:00
ehouse
916ea4abc2
name change only: Connectedness becomes DeviceRole
2007-02-02 08:34:37 +00:00
ehouse
005fd92fd4
More progress on one-handed navigation: fix ncurses board clipped to
...
bottom of tray; add focus-related params to draw*Finished routines
(and simplify to one) so platforms don't have to save from Begin
routines (and stop palm doing that); check version of saved game, and
handle case where older binary tries to open newer version; redraw
Palm tray buttons after focus change to stop focus-rect ghosting; fix
annoying overlap in saved games dialog; palm version goes to a3.
2006-11-05 16:54:18 +00:00
ehouse
a97631b7ca
Fix opening games and messages saved by last shipping version on Palm
...
by checking version and loading new fields conditionally. (Not yet
tested for current wince version.)
2006-10-05 01:17:03 +00:00
ehouse
20b2eee560
cleanup and remove logging.
2006-09-23 15:18:44 +00:00
ehouse
9dd96a58d7
params become const; new macro syntax for strutils
2006-09-15 07:31:24 +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
6866e09003
no harm in copying field when feature not available; may help newer
...
version to open file.
2006-03-04 16:07:21 +00:00
ehouse
942979ddd0
fix b5 crasher: check for stream equivalence with the older version
...
now that current version's been upped. Rename old version to better
indicate when it was current.
2006-03-04 06:12:38 +00:00
ehouse
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
2b58da4cdf
New scheme for accepting and limiting reconnections. Now device must
...
send player counts, local and expected. Based on these the relay
accepts connections, declares the game full and ready for message
forwarding, and decides whether to accept a reconnect.
2005-10-02 15:39:38 +00:00
ehouse
50a55d1335
formatting
2005-09-05 15:32:40 +00:00
ehouse
9d4bc009c0
name change
2005-07-06 00:58:20 +00:00
ehouse
657454aa6c
catch franklin up with recent API changes
2005-06-16 05:12:28 +00:00
ehouse
85dbf98aca
separate internalization of comms from call to connect to relay since
...
the first must finish before the caller will have a valid reference to
comms.
2005-04-03 16:58:36 +00:00
ehouse
712ec202d2
create new comms object if needed for non-first game
2005-04-03 01:36:59 +00:00
ehouse
99f2804141
don't instantiate comms unless it'll be used. Internally it has no
...
idea it's not supposed to connect to relay otherwise.
2005-03-25 03:11:54 +00:00
ehouse
fff5aa229a
add missing gameID param
2005-01-13 01:43:02 +00:00
ehouse
1c199500c3
add gi_countHumans
2004-10-30 04:50:33 +00:00
ehouse
722b0095ca
always include slots that are only used in conditional builds to
...
simplify converting between saved versions.
2004-10-08 23:57:24 +00:00
ehouse
96d1e7870a
first player robot again by default
2004-09-30 13:51:29 +00:00
ehouse
8e5f3cb7b7
no robots for a while
2004-09-24 01:35:54 +00:00
ehouse
b084fa57c8
version now part of stream
2004-06-24 05:19:31 +00:00
ehouse
e80d4075e2
up stream version to include hintrect boolean
2004-06-22 06:29:19 +00:00
ehouse
f4cfb61eb0
add allowHintRect
2004-06-18 13:16:40 +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
cd16d3bb4b
change variable names around tile picking; pass stream version into
...
reader
2003-11-30 18:50:41 +00:00
ehouse
d326b6c8c5
Add vars to support turning on/off picking tiles
2003-11-19 04:06:32 +00:00
ehouse
6a57cef012
first checkin
2003-11-01 05:35:29 +00:00