Commit graph

57 commits

Author SHA1 Message Date
ehouse
472b61dbe3 get rid of printf 2006-02-16 03:32:19 +00:00
ehouse
d601ba3488 provide sensible path for saved files on win32 so state can be preserved 2006-02-15 13:09:36 +00:00
ehouse
1fd52dee8f back out change that had window drawing too narrow 2006-02-07 14:45:30 +00:00
ehouse
8f7e41e89d cleanup closing in on building correctly -- which now works, though it
takes a hex editor.  May have fixed a bug with a missing CloseHandle
call.
2006-02-06 04:41:14 +00:00
ehouse
559662ea98 pass the right param to WinMain. This makes it work on ce! 2006-01-31 06:41:16 +00:00
ehouse
2ea8c2e0cd use debhacks; ifdef out cmdbar stuff which debian tools don't support yet 2006-01-28 19:02:04 +00:00
ehouse
92485783af update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
b852eb5ca5 add random seed in win32 case 2005-11-27 23:11:05 +00:00
ehouse
cab0622c9d Increase size of tray and fonts for win32; turn on windoze-style
menus.
2005-11-27 22:06:04 +00:00
ehouse
92948425b9 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
77a8df77ac add strings for relay errors 2005-09-07 12:31:32 +00:00
ehouse
6ebce9ff5e protect logging with mutex since happens from multiple threads now. 2005-08-21 14:54:49 +00:00
ehouse
a227dfd605 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
a236d6a972 tweak how timers stored 2005-08-21 14:07:29 +00:00
ehouse
294ce5f513 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
3ecc871515 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
bc3515272c Get rid of unused param 2005-07-14 02:54:47 +00:00
ehouse
fc4fd3ea93 fix compile error 2005-07-13 12:35:38 +00:00
ehouse
4f57cadd75 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
2fbfeee378 util_setTimer changes 2005-06-23 14:09:20 +00:00
ehouse
8eb0b50cec 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
b3d19a6abf as a workaround for reported lockups on WM SE devices, save state
after many user actions.  This was meant to capture the state right
before the crash but seems instead to have fixed it.
2005-02-06 06:56:06 +00:00
ehouse
d01b3e8929 scrolling support; determine board layout based on screen size. 2005-02-05 21:43:16 +00:00
ehouse
4c937beb2d remove dead param 2005-01-23 08:15:29 +00:00
ehouse
8ecac34cb6 fix to compile with changed api 2005-01-21 08:26:32 +00:00
ehouse
d90c3bf80e remove unused vars 2005-01-04 15:11:00 +00:00
ehouse
ea9e897407 use _vsnprintf to fix buffer overflow 2004-12-18 01:03:26 +00:00
ehouse
f009b7a13d cover timer with scoreboard when no timer so region gets erased 2004-12-17 15:11:45 +00:00
ehouse
4e4123c0d3 init new-style menus 2004-12-17 07:45:30 +00:00
ehouse
f9149e03b1 fix to compile without SEARCHLIMIT set 2004-12-11 04:25:45 +00:00
ehouse
3eb12c918d catch up with api changes; add remaining tiles dialog 2004-11-09 02:40:36 +00:00
ehouse
16a0f1248a support hint limits feature 2004-07-10 17:46:36 +00:00
ehouse
9c8159110b incorporate API changes; cleanup timer code 2004-06-25 07:19:05 +00:00
ehouse
d5b3dd6551 kill timers after firing once 2004-06-16 04:16:22 +00:00
ehouse
f9f2c38901 turn coloring tiles on by default 2004-05-28 02:45:49 +00:00
ehouse
d347407ee9 no drawing until board inited; redraw after colors changed in new game creation 2004-05-26 04:48:25 +00:00
ehouse
6edeb9543a add string for undo assign error 2004-05-15 01:07:34 +00:00
ehouse
b87f5c5054 catch up with string constant changes 2004-05-13 02:13:48 +00:00
ehouse
da304002d2 add STR_LOCAL_NAME 2004-05-01 14:30:34 +00:00
ehouse
86804a7996 fix to compile without EDITCOLORS 2004-05-01 13:45:10 +00:00
ehouse
801526056d inval board after color changes inside dialogs 2004-04-14 04:00:28 +00:00
ehouse
82369e95f7 init prefs before dctx, and dcxt before game 2004-04-03 16:39:18 +00:00
ehouse
018cc42e74 first cut at color editing 2004-03-28 01:14:34 +00:00
ehouse
1545509b81 remove positionDlg; up pendown timer to half second 2004-02-27 06:04:42 +00:00
ehouse
98a87ea4a6 add makeUniqueName for saveas 2004-02-18 04:25:29 +00:00
ehouse
2a619fdffa robot turn reports should also be scrollable 2004-02-17 05:00:13 +00:00
ehouse
165d6e9c46 use strbox for move confirmation; pass full path to GetSaveFileName 2004-02-14 06:13:18 +00:00
ehouse
f40930d73e fix redraw of tray when minirect disappears 2004-02-13 13:49:25 +00:00
ehouse
aec1fd1972 Don't call BeginPaint etc when handling WM_PAINT in order to better
use inval system in common.
2004-02-12 04:35:10 +00:00
ehouse
bc4937048c tweak file opening and saving (incomplete) 2004-01-30 05:48:24 +00:00