Commit graph

2720 commits

Author SHA1 Message Date
ehouse
ceb34e32c0 remove background from pts display in tray; center arrow; fix draw
during multiple hints.
2004-02-13 13:47:37 +00:00
ehouse
ce29cdb1b3 beta 8 2004-02-13 13:28:13 +00:00
ehouse
da2a895b3c hit-test in divider using bigger rect 2004-02-13 04:47:22 +00:00
ehouse
e3149b0e42 abort draw quickly if platform can't 2004-02-13 04:46:50 +00:00
ehouse
6940f21009 change return type of draw_boardBegin 2004-02-13 04:45:19 +00:00
ehouse
95f7452b35 commented-out experimental draw changes 2004-02-12 04:36:48 +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
cbc449d81f add invalTilesUnderRect 2004-02-12 04:20:11 +00:00
ehouse
05f3232d0a export functions 2004-02-12 04:19:27 +00:00
ehouse
6dade8d97f inval tray when miniwindow disappears 2004-02-12 04:18:38 +00:00
ehouse
6bc3be9711 fix reported bug: when tile placed on arrow and arrow can't move
further, hide the arrow so tile can be drawn.
2004-02-10 05:23:32 +00:00
ehouse
982994dce6 Eliminate recursive search of VFS file system in attempt to speed
search for dicts.
2004-02-10 05:22:39 +00:00
ehouse
bc4937048c tweak file opening and saving (incomplete) 2004-01-30 05:48:24 +00:00
ehouse
db9391df36 provide default dict name for first game 2004-01-30 05:46:03 +00:00
ehouse
7226c92adf move logLastError 2004-01-30 05:45:23 +00:00
ehouse
68e2975472 fix compiler warning 2004-01-29 05:07:10 +00:00
ehouse
3c0c7be7f5 new id for bonus resource 2004-01-29 05:05:37 +00:00
ehouse
49191dee06 fix bug preventing game save; read bonus squares from resource 2004-01-29 04:49:34 +00:00
ehouse
402c45ac7f Add bonus square resource 2004-01-29 04:47:32 +00:00
ehouse
c1d918dd79 field for board resource 2004-01-29 04:45:53 +00:00
ehouse
f2a252534d first checkin 2004-01-25 19:22:24 +00:00
ehouse
2928160660 ignore evc++ cruft 2004-01-25 16:53:07 +00:00
ehouse
407a1bc174 tweak about dialog for first sourceforge release 2004-01-25 16:48:09 +00:00
ehouse
354427d33c fix non-debug compile 2004-01-25 16:47:12 +00:00
ehouse
294bd21097 first checkin 2004-01-25 16:46:33 +00:00
ehouse
cf0bf85af4 first checkin of simply dictionary to make getting started easier 2004-01-25 16:32:28 +00:00
ehouse
a0e82c37eb first checked in 2004-01-25 14:37:58 +00:00
ehouse
05f2ae79b7 tweak dict-building sanity check 2004-01-25 14:31:34 +00:00
ehouse
c1cde174db Add test to allow dragging a selected tile. 2004-01-25 14:30:29 +00:00
ehouse
5ffb365510 draw after robot move; fix error opening saved game in STUB_DICT build 2004-01-22 03:21:19 +00:00
ehouse
aea4964feb always draw arrows in black 2004-01-22 03:20:19 +00:00
ehouse
09f657eef2 make stubbed dict work 2004-01-17 22:10:23 +00:00
ehouse
a22019c928 confirm each dict converted from old format 2004-01-17 19:34:34 +00:00
ehouse
5010dbe1b3 confirm each dict converted from old format; recover from open when
none avail.
2004-01-17 19:34:25 +00:00
ehouse
5694e9de3d first attempt to let others use M$ tools 2004-01-10 18:19:18 +00:00
ehouse
f61eba7fd8 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
415713b42e first cut 2004-01-10 18:06:18 +00:00
ehouse
ce5e7c1238 juggle replaces undo 2004-01-10 18:05:35 +00:00
ehouse
91fc71c4e1 Add juggle button; copyright date fix 2004-01-10 18:03:27 +00:00
ehouse
1ec43c2262 fix tile drawing; move rem string 2004-01-10 18:02:10 +00:00
ehouse
a33abf1a40 return NULL when no dict 2004-01-10 17:59:15 +00:00
ehouse
416bd76667 fix to work with new DAWG flags 2004-01-06 15:56:56 +00:00
ehouse
40d9c99ecb cleanup 2004-01-06 15:54:18 +00:00
ehouse
2ebb3fc8df remove foo 2004-01-06 15:52:02 +00:00
ehouse
4f03f6644d single-= works better on windoze 2004-01-06 05:43:34 +00:00
ehouse
fdfb77abde binmode for windoze compatibilty 2004-01-06 05:40:39 +00:00
ehouse
18ca2b226e turn on NEWDAWG for all languages 2003-12-14 19:53:07 +00:00
ehouse
c44d83e413 fix for langs with custom tiles 2003-12-14 19:52:49 +00:00
ehouse
75d2f37d56 fix for two-byte non-7-bit ascii chars 2003-12-14 19:52:21 +00:00
ehouse
c56192f4f1 first checked in 2003-12-14 19:51:44 +00:00
ehouse
bdc95f2669 first checked in 2003-12-14 17:58:42 +00:00
ehouse
d1df5342e4 set new dict variable 2003-12-14 17:55:45 +00:00
ehouse
d051a1b1ed need to switch two bits in every node when converting old-format
dicts.
2003-12-14 17:55:30 +00:00
ehouse
c0b3e8696c make 6-bit tile indices possible in 4-byte format; better decision
whether to go 3- or 4-byte.  With this checkin I can no longer build
in the old format (for current shipping Crosswords); may need to fix
that if don't release new soon.
2003-12-14 17:54:09 +00:00
ehouse
997f0884cc new macros for new dawg node format 2003-12-14 16:59:58 +00:00
ehouse
348ae6194d boolean for nodeSize should make for faster tests 2003-12-14 16:21:01 +00:00
ehouse
a4f9a4075a [re]define masks for different format dawgs 2003-12-14 16:20:21 +00:00
ehouse
9cebba4153 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
e5801bd6f6 fix compiler warning 2003-12-13 18:37:43 +00:00
ehouse
3d6bb303ba first checked in. 2003-12-13 18:27:53 +00:00
ehouse
a098bb17fd experiment over 2003-12-13 16:44:14 +00:00
ehouse
ca9eeed95b Swedish dict has 0-count tiles that are available only for blanks.
Don't print these with counts/values.
2003-12-13 06:39:35 +00:00
ehouse
be92c9bfd1 change new dict creator from Xwr4 to XwrD so doesn't get deleted along
with Crosswords.
2003-12-12 10:54:50 +00:00
ehouse
952f16981a more extensions to ignore 2003-12-12 10:24:59 +00:00
ehouse
213ae843ed meant '==', not '=' 2003-12-12 10:24:06 +00:00
ehouse
3655cd1b4d add dict conversion confirm string 2003-12-12 10:21:37 +00:00
ehouse
82ef3eba3b complete conversion of old format dicts to new, including for those on
SD cards.  Works now unless there are same-named files on both, in
which case SD card one doesn't get converted but the question keeps
getting asked.
2003-12-12 10:21:09 +00:00
ehouse
1c70dd2bb3 turn off IP stuff, and on new dict format stuff 2003-12-12 10:19:21 +00:00
ehouse
98fd464f3d it's ok for there to be no form yet 2003-12-12 10:18:39 +00:00
ehouse
93303973e3 call offerConvertOldDicts; fix palmask to work pre/without globals. 2003-12-12 10:17:59 +00:00
ehouse
6064061811 OFFSET_OF 2003-12-11 06:03:37 +00:00
ehouse
574dc672b4 prototype for offerConvertOldDicts 2003-12-11 06:01:50 +00:00
ehouse
804af9b960 return null when unknown dict flags found 2003-12-11 05:59:09 +00:00
ehouse
3e3fca64dc rough code to convert dicts. untested 2003-12-11 05:58:24 +00:00
ehouse
d9f71dd341 first checked in 2003-12-11 05:55:34 +00:00
ehouse
592f5e9b3f first checkin 2003-12-10 06:05:19 +00:00
ehouse
892b26fe7c add two more blank-only tiles 2003-12-10 06:02:25 +00:00
ehouse
7d1808a9cc add two more blank-only tiles; force NEWDAWG format (since too many tiles for old) 2003-12-10 06:01:57 +00:00
ehouse
423ea04cb8 better error message 2003-12-10 06:00:56 +00:00
ehouse
21cd456fa8 build dict from NODE_CAN_4 form of dawg 2003-12-10 05:57:54 +00:00
ehouse
9285bc9172 NODE_CAN_4 form of dawg is of type Xwr4 2003-12-10 05:56:16 +00:00
ehouse
34a3532041 move flags to end of palm dict header for NODE_CAN_4 form of dawg 2003-12-10 05:55:47 +00:00
ehouse
5a3a353bbf add flags for NODE_CAN_4 form of dawg 2003-12-10 05:55:11 +00:00
ehouse
a1b7202f80 define (commented-out) NODE_CAN_4 2003-12-10 05:52:39 +00:00
ehouse
551cbfcfdd first checked in 2003-12-09 06:08:12 +00:00
ehouse
2d1b000e62 first checked in 2003-12-09 05:21:42 +00:00
ehouse
2a35df4adc tweak dialogs 2003-12-09 05:20:56 +00:00
ehouse
bdf8ad0932 add pick-tiles checkbox 2003-12-09 05:20:10 +00:00
ehouse
a2d627e970 fix double-start of new game 2003-12-09 05:18:47 +00:00
ehouse
6919c06826 move center "X" to middle of cell 2003-12-09 05:17:49 +00:00
ehouse
184ed6244d tweak that seemed to fix crash, but I don't get why 2003-12-09 05:17:12 +00:00
ehouse
f485f870f2 additions to tile picking 2003-12-09 05:16:11 +00:00
ehouse
a4128d6eb6 API changed 2003-12-03 04:32:20 +00:00
ehouse
c346d2e78e first checked in 2003-12-03 04:30:32 +00:00
ehouse
7854b936af turn ntiles dialog into hint config dialog (experimental) 2003-12-01 14:34:09 +00:00
ehouse
56821f9f2a turn ntiles dialog into hint config dialog (experimental); <cr>
dismisses tile pick dialog
2003-12-01 14:32:47 +00:00
ehouse
0ac0e9c237 pull tiles from right side of tray first 2003-12-01 14:28:50 +00:00
ehouse
313095c487 new form for picking nTiles used in hint 2003-11-30 22:03:02 +00:00
ehouse
e82ae5b9a1 name change 2003-11-30 20:08:09 +00:00
ehouse
00a3f65262 new wince directories 2003-11-30 20:07:25 +00:00
ehouse
6e9e668035 fix compiler warning 2003-11-30 19:11:12 +00:00
ehouse
5a915fe5d1 new file; -D option to workaround extra event leftover from probably
bug in new nTiles select dialog.
2003-11-30 19:10:47 +00:00
ehouse
589d9d3eaf new slot 2003-11-30 19:09:39 +00:00
ehouse
03baf8cb2b add test of board_requestHint change: limit number of tiles used in
hint.
2003-11-30 19:08:55 +00:00
ehouse
31017a455b folloe board_requestHint signature change 2003-11-30 19:07:01 +00:00
ehouse
183eb9e283 first checked in 2003-11-30 19:06:22 +00:00
ehouse
1116117410 add button for count-limited hint; tweak pick-blank dialog 2003-11-30 19:02:03 +00:00
ehouse
1dc66f856a first checkin; still very rough! 2003-11-30 19:01:19 +00:00
ehouse
62c254b3cd name changes; add button for count-limited hint 2003-11-30 19:00:39 +00:00
ehouse
ddba3adef0 name changes; drop control enter on pick enabled when not new game 2003-11-30 18:59:03 +00:00
ehouse
42e6c071f6 new state variable 2003-11-30 18:58:17 +00:00
ehouse
8b458d4e53 show current tray in pick dialog; begin work of letting user specify
how many tiles to use in hint.
2003-11-30 18:57:57 +00:00
ehouse
78ec0b9493 post prefsChangedEvent before newGameOkEvent 2003-11-30 18:55:29 +00:00
ehouse
4eaae2bddf new button for limited hint 2003-11-30 18:54:49 +00:00
ehouse
2ffa052d61 pass current tray into util_userPickTile 2003-11-30 18:54:08 +00:00
ehouse
f69eb698b3 pass current tray into util_userPickTile, removing to-be-traded tiles
first.
2003-11-30 18:53:51 +00:00
ehouse
21456efa8b formatting only 2003-11-30 18:51:05 +00:00
ehouse
6bb65a94a8 change variable names around tile picking; pass stream version into
reader
2003-11-30 18:50:41 +00:00
ehouse
1072bf2499 add option to limit number of tiles used by robot 2003-11-30 09:34:40 +00:00
ehouse
20d37cf49a dicts are read-only: use query rather than get 2003-11-30 09:32:25 +00:00
ehouse
40c8c5036d first checkin from personal archive 2003-11-20 16:26:35 +00:00
ehouse
be238e5eb9 checkin from personal archives 2003-11-20 04:40:34 +00:00
ehouse
8d3c4d490a ifdef code requiring ifdef'd constant 2003-11-19 04:51:09 +00:00
ehouse
1133b1d694 nuke unused vars (for compiler warnings) 2003-11-19 04:50:29 +00:00
ehouse
e1fd8fda5b robots can be given picked tiles too 2003-11-19 04:49:30 +00:00
ehouse
11347ef641 Add UI to support turning on/off picking tiles 2003-11-19 04:09:15 +00:00
ehouse
6a30f1c7c1 Add vars to support turning on/off picking tiles 2003-11-19 04:06:32 +00:00
ehouse
767d7fa2f4 update to use new blank-picking API 2003-11-18 03:40:03 +00:00
ehouse
8789ed9bc5 don't let pick robot tiles 2003-11-18 03:39:43 +00:00
ehouse
d5331d97e4 checkin from personal archive 2003-11-16 19:49:04 +00:00
ehouse
685de6afc5 get rid of DIRECT_PALMOS_CALLS 2003-11-16 19:46:51 +00:00
ehouse
3dc9c8520d checkin from personal archive 2003-11-16 19:37:12 +00:00
ehouse
c4e5a4927e add .seb files 2003-11-16 19:26:38 +00:00
ehouse
c1032ee957 comment typo 2003-11-16 19:26:18 +00:00
ehouse
57295ffee8 when picking, deal with not having enough tiles 2003-11-16 19:25:53 +00:00
ehouse
33ba7edc72 checked in from personal archive 2003-11-16 19:23:48 +00:00
ehouse
14c9a5096a copied in from personal archive 2003-11-16 19:17:54 +00:00
ehouse
8f1cfaec23 first checked in 2003-11-16 17:30:19 +00:00
ehouse
38f211270e new menuitems (not yet used); blank-pick API change 2003-11-16 17:28:54 +00:00
ehouse
e9f34e8484 common code does more picking work now. 2003-11-16 17:25:46 +00:00
ehouse
4d31200290 util_userPickTile replaces util_askBlankFace 2003-11-16 17:17:04 +00:00
ehouse
f2766ec8e9 first checked in 2003-11-16 17:15:41 +00:00
ehouse
b5f54608da remove code to new shared file 2003-11-16 17:14:28 +00:00
ehouse
9e966e7815 new files; commented-out -D option to turn on tile picking 2003-11-16 17:14:01 +00:00
ehouse
a961f9a343 more file extensions to ignore 2003-11-16 17:13:21 +00:00
ehouse
f32c407d01 add option for user to pick tiles from pool. 2003-11-16 17:12:54 +00:00
ehouse
ef138e5187 util_userPickTile replaces util_askBlankFace 2003-11-16 17:11:33 +00:00
ehouse
3e3cc8f5e3 export model_packTilesUtil 2003-11-16 17:10:14 +00:00
ehouse
c13e799b11 factor some work of picking tiles/blanks into common code; add option
for user to pick tiles from pool.
2003-11-16 17:09:11 +00:00
ehouse
db7656def8 new typedef 2003-11-16 16:40:44 +00:00
ehouse
311ea2071f add 2003-11-01 20:49:45 +00:00
ehouse
c442df3434 a few more tips on env setup. 2003-11-01 20:49:32 +00:00
ehouse
405ad7583e Add comment for getting simulator started. 2003-11-01 19:37:23 +00:00
ehouse
fc952c90aa don't show obj directories 2003-11-01 19:19:59 +00:00
ehouse
8f699b21b1 don't show .bin files 2003-11-01 19:17:54 +00:00
ehouse
5257247710 xloc didn't belong there. 2003-11-01 18:49:33 +00:00
ehouse
3aae8ca37a first checkin 2003-11-01 18:45:06 +00:00
ehouse
f40f4a12a1 first checkin 2003-11-01 18:36:13 +00:00
ehouse
695e5d3087 first checkin 2003-11-01 18:10:48 +00:00
ehouse
1f9f72c121 first checkin 2003-11-01 18:03:30 +00:00
ehouse
c34d715f2d first checkin 2003-11-01 17:53:41 +00:00
ehouse
dc289ec451 first checkin 2003-11-01 17:12:27 +00:00
ehouse
685cdb77b3 add xlock.bin to fix non-palm dict format 2003-11-01 15:38:10 +00:00
ehouse
4376f58d8d first version 2003-11-01 06:34:23 +00:00
ehouse
25ac130d4e Sample dictionary. I'm not sure they all belong in this project, but
there needs to be one for a good initial developer experience.
2003-11-01 06:20:53 +00:00
ehouse
5c9152b175 first checkin from personal project 2003-11-01 06:19:20 +00:00
ehouse
9bc9550a07 gettimeofday call burried in an assert; need to work for non-debug
builds too.
2003-11-01 05:56:24 +00:00
ehouse
5776da0b93 first checkin 2003-11-01 05:35:29 +00:00
ehouse
c505d9a0f7 in the wrong place 2003-09-07 17:27:50 +00:00
ehouse
ec410e7b21 Initial revision 2003-09-07 17:16:50 +00:00