Commit graph

222 commits

Author SHA1 Message Date
ehouse
c4643ee5b4 Increase size of tray and fonts for win32; turn on windoze-style
menus.
2005-11-27 22:06:04 +00:00
ehouse
23232d25ba Turn off STUBBED_DICT -- can now load and execute from an .xwd file
running on WINE.
2005-11-27 21:39:06 +00:00
ehouse
62b055b577 first checked in. Builds for Win32, but crashes on XP after drawing
its board.
2005-11-27 20:27:46 +00:00
ehouse
47e21c4169 hide new obj dirs 2005-11-27 20:17:39 +00:00
ehouse
655dbada6b changes for gcc compilation: conditionally define out stuff that
doesn't work on win32 (e.g. CommandBar).
2005-11-27 20:17:09 +00:00
ehouse
4d2ed4f0f6 changes for gcc compilation: fix syntax errors and API usage,
conditionally define out stuff that doesn't work on win32
(e.g. CommandBar).
2005-11-27 20:16:43 +00:00
ehouse
908f4d1952 fix for STUBBED_DICT case 2005-11-27 20:13:42 +00:00
ehouse
0df6b6c049 OpenFileForMapping doesn't seem to exist in win32 -- or at least not
in MinGW's view.
2005-11-27 20:13:13 +00:00
ehouse
eadf7d2d43 for gcc: fix caps and remove commas after last item in array 2005-11-27 20:10:06 +00:00
ehouse
09b8306028 fix caps; use rand() on win32 2005-11-27 20:09:15 +00:00
ehouse
a07b388e7a change how struct is defined for gcc 2005-11-27 20:06:36 +00:00
ehouse
acbd41334f fix syntax errors; other catch up with changes 2005-11-27 20:05:33 +00:00
ehouse
0b96f001a5 fix syntax error 2005-11-27 20:04:46 +00:00
ehouse
5ed2892250 fix capitalization of header file -- which gcc cares about. 2005-11-27 20:04:06 +00:00
ehouse
24ca68e96e remove connect info button, instead bring it up every time role
changes to one that needs it.
2005-10-06 02:34:07 +00:00
ehouse
d1298e2911 make network play on by default 2005-09-07 12:32:29 +00:00
ehouse
4ff2f68bd7 add strings for relay errors 2005-09-07 12:31:32 +00:00
ehouse
bd121ed939 protect logging with mutex since happens from multiple threads now. 2005-08-21 14:54:49 +00:00
ehouse
05e9bd2d12 flesh out interaction with comms. Now able to play a complete game vs
linux version over GPRS.
2005-08-21 14:36:11 +00:00
ehouse
cca35b28db tweak how timers stored 2005-08-21 14:07:29 +00:00
ehouse
a24e7d18b3 timeout isn't an assertion failure 2005-08-21 14:07:12 +00:00
ehouse
2b1dd9ec55 use renamed constant 2005-08-21 14:05:29 +00:00
ehouse
ee52261a9c add vc60.pdb 2005-07-30 02:07:20 +00:00
ehouse
b3e26adaf8 make some conn-related IDs conditional 2005-07-30 02:05:59 +00:00
ehouse
4f3a24eb78 add cesockwr.o 2005-07-30 02:04:29 +00:00
ehouse
3b79617c61 Add and use driver for communication over TCP. Driver uses two
threads, reader and writer, on a single socket.  With this checkin a
connect request reaches the relay and a response comes back and is
passed to and recognized by the common code.  A full game should now
work, but hasn't been tried.  Nor is there any handling of socket
errors, retries, etc.
2005-07-30 02:02:49 +00:00
ehouse
7d79e79105 tweak conn dialog 2005-07-30 01:51:24 +00:00
ehouse
19734cc053 begin work of allowing multi-device play over WiFi/Cellular: add
dialog to gather params, save 'em, and stub out send proc.  Still need
to debug a bit, and add threads to send/receive packets.
2005-07-23 15:31:21 +00:00
ehouse
746e69b315 add assertion on null string 2005-07-23 15:16:26 +00:00
ehouse
0a8b5bb563 Get rid of unused param 2005-07-14 02:54:47 +00:00
ehouse
6ca28e44e7 fix compile error 2005-07-13 12:35:38 +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
69a7080854 up version to b4 to match next tag 2005-06-27 04:01:51 +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
095a9da62a add a couple of consts to fix warnings 2005-06-13 14:34:01 +00:00
ehouse
852218f074 fix DEBUG compile error 2005-06-13 14:33:05 +00:00
ehouse
5f0648c840 fix scrolling; resize board, enabling scrolling, when SIP is revealed.
And make it possible for user to reveal it.
2005-06-13 14:29:49 +00:00
ehouse
3eb04b4161 add debug-version logging to catch dictionary corruption 2005-06-13 13:36:26 +00:00
ehouse
215885af76 use clipping when drawing bitmaps, can center 'em. This fixes
overwriting borders when cells shrink when SIP is visible.
2005-06-13 13:32:06 +00:00
ehouse
c787f05711 turn on scrolling by default 2005-06-13 13:24:15 +00:00
ehouse
c85a50c070 add relay dir to -I list 2005-06-13 13:23:33 +00:00
ehouse
a2729d0e8b fix incorrect signature that was causing all scores to be drawn as 0. 2005-06-09 14:18:55 +00:00
ehouse
856f39d6e9 make it easier to tweak compiler optimizations (since some produce
crashing code)
2005-02-15 14:34:50 +00:00
ehouse
8ea5a551d5 revert to an earlier version that didn't build crashing code. 2005-02-11 02:50:04 +00:00
ehouse
0899f69ac7 update so works again. 2005-02-11 02:48:13 +00:00