Commit graph

1120 commits

Author SHA1 Message Date
ehouse
1bc8a981b3 protect TIMER_HEARTBEAT for standalone platforms 2005-07-09 15:27:06 +00:00
ehouse
6b0f82c8f8 catch up with API changes 2005-07-09 15:26:12 +00:00
ehouse
8f7047a3f8 wrap line 2005-07-09 15:25:51 +00:00
ehouse
1cc517cca3 don't use %c on ARM. Crashes due to my bad StrPrintF implementation. 2005-07-08 08:30:42 +00:00
ehouse
591e43d752 new functions for measuring glyphs 2005-07-08 08:29:37 +00:00
ehouse
b77e2999b8 Moving glyph-measuring code to drawing; fix for highres case. 2005-07-08 03:14:43 +00:00
ehouse
ff5ea1cb44 Moving glyph-measuring code to drawing 2005-07-08 03:10:21 +00:00
ehouse
c672b00afa remove glyph-measuring API just added (since it belongs in drawing,
not dict)
2005-07-08 03:08:16 +00:00
ehouse
bb974c39b1 dict_tilesToString sig change; remove glyph-measuring API just added
(since it belongs in drawing, not dict)
2005-07-08 03:06:08 +00:00
ehouse
56accaaad5 dict_tilesToString sig change 2005-07-08 03:02:31 +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
a26549afa9 Pass protocol version code with connect request, and return error if
it isn't what relay can handle.  Report error to user.
2005-07-06 01:36:52 +00:00
ehouse
a9659a3f4c ditch words without vowels 2005-07-06 00:58:44 +00:00
ehouse
9d4bc009c0 name change 2005-07-06 00:58:20 +00:00
ehouse
4e3e67c7b2 Honor cookieID passed in connect message, falling back to cookie only
when the ID isn't set, and using it rather than assigning a new one
even if the game can't be found.
2005-07-06 00:54:38 +00:00
ehouse
326a639ea5 cleanup 2005-07-06 00:53:19 +00:00
ehouse
93b78bc3f6 Make cookieID a 32-bit value instead of 16-bit 2005-07-05 23:02:15 +00:00
ehouse
711046f94b move to using a formal table-driven state machine for each game (cref
object).  While it makes things more complex at this point, it should
make it easier in the long run to add error handling, timeouts, etc.
2005-07-05 22:05:37 +00:00
ehouse
19668620fd add include file 2005-07-05 21:57:00 +00:00
ehouse
db5b2f843d fix leak 2005-07-05 21:52:24 +00:00
ehouse
ca6c35ad78 cancel old timer before setting a new one 2005-07-05 20:59:42 +00:00
ehouse
2d23ffddd3 eliminate unnecessary setHeartbeatTimer call 2005-07-05 20:57:37 +00:00
ehouse
91f0094008 fix compile error! 2005-06-30 01:51:40 +00:00
ehouse
7c4858887a Refactor ce_dictionary_make so that it returns NULL rather than an
broken dict when the file's missing or corrupt.  Casts to stop
warnings.
2005-06-30 01:48:07 +00:00
ehouse
52939cdc41 change dialog title when it's called from new game menuitem 2005-06-30 01:44:56 +00:00
ehouse
b14562e883 Refactor ce_dictionary_make so that it returns NULL rather than an
broken dict when the file's missing or corrupt.
2005-06-30 01:36:51 +00:00
ehouse
7a306d1b7e copy null byte along with rest of string 2005-06-28 04:42:08 +00:00
ehouse
a7eba95a25 update copyright year in about box 2005-06-27 06:05:14 +00:00
ehouse
d29698c1b0 put back functions that never should have been removed. 2005-06-27 05:45:28 +00:00
ehouse
f3ae66850a fix description at user's suggestion 2005-06-27 05:23:14 +00:00
ehouse
69a7080854 up version to b4 to match next tag 2005-06-27 04:01:51 +00:00
ehouse
74087bd5b7 cast to stop warning on wince 2005-06-27 03:56:09 +00:00
ehouse
c24a8ca79b remove logging 2005-06-25 05:44:30 +00:00
ehouse
2abb6fe77f cleanup: make module-local functions static 2005-06-25 05:43:56 +00:00
ehouse
2c0a818ada add default compile command 2005-06-25 05:43:04 +00:00
ehouse
57e20c98d5 fix compile warnings 2005-06-23 14:12:09 +00:00
ehouse
61f86ae77d util_setTimer changes 2005-06-23 14:09:20 +00:00
ehouse
210dcc88c0 heartbeats: send to clients in connection response; note when
heartbeat and other messages arrive; and periodically reap sockets
that haven't been active in long enough.
2005-06-23 04:26:44 +00:00
ehouse
e404d77f87 version to 4.2x 2005-06-23 04:23:06 +00:00
ehouse
b1536b6d38 handle heartbeat timer and change to util_setTimer 2005-06-23 04:22:46 +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
e0f5a64399 fix timer not getting drawn on highres screens 2005-06-23 04:21:35 +00:00
ehouse
d4dd21fc42 BEYOND_IR now the default 2005-06-23 04:20:46 +00:00
ehouse
86a37e0d13 implement new util_setTimer, and handle heartbeat timer 2005-06-23 04:20:00 +00:00
ehouse
82a0045cb3 convert util_setTimer to take procptr; remove timer call on board; add
heartbeat to comms that uses util_setTimer with new timer type.
2005-06-23 04:16:53 +00:00
ehouse
c339a6af2a first checked in. Seems to work. 2005-06-22 06:40:53 +00:00
ehouse
00b4366ce1 path to local copy of wordlist 2005-06-16 05:12:49 +00:00
ehouse
657454aa6c catch franklin up with recent API changes 2005-06-16 05:12:28 +00:00
ehouse
bda6841a8f don't draw board before it's set up 2005-06-13 14:51:21 +00:00
ehouse
095a9da62a add a couple of consts to fix warnings 2005-06-13 14:34:01 +00:00