Commit graph

390 commits

Author SHA1 Message Date
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
ehouse
6a4bd1bb4a update so works again. Some optimizations produce bad code in EVC4.
Turn them off, and choose others.  This will be the preferred way of
building from now on since the files produced by the IDE rearrange
their parts at random whenever changed, making diff useless for
figuring out what broke.
2005-02-11 02:45:59 +00:00
ehouse
b1cd16ce35 add #define turning on scrollbar support for square screened devices. 2005-02-06 06:59:24 +00:00
ehouse
64876a008f 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
7e6fcc97aa beta 3; 2005 copyright 2005-02-06 06:54:01 +00:00
ehouse
f952b366b0 call ceCenterCtl() 2005-02-06 06:52:57 +00:00
ehouse
b92bb148a9 add ceCenterCtl() 2005-02-06 06:52:24 +00:00
ehouse
af15796fa8 shrink a couple of dialogs to fit square screen 2005-02-05 21:49:03 +00:00
ehouse
132f7e808b scrolling support; determine board layout based on screen size. 2005-02-05 21:43:16 +00:00
ehouse
cd1e2683b8 add fields supporting scrolling 2005-02-05 21:38:04 +00:00
ehouse
c87132b416 remove dead param 2005-01-23 08:15:29 +00:00
ehouse
076e9917fb fix to compile with changed api 2005-01-21 08:26:32 +00:00
ehouse
d8b00d98d3 remove unused vars 2005-01-04 15:11:00 +00:00
ehouse
90a609fafa turn on optimizations for ARM Release build; kill precompiled headers for all 2004-12-18 01:21:11 +00:00
ehouse
1cbeaf95b7 version to b2 2004-12-18 01:04:19 +00:00
ehouse
fe5aec3785 use _vsnprintf to fix buffer overflow 2004-12-18 01:03:26 +00:00
ehouse
1154250de3 add bname 2004-12-18 01:02:54 +00:00
ehouse
8f5c777b9b dict_getShortName 2004-12-18 01:02:22 +00:00
ehouse
bc7fba9689 remove bname 2004-12-18 01:01:47 +00:00
ehouse
0caa413f1f turn on MY_COLOR_SEL for .rc file too 2004-12-17 15:15:12 +00:00
ehouse
a07d8160f8 cover timer with scoreboard when no timer so region gets erased 2004-12-17 15:11:45 +00:00
ehouse
966376c3e8 beta 1 2004-12-17 15:09:09 +00:00
ehouse
e0f839b235 move scoreboard back to top 2004-12-17 15:08:00 +00:00
ehouse
8ff6534e48 add aygshell.lib 2004-12-17 07:48:34 +00:00
ehouse
c0e2370cd2 init new-style menus 2004-12-17 07:45:30 +00:00
ehouse
3a34bd4ea1 specify new-style menus 2004-12-17 07:42:25 +00:00
ehouse
19d2ca95ad expand board to fill space created by new-style menus 2004-12-17 07:27:46 +00:00
ehouse
a6091a8aa2 add aygshell struct for new-style menus 2004-12-17 07:24:52 +00:00
ehouse
9204375d20 constants for new-style menus 2004-12-17 07:23:23 +00:00
ehouse
affdf80425 .cvsignore 2004-12-12 17:47:24 +00:00
ehouse
02d68e349f turn on features for code and resources 2004-12-12 17:45:44 +00:00
ehouse
dd4d7a4cc6 version -> 4.1 2004-12-12 17:41:01 +00:00
ehouse
b47e6e53cc fix hint borders for arrowcursor 2004-12-12 17:39:59 +00:00
ehouse
fe8e7d2dce formatting change only 2004-12-12 17:33:52 +00:00
ehouse
6d045aedf2 fix glitch in tile picker (same as palm) 2004-12-12 17:32:17 +00:00
ehouse
0950fd41da generated by evc4 in converting from evc3 2004-12-11 04:29:57 +00:00
ehouse
218a0a9a1c fix to compile without SEARCHLIMIT set 2004-12-11 04:25:45 +00:00
ehouse
d515e63d8a add remaining tiles dialog 2004-11-09 02:51:22 +00:00
ehouse
3958252e57 add tiles left menuitem 2004-11-09 02:46:38 +00:00
ehouse
4a9e05b277 catch up with api changes; add remaining tiles dialog 2004-11-09 02:40:36 +00:00
ehouse
dfdff5fb61 call new dict_super_init 2004-10-16 04:41:23 +00:00
ehouse
9540be3c1d change binary name to Crosswords.exe 2004-07-11 16:32:22 +00:00
ehouse
de74dd9480 change app title to Crosswords 2004-07-11 16:31:11 +00:00
ehouse
53f9b49b5a protect with ifdef 2004-07-10 17:51:42 +00:00
ehouse
ef1dda23ba support and turn on hintlimits features 2004-07-10 17:49:31 +00:00
ehouse
06f6837556 add tray limits for hint dlg 2004-07-10 17:47:30 +00:00
ehouse
a8ad591ebe support hint limits feature 2004-07-10 17:46:36 +00:00
ehouse
74aa6ec990 add askTrayLimits var 2004-07-10 17:43:15 +00:00
ehouse
69f7598b19 remove unused var 2004-07-10 17:42:16 +00:00
ehouse
75cb31845f first checked in; works 2004-07-10 17:40:16 +00:00
ehouse
335d43e2b3 incorporate API changes; cleanup timer code 2004-06-25 07:19:05 +00:00
ehouse
35d65ca632 remove non-working code 2004-06-23 04:37:44 +00:00
ehouse
f780f9e1fb add checkbox for hint rect; version change 2004-06-18 13:29:19 +00:00
ehouse
aa5fad8385 add checkbox for hint rect 2004-06-18 13:28:31 +00:00
ehouse
6043715a7e draw hint rect borders 2004-06-16 04:17:08 +00:00
ehouse
8e90447f65 kill timers after firing once 2004-06-16 04:16:22 +00:00
ehouse
151a0c9b82 remove pre-ship designation from version string 2004-06-04 12:47:39 +00:00
ehouse
b25e79dac0 version string to rc1 2004-05-29 14:15:27 +00:00
ehouse
9b39fa592d removed commented out code 2004-05-28 02:47:27 +00:00
ehouse
fc7c9cb3b4 bug: disable some items when not starting a game 2004-05-28 02:46:42 +00:00
ehouse
1cd8c7ed96 turn coloring tiles on by default 2004-05-28 02:45:49 +00:00
ehouse
d180a5c0db always build with color editing 2004-05-26 04:51:48 +00:00
ehouse
fa0bfb7d13 check flags before recognizing dict so shipping versions will not try to open newer format dicts 2004-05-26 04:50:30 +00:00
ehouse
15299090e9 no drawing until board inited; redraw after colors changed in new game creation 2004-05-26 04:48:25 +00:00
ehouse
0a6a9de4cf clean up dialog init 2004-05-26 04:46:57 +00:00
ehouse
fa5bdc2457 always build with color editing 2004-05-26 04:43:53 +00:00
ehouse
49cfd504a5 always build with color editing; version change 2004-05-26 04:43:18 +00:00
ehouse
621dd87d71 clean up dialog init 2004-05-26 04:39:29 +00:00
ehouse
047b85624b position Spanish bitmaps better 2004-05-22 15:23:38 +00:00
ehouse
eab5f0e598 add URL for getting EVC++ environment. 2004-05-15 01:21:11 +00:00
ehouse
9aa3eb39b1 add del button to tilepicker 2004-05-15 01:08:51 +00:00
ehouse
f62b515e4f new constant 2004-05-15 01:08:16 +00:00
ehouse
411bc40a72 add string for undo assign error 2004-05-15 01:07:34 +00:00
ehouse
0e70588337 provide ability to unpick picked tiles 2004-05-15 01:06:39 +00:00
ehouse
a0be6e027a tweak about text for release 2004-05-13 02:14:41 +00:00
ehouse
9810b8cbe2 catch up with string constant changes 2004-05-13 02:13:48 +00:00
ehouse
372cb73a49 add STR_LOCAL_NAME 2004-05-01 14:30:34 +00:00
ehouse
6d78acc611 use CR so showing last score works 2004-05-01 14:29:44 +00:00
ehouse
d4d9040924 add colorsel feature to all builds 2004-05-01 13:49:50 +00:00
ehouse
ae8f39b2cd add for last-score display 2004-05-01 13:46:56 +00:00
ehouse
e82fec2bf8 add XP_STRCAT 2004-05-01 13:45:50 +00:00
ehouse
f363bf13e9 fix to compile without EDITCOLORS 2004-05-01 13:45:10 +00:00
ehouse
4435888a04 shrink color editor 2004-04-15 02:18:13 +00:00
ehouse
c23b07ac3b cast for compiler 2004-04-14 04:05:00 +00:00
ehouse
016a92f9a8 name changes 2004-04-14 04:03:46 +00:00
ehouse
b0e5ea349a name changes; add button 2004-04-14 04:02:19 +00:00
ehouse
3f54d5394a inval board after color changes inside dialogs 2004-04-14 04:00:28 +00:00
ehouse
a1323b333d move colors edit from menu to button 2004-04-14 03:59:36 +00:00
ehouse
93314f76d3 name change 2004-04-14 03:57:59 +00:00
ehouse
ef521049df pass in starting colors 2004-04-14 03:56:12 +00:00
ehouse
6708b41f63 pass in starting colors 2004-04-14 03:48:33 +00:00
ehouse
23f1a2e6f9 turn on use of custom color editor 2004-04-09 02:38:26 +00:00
ehouse
fc8435aa9b get custom color selector working 2004-04-09 02:36:48 +00:00
ehouse
27a4402466 add ceGetDlgItemNum 2004-04-09 02:32:27 +00:00
ehouse
bf064d6143 resize and -layout color select dlg 2004-04-09 02:31:32 +00:00
ehouse
72873848fd cast 2004-04-03 16:39:54 +00:00
ehouse
6a8320e504 init prefs before dctx, and dcxt before game 2004-04-03 16:39:18 +00:00
ehouse
58160fe160 turn on color sel for non-debug build 2004-04-03 15:38:58 +00:00
ehouse
5df9ff07e3 as-yet unsuccessful attempt to replace M$ ChooseColor dialog 2004-04-03 15:36:33 +00:00
ehouse
49fce9e3ed add ceSetDlgItemNum 2004-04-03 15:33:33 +00:00
ehouse
20b14dfa11 as-yet unsuccessful attempt to replace M$ ChooseColor dialog 2004-04-03 15:29:34 +00:00
ehouse
f065f6432a changes for editing colors 2004-03-28 01:20:32 +00:00
ehouse
634732d5e9 new dlg for editing colors 2004-03-28 01:18:59 +00:00
ehouse
67edda9810 screwed up 2004-03-28 01:17:24 +00:00
ehouse
d640d4d301 first cut at color picking using MS's ChooseColor 2004-03-28 01:15:24 +00:00
ehouse
aa1d398ec4 first cut at color editing 2004-03-28 01:14:34 +00:00
ehouse
879c31493e beta 12 2004-03-19 05:44:03 +00:00
ehouse
33ed650231 possible bug 2004-03-19 04:33:21 +00:00
ehouse
a80d3bf20a capture timer settings 2004-03-19 04:32:25 +00:00
ehouse
35c94727ec add missing var 2004-03-02 03:26:35 +00:00
ehouse
5b82486429 draw_trayBegin returns bool 2004-03-02 03:26:10 +00:00
ehouse
1e8bc80851 make two-line miniWindows work 2004-02-28 05:25:21 +00:00
ehouse
d1698cb9fa postpone adding text to keep it from showing up highlighted. (Thx to B.T. for the tip.) 2004-02-28 05:21:26 +00:00
ehouse
f7bd5b703e add ceSetDlgItemFileName 2004-02-27 06:18:21 +00:00
ehouse
809e6757de remove positionDlg; plug leak 2004-02-27 06:13:45 +00:00
ehouse
c03f571a40 tweak dlg style 2004-02-27 06:10:54 +00:00
ehouse
c6c53282d9 remove positionDlg 2004-02-27 06:09:43 +00:00
ehouse
3249eab16e remove positionDlg; remove .xwd from dict names 2004-02-27 06:09:07 +00:00
ehouse
8a5163f0fb remove positionDlg; up pendown timer to half second 2004-02-27 06:04:42 +00:00
ehouse
8d32041a83 remove positionDlg 2004-02-27 06:03:37 +00:00
ehouse
2aa517afd4 remove positionDlg 2004-02-27 05:57:06 +00:00
ehouse
da73f5ea9b add makeUniqueName for saveas 2004-02-18 04:25:29 +00:00
ehouse
6d69ba1e1f change how blanks are indicated so one pixel's possible 2004-02-18 04:24:21 +00:00
ehouse
7e053e1010 add DS_CENTER; up beta version string 2004-02-18 04:23:14 +00:00
ehouse
47a812e9b9 robot turn reports should also be scrollable 2004-02-17 05:00:13 +00:00
ehouse
9f53816f8d show which tiles on board are blanks; use tile background for on-board tiles 2004-02-15 23:37:45 +00:00
ehouse
9420dec8fb use strbox for move confirmation; pass full path to GetSaveFileName 2004-02-14 06:13:18 +00:00
ehouse
8c31469c12 add FEATURE_TRAY_EDIT 2004-02-14 06:11:17 +00:00
ehouse
dbbefec799 new ids for dlg items 2004-02-14 06:09:45 +00:00
ehouse
18601044c1 tweak blank dlg; make strbox handle queries 2004-02-14 06:09:19 +00:00
ehouse
496650885f adapt to do queries too 2004-02-14 06:07:52 +00:00
ehouse
c119601faf new fields 2004-02-14 06:06:55 +00:00
ehouse
a28cb9e878 fix blank dialog 2004-02-14 06:03:53 +00:00
ehouse
71c91188e0 fix redraw of tray when minirect disappears 2004-02-13 13:49:25 +00:00
ehouse
b3765eed58 remove background from pts display in tray; center arrow; fix draw
during multiple hints.
2004-02-13 13:47:37 +00:00
ehouse
6fc648012c beta 8 2004-02-13 13:28:13 +00:00
ehouse
c0802885d3 commented-out experimental draw changes 2004-02-12 04:36:48 +00:00
ehouse
5527c648d1 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
53a87e54b6 tweak file opening and saving (incomplete) 2004-01-30 05:48:24 +00:00
ehouse
e267713f85 provide default dict name for first game 2004-01-30 05:46:03 +00:00
ehouse
94ea85eac8 move logLastError 2004-01-30 05:45:23 +00:00
ehouse
5528dc305f fix compiler warning 2004-01-29 05:07:10 +00:00
ehouse
9f19b08066 new id for bonus resource 2004-01-29 05:05:37 +00:00
ehouse
78893a0195 fix bug preventing game save; read bonus squares from resource 2004-01-29 04:49:34 +00:00
ehouse
c6591873eb Add bonus square resource 2004-01-29 04:47:32 +00:00
ehouse
7c7ddfac44 field for board resource 2004-01-29 04:45:53 +00:00
ehouse
7eb99b7852 ignore evc++ cruft 2004-01-25 16:53:07 +00:00
ehouse
75bcbb92bd tweak about dialog for first sourceforge release 2004-01-25 16:48:09 +00:00
ehouse
12fa808170 fix non-debug compile 2004-01-25 16:47:12 +00:00
ehouse
23d7dfd01c first checkin 2004-01-25 16:46:33 +00:00
ehouse
f9cb828ff4 draw after robot move; fix error opening saved game in STUB_DICT build 2004-01-22 03:21:19 +00:00
ehouse
6879ffc362 always draw arrows in black 2004-01-22 03:20:19 +00:00
ehouse
717685abc0 make stubbed dict work 2004-01-17 22:10:23 +00:00
ehouse
69a2107382 first attempt to let others use M$ tools 2004-01-10 18:19:18 +00:00
ehouse
3845321c46 juggle button; partial fix to when to autosave games and when to insist on a name; don't launch multiple instances 2004-01-10 18:11:28 +00:00
ehouse
1edd5e86c6 first cut 2004-01-10 18:06:18 +00:00
ehouse
131acc1bf9 juggle replaces undo 2004-01-10 18:05:35 +00:00
ehouse
cbd1f3e93f Add juggle button; copyright date fix 2004-01-10 18:03:27 +00:00
ehouse
1d96f29216 fix tile drawing; move rem string 2004-01-10 18:02:10 +00:00
ehouse
ffc4adc812 return NULL when no dict 2004-01-10 17:59:15 +00:00
ehouse
44f803b6f6 fix to work with new DAWG flags 2004-01-06 15:56:56 +00:00
ehouse
c128e652ef cleanup 2004-01-06 15:54:18 +00:00
ehouse
b1cdff2fcf remove foo 2004-01-06 15:52:02 +00:00
ehouse
95304f33b8 tweak dialogs 2003-12-09 05:20:56 +00:00
ehouse
38aa5d7198 add pick-tiles checkbox 2003-12-09 05:20:10 +00:00
ehouse
5e53ed901a fix double-start of new game 2003-12-09 05:18:47 +00:00
ehouse
d0d75307d6 move center "X" to middle of cell 2003-12-09 05:17:49 +00:00
ehouse
0bc083096d tweak that seemed to fix crash, but I don't get why 2003-12-09 05:17:12 +00:00
ehouse
b9a3883acd additions to tile picking 2003-12-09 05:16:11 +00:00
ehouse
2e5ac6683d API changed 2003-12-03 04:32:20 +00:00
ehouse
2503a2c27f first checked in 2003-12-03 04:30:32 +00:00
ehouse
a4c3922d6e first checkin from personal archive 2003-11-20 16:26:35 +00:00
ehouse
69bca7d86d checkin from personal archives 2003-11-20 04:40:34 +00:00