Commit graph

4997 commits

Author SHA1 Message Date
ehouse
8243c4fa0d first checked in. Enough to compile the whole app, though many will
be commented out as they turn out to require manual implementations.
2004-09-19 02:39:51 +00:00
ehouse
c16a64adb6 flesh out, e.g. add PilotMain params to what's passed to pnolet; add
header to pnolet stored in Ftr for access to stuff like GOT address.
2004-09-19 02:38:13 +00:00
ehouse
379acc7320 first checked in. Works for dummy pnolet at least. 2004-09-17 07:11:33 +00:00
ehouse
ca86336496 first checked in. 2004-09-17 07:11:15 +00:00
ehouse
2d16a04c52 add pnolet version as option 2004-09-17 07:09:40 +00:00
ehouse
1788752939 fix signed bug that broke scrolling in ask dialog 2004-08-31 13:27:28 +00:00
ehouse
bcf48a4a40 add logEvent 2004-08-31 13:19:28 +00:00
ehouse
e9a9125d41 add palm-style patterns for bonus squares (via compile-time option) 2004-07-29 06:56:48 +00:00
ehouse
67ac5c9ba0 add parens so test for dict flags works. 2004-07-29 06:55:21 +00:00
ehouse
b4840b6916 add new string constants 2004-07-25 00:43:54 +00:00
ehouse
edf6fdc116 add XP_STRCAT 2004-07-25 00:43:23 +00:00
ehouse
5f681eb5c1 fix formatting 2004-07-25 00:43:04 +00:00
ehouse
7586bf5013 up version string; fix formatting. 2004-07-25 00:42:39 +00:00
ehouse
810c3475be change signature to fit API changes (but don't use new params yet);
add new strings; fix formatting.
2004-07-25 00:42:18 +00:00
ehouse
7dbcdf4ca5 change signature to fit API changes (but don't use new params yet);
fix formatting.
2004-07-25 00:39:47 +00:00
ehouse
22460e4e6d accept dicts with new-format flags 2004-07-25 00:38:52 +00:00
ehouse
e19e47e0a8 nuke constant 2004-07-25 00:37:25 +00:00
ehouse
2af1705f1c Add warning when ARCH not defined -- it doesn't belong in your default
ENV if you compile Linux kernel 2.6.x -- and turn on new features.
2004-07-25 00:36:45 +00:00
ehouse
dfd4da9947 accept new-format dictionaries. Tested with BasEnglish2to8.xwd.
Should still work for old-format, and for 4-byte, but untested.
2004-07-25 00:35:13 +00:00
ehouse
f091ea2a53 just copied from ../English 2004-07-21 14:36:00 +00:00
ehouse
b92e531300 print letters as well as tiles when dieing because words out of order. 2004-07-21 14:34:10 +00:00
ehouse
6043e8c544 rule for building main dict from public commons list 2004-07-21 02:07:48 +00:00
ehouse
337bdea8a6 track last word for debugging purposes. 2004-07-21 02:06:24 +00:00
ehouse
a2db305526 print words up to 99 letters long 2004-07-21 02:04:57 +00:00
ehouse
8a4b9eed3a remove dead code 2004-07-20 15:13:54 +00:00
ehouse
b8af3a6e79 remove masking that was breaking blanks in Polish and I THINK was
redundant.  Add assert to make sure.
2004-07-20 15:08:45 +00:00
ehouse
1b603f2124 fix filters with the help of a localized Polish system. 2004-07-20 14:57:05 +00:00
ehouse
dba0aed84e add CHARSET attribute 2004-07-20 01:05:46 +00:00
ehouse
a66d508eeb first checkin; may not work 2004-07-19 13:55:58 +00:00
ehouse
6143e80c2b Friendlier warning when CAB builder file not found. 2004-07-11 16:52:29 +00:00
ehouse
a5fbad009f change binary name to Crosswords.exe 2004-07-11 16:32:22 +00:00
ehouse
0f373beadb change app title to Crosswords 2004-07-11 16:31:11 +00:00
ehouse
3a5ba82339 first checkin; works 2004-07-11 16:27:28 +00:00
ehouse
aec9469c6d fix so can build on windoze; add step to build .CAB files from dicts for Wince 2004-07-11 16:25:43 +00:00
ehouse
ebc986bd8b cannot binmode(STDOUT) 2004-07-11 16:24:12 +00:00
ehouse
67ba5461c5 fix problems introduced with WINCE_ONLY definition. Apparently you
can't redifine a makefile var and have the new value used on
subsequent lines.
2004-07-11 15:03:03 +00:00
ehouse
6e53150418 always hide arrow when undoing partial move, not just when done from
tray.
2004-07-10 22:57:17 +00:00
ehouse
665ff7b4c4 make < 80 columns 2004-07-10 22:56:20 +00:00
ehouse
8d967d53e3 up version to b6 2004-07-10 22:43:46 +00:00
ehouse
1f4203e89d Turn on search limit feature; set version number in prc file. 2004-07-10 22:43:21 +00:00
ehouse
bb291f1e75 Hide cursor arrow when pen in empty tray region returns tiles to tray. 2004-07-10 22:40:50 +00:00
ehouse
898d0bf9ed protect with ifdef 2004-07-10 17:51:42 +00:00
ehouse
2c6412448b support and turn on hintlimits features 2004-07-10 17:49:31 +00:00
ehouse
74a934c50f add tray limits for hint dlg 2004-07-10 17:47:30 +00:00
ehouse
16a0f1248a support hint limits feature 2004-07-10 17:46:36 +00:00
ehouse
21085f1dcc add askTrayLimits var 2004-07-10 17:43:15 +00:00
ehouse
ee16a0f07f remove unused var 2004-07-10 17:42:16 +00:00
ehouse
d51014a45e first checked in; works 2004-07-10 17:40:16 +00:00
ehouse
e320ae9617 output the right string 2004-07-10 14:17:07 +00:00
ehouse
0cfa51e04a handle DOS EOL 2004-07-09 04:02:48 +00:00
ehouse
2b8dd6a805 cleanup 2004-07-08 14:26:42 +00:00
ehouse
13e33c181a deal with DOS EOL chars 2004-07-08 14:07:15 +00:00
ehouse
c3cc51f965 add XWFEATURE_SEARCHLIMIT 2004-07-01 01:15:15 +00:00
ehouse
faca5cf3f6 move function for GREMLINs build 2004-07-01 01:13:51 +00:00
ehouse
abdde18b6e unify hintconfig and searchlimits 2004-07-01 01:12:55 +00:00
ehouse
857873dc83 first checkin 2004-06-27 14:23:50 +00:00
ehouse
39f563cffb turn on new features by default 2004-06-27 05:03:48 +00:00
ehouse
00c1f802fc cleanup; use new API for limiting tile use from tray. 2004-06-27 05:01:18 +00:00
ehouse
d9efe4258b cleanup for no hintlimit feature case 2004-06-27 04:35:42 +00:00
ehouse
2d63cdeda0 cleanup for no hintlimit feature case; add new param 2004-06-27 04:35:20 +00:00
ehouse
9c8159110b incorporate API changes; cleanup timer code 2004-06-25 07:19:05 +00:00
ehouse
ccd17bd59d version change 2004-06-25 07:09:38 +00:00
ehouse
9e1391af32 missed name change 2004-06-25 07:09:08 +00:00
ehouse
8e8e6896c1 framework for smarter inval of hint rect during drag 2004-06-25 06:56:58 +00:00
ehouse
4e6b8f4c76 engine is now responsile for asking for and tracking how many tiles in
the tray should be used in hints.
2004-06-25 06:51:24 +00:00
ehouse
c6c6d38dfc engine is now responsile for asking for and tracking how many tiles in
the tray should be used in hints.  Moved responsibility here from
platform because platform doesn't know when a turn ends, and end of a
turn (engine reset) is the right place to reset the values.
2004-06-25 06:49:49 +00:00
ehouse
f900988bcc pass to engine boolean telling it whether to ask for tray hint limits;
address, for penDown only, confusion between whether pen events are
handled and whether the handling means a redraw is required.  Might
need to do same for penMoved and penUp.
2004-06-25 06:47:35 +00:00
ehouse
ecc48fde1c rearrange hint menuitems 2004-06-25 06:45:31 +00:00
ehouse
a5b920e8f6 remove tray limits; add boolen for tracking whether to ask for 'em. 2004-06-25 06:44:55 +00:00
ehouse
a4198e4ddd add palm_util_getTraySearchLimits; addressed, for penDown only,
confusion between whether pen events are handled and whether the
handling means a redraw is required.  Might need to do same for
penMoved and penUp.
2004-06-25 06:43:46 +00:00
ehouse
ca490374e5 add util_getTraySearchLimits 2004-06-25 06:39:24 +00:00
ehouse
338bda1e5b name change 2004-06-25 06:27:48 +00:00
ehouse
620b8752cf add #ifdef to fix compile 2004-06-24 05:20:28 +00:00
ehouse
18023ecab3 remove unused variable 2004-06-24 05:19:52 +00:00
ehouse
173eba64e3 version now part of stream 2004-06-24 05:19:31 +00:00
ehouse
6e5067c01d version now part of stream; fix VERSION defines 2004-06-24 05:18:46 +00:00
ehouse
6c14b290eb preserve hint limits 2004-06-24 05:17:59 +00:00
ehouse
9523cf30d5 remove non-working code 2004-06-23 04:37:44 +00:00
ehouse
fe681ddf86 move some actions to penUp from penDown 2004-06-23 03:33:06 +00:00
ehouse
63c860d31e nuke unused param 2004-06-23 03:30:12 +00:00
ehouse
004ec05a64 add checkbox for hint rect 2004-06-22 06:30:58 +00:00
ehouse
59ac0e42ef up stream version to include hintrect boolean 2004-06-22 06:29:19 +00:00
ehouse
debca15ba5 scroll as part of hint rect drag 2004-06-22 06:28:22 +00:00
ehouse
1568a27e3f hint-rect on by default (until UI or cli option added) 2004-06-18 13:52:49 +00:00
ehouse
dce8eb2ea5 remove dead code and bogus assert 2004-06-18 13:52:12 +00:00
ehouse
afdf26db81 add checkbox for hint rect; version change 2004-06-18 13:29:19 +00:00
ehouse
3608849636 add checkbox for hint rect 2004-06-18 13:28:31 +00:00
ehouse
2a9d5b7832 polish hintrect stuff; fix inval, etc 2004-06-18 13:25:57 +00:00
ehouse
ee184e2cf1 add allowHintRect 2004-06-18 13:16:40 +00:00
ehouse
f1dd28387c draw hint rect borders 2004-06-16 04:17:08 +00:00
ehouse
d5b3dd6551 kill timers after firing once 2004-06-16 04:16:22 +00:00
ehouse
cb54bb1c6f version num 2004-06-16 04:06:54 +00:00
ehouse
8238ca20f4 draw hint-rect borders 2004-06-16 04:06:43 +00:00
ehouse
e3f57eed44 make hint rect per-player; hide when tray not visible; make upward
drag remove it.
2004-06-16 04:06:02 +00:00
ehouse
7914876294 Change engine to, when given a rect that's a subset of the board,
constrain the search for moves to those that involve filling only
tiles within the rect -- while still using the rest of the board as
context for the moves.  Robot moves use the whole board.
2004-06-15 01:58:09 +00:00
ehouse
da4fe889f1 Track drag on board to form a rect whose borders are drawn via
attributes on cells; pass that rect to engine when hint requested.
Still rough, and needs to be made per-user.  Also needs a way to hide
the rect.
2004-06-15 01:56:01 +00:00
ehouse
7efcdc80fe draw borders on cells that are part of hint-constraint rect 2004-06-15 01:44:39 +00:00
ehouse
8164f918f7 only call board_handlePenMove when mouse button is down. 2004-06-15 01:41:39 +00:00
ehouse
7e174b428f first checked in 2004-06-10 13:02:20 +00:00
ehouse
2b13efd72c tweaks for BYOD 2004-06-10 13:01:08 +00:00
ehouse
6f382e116c fix prototype error 2004-06-10 03:27:58 +00:00
ehouse
dd0a98a48e cleanup. Everything works now AFAIK. 2004-06-10 03:27:40 +00:00
ehouse
5a222f10b7 get working for spanish .xwd. .pdb remains. 2004-06-09 04:09:19 +00:00
ehouse
5402fdeae8 progress: works for .pdbs too (but not with specials) 2004-06-09 03:55:45 +00:00
ehouse
ff811344ad first checked in. Seems to work on .xwd format but not yet for .pdb. 2004-06-08 08:13:17 +00:00
ehouse
cb8d98a370 remove pre-ship designation from version string 2004-06-04 12:47:39 +00:00
ehouse
1324d81bb9 fix compile error 2004-05-29 14:26:36 +00:00
ehouse
4c5344e67b version string to rc1 2004-05-29 14:15:27 +00:00
ehouse
08bd6cc160 removed commented out code 2004-05-28 02:47:27 +00:00
ehouse
95efad0cb2 bug: disable some items when not starting a game 2004-05-28 02:46:42 +00:00
ehouse
f9f2c38901 turn coloring tiles on by default 2004-05-28 02:45:49 +00:00
ehouse
fcc719b8f8 always build with color editing 2004-05-26 04:51:48 +00:00
ehouse
fb043982ba 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
d347407ee9 no drawing until board inited; redraw after colors changed in new game creation 2004-05-26 04:48:25 +00:00
ehouse
6b641fc73b clean up dialog init 2004-05-26 04:46:57 +00:00
ehouse
633d5cea62 always build with color editing 2004-05-26 04:43:53 +00:00
ehouse
c8545a3cb7 always build with color editing; version change 2004-05-26 04:43:18 +00:00
ehouse
def1f19e02 clean up dialog init 2004-05-26 04:39:29 +00:00
ehouse
566d21fc7b position Spanish bitmaps better 2004-05-22 15:23:38 +00:00
ehouse
526869c4d2 quick hack to not require franklin seb stuff 2004-05-20 02:18:17 +00:00
ehouse
7ec9c33137 turn off recursive dict search -- it's too slow 2004-05-20 02:17:16 +00:00
ehouse
2efc063e71 ready for b3 2004-05-20 02:16:41 +00:00
ehouse
f8160b07b6 start search at default dir. 2004-05-20 02:16:19 +00:00
ehouse
f8c8e0067a left out a filter step 2004-05-20 02:15:20 +00:00
ehouse
8869fdcfcc first checkin (from personal repository) 2004-05-18 05:24:51 +00:00
ehouse
589f423198 move Xav translations 2004-05-17 05:27:31 +00:00
ehouse
e16b4a1f91 scoreboard changes to fix no-grid highres case 2004-05-16 15:06:39 +00:00
ehouse
42c4acd29e tweak board to right by one so gets bigger border in highres case 2004-05-16 15:02:41 +00:00
ehouse
09fb750eb1 double scale after reducing for border size 2004-05-16 14:32:24 +00:00
ehouse
32d80fcbad tweak buttons sizes 2004-05-16 05:39:19 +00:00
ehouse
66c2b6d064 Xav's latest changes 2004-05-16 04:50:07 +00:00
ehouse
30dd160ecc fix infinite loop looking for last not-undone move to highlight. 2004-05-15 16:06:35 +00:00
ehouse
7437e6089a move undoing-assign warning here 2004-05-15 16:05:14 +00:00
ehouse
9cdc8da005 fold in Xav's latest translations; remove unused dialog 2004-05-15 01:31:58 +00:00
ehouse
03d42adf4e add URL for getting EVC++ environment. 2004-05-15 01:21:11 +00:00
ehouse
b50c6f0b1d Inval whole board in hires case too; fix part of problem with vertical
scoreboard.
2004-05-15 01:14:51 +00:00
ehouse
911d8efeff HIGHRES stuff on by default 2004-05-15 01:13:18 +00:00
ehouse
1c8851152c version string -> b2 2004-05-15 01:12:56 +00:00
ehouse
49d1051f21 add del button to tilepicker 2004-05-15 01:08:51 +00:00
ehouse
3b263edbb6 new constant 2004-05-15 01:08:16 +00:00
ehouse
6edeb9543a add string for undo assign error 2004-05-15 01:07:34 +00:00
ehouse
4ebc603cf7 provide ability to unpick picked tiles 2004-05-15 01:06:39 +00:00
ehouse
c331b7e829 add del button for tile picker 2004-05-14 09:16:43 +00:00
ehouse
6e159ac6f5 add del button for tile picker; fix button sizes in saved games dlg. 2004-05-14 09:13:34 +00:00
ehouse
2a06396062 add string for attempt to undo tile assignment. 2004-05-14 09:13:01 +00:00
ehouse
61a05c3387 formatting fixes; add string for attempt to undo tile assignment. 2004-05-14 09:05:45 +00:00
ehouse
4be6c13803 formatting change only 2004-05-14 09:04:49 +00:00
ehouse
3b7644be58 Turn recursive VFS search back on. For some reason devices seem to be
calling / (rather than /palm/Launch/) the default directory for .pdb
and .prc files.  Recursion makes OS 4x devices amazingly slow to
startup, so I may need a better solution -- like recursing only when
the default dir is /.)
2004-05-14 09:03:17 +00:00
ehouse
0d88383706 pass version sought in vfs case too. 2004-05-14 09:01:18 +00:00
ehouse
1fa79026a4 Fix compile error. 2004-05-14 08:59:38 +00:00
ehouse
e1d3b222a4 Allow deletion of picked tiles during face-up picking; add string for
attempt to undo tile assignment.
2004-05-14 08:59:10 +00:00
ehouse
b07b947c44 Allow deletion of picked tiles during face-up picking. 2004-05-14 08:57:38 +00:00
ehouse
bc00a04873 fix infinite loop when attempting to undo tile assignment. The ideal
fix would allow the undo, but this is much less risky.
2004-05-14 08:55:13 +00:00
ehouse
1cb1f4899b tweak about text for release 2004-05-13 02:14:41 +00:00
ehouse
b87f5c5054 catch up with string constant changes 2004-05-13 02:13:48 +00:00
ehouse
deaf860c5b catch up with score-summary changes 2004-05-12 05:46:08 +00:00
ehouse
624ff09ab8 fix var name 2004-05-12 05:35:12 +00:00
ehouse
b3b56ce7ae catch up with constant changes 2004-05-07 03:57:23 +00:00
ehouse
3a6e0f707e remove graffiti state indicator for numbers-only field 2004-05-07 03:56:43 +00:00
ehouse
73b513b62b localized strings for move-summary 2004-05-07 03:56:16 +00:00
ehouse
7e165cf387 fix compile errors non-DEBUG case 2004-05-07 03:55:24 +00:00
ehouse
8d4f822f61 make what's in scoreboard last-move summary localizable (en_US version) 2004-05-06 04:13:59 +00:00
ehouse
a4058cf07e improve what's in scoreboard last-move summary 2004-05-06 04:13:35 +00:00
ehouse
6688b3b2f4 fix hires scoreboard drawing 2004-05-06 04:11:04 +00:00
ehouse
452b3869bd cleanup 2004-05-06 04:10:48 +00:00
ehouse
da304002d2 add STR_LOCAL_NAME 2004-05-01 14:30:34 +00:00
ehouse
66e80a5689 use CR so showing last score works 2004-05-01 14:29:44 +00:00
ehouse
d05b4bd6a9 add colorsel feature to all builds 2004-05-01 13:49:50 +00:00
ehouse
6509dbf246 add for last-score display 2004-05-01 13:46:56 +00:00
ehouse
9ce2c70a4b add XP_STRCAT 2004-05-01 13:45:50 +00:00
ehouse
86804a7996 fix to compile without EDITCOLORS 2004-05-01 13:45:10 +00:00
ehouse
ffbe427a4b put tray buttons at botton on 160x160 screens too 2004-05-01 13:23:41 +00:00
ehouse
7815584139 fix problem with converting dicts 2004-05-01 13:23:00 +00:00
ehouse
e85dc01638 new string as part of displaying last turn when score tapped 2004-04-30 08:38:46 +00:00
ehouse
c11d8dfa38 make name clearer 2004-04-30 08:38:28 +00:00
ehouse
d71e6a5a75 add XP_STRCAT 2004-04-30 08:37:30 +00:00
ehouse
653e428ef6 cleanup; fix hiding tray. 2004-04-30 08:37:13 +00:00
ehouse
437cd5e2cd fix so can draw multiline miniwindows. Not working for HIRES yet. 2004-04-30 08:35:51 +00:00
ehouse
0db24688b3 mods to track just the main word when scoring a turn 2004-04-30 08:32:11 +00:00
ehouse
6f8c09ed54 mods to figure out score of player's most recent move 2004-04-30 08:29:49 +00:00
ehouse
9e8184d444 new functions to figure out score of player's most recent move 2004-04-30 08:29:22 +00:00
ehouse
4fdf6fe60a new param to figureMoveScore 2004-04-30 08:27:24 +00:00
ehouse
b4b3681cd3 show last turn in addition to player name when pen held on score; fix
revealing tray to show REVERSED when done for robot.
2004-04-30 08:26:54 +00:00
ehouse
f7567ca113 include sony headers; make debug version of separate type so can
co-exist with non-debug on device.
2004-04-20 04:11:57 +00:00
ehouse
886fa0a2c5 (rough) changes to make toggling work for 320x480 Clie with silkscreen 2004-04-20 04:10:15 +00:00
ehouse
e4350f01a6 make progress inversions work for HIRES screens 2004-04-20 04:05:59 +00:00
ehouse
e70a4c9009 shrink color editor 2004-04-15 02:18:13 +00:00
ehouse
697e499c9f cast for compiler 2004-04-14 04:05:00 +00:00
ehouse
b870dabedd name changes 2004-04-14 04:03:46 +00:00
ehouse
c53a37ea8e name changes; add button 2004-04-14 04:02:19 +00:00
ehouse
801526056d inval board after color changes inside dialogs 2004-04-14 04:00:28 +00:00
ehouse
554d82e35e move colors edit from menu to button 2004-04-14 03:59:36 +00:00
ehouse
4eea985927 name change 2004-04-14 03:57:59 +00:00
ehouse
1a1c99f764 pass in starting colors 2004-04-14 03:56:12 +00:00
ehouse
f76c4a018e pass in starting colors 2004-04-14 03:48:33 +00:00
ehouse
d50048dc37 turn on use of custom color editor 2004-04-09 02:38:26 +00:00
ehouse
e089a1e359 get custom color selector working 2004-04-09 02:36:48 +00:00
ehouse
a09fb17708 add ceGetDlgItemNum 2004-04-09 02:32:27 +00:00
ehouse
af7dcc6725 resize and -layout color select dlg 2004-04-09 02:31:32 +00:00
ehouse
d25c553ece assert non-null objects when making board 2004-04-03 16:42:20 +00:00
ehouse
7f3a3040c7 cast 2004-04-03 16:39:54 +00:00
ehouse
82369e95f7 init prefs before dctx, and dcxt before game 2004-04-03 16:39:18 +00:00
ehouse
5a15c23170 turn on color sel for non-debug build 2004-04-03 15:38:58 +00:00
ehouse
ad9edc9da2 as-yet unsuccessful attempt to replace M$ ChooseColor dialog 2004-04-03 15:36:33 +00:00
ehouse
c21f629905 add ceSetDlgItemNum 2004-04-03 15:33:33 +00:00
ehouse
095c1217a8 as-yet unsuccessful attempt to replace M$ ChooseColor dialog 2004-04-03 15:29:34 +00:00
ehouse
5165db5a2f changes for editing colors 2004-03-28 01:20:32 +00:00
ehouse
f5ece02af8 new dlg for editing colors 2004-03-28 01:18:59 +00:00
ehouse
203054531c screwed up 2004-03-28 01:17:24 +00:00
ehouse
f1f8e7efd9 first cut at color picking using MS's ChooseColor 2004-03-28 01:15:24 +00:00
ehouse
018cc42e74 first cut at color editing 2004-03-28 01:14:34 +00:00
ehouse
ef6cffbe2d beta 12 2004-03-19 05:44:03 +00:00
ehouse
d4b2e3dc2f possible bug 2004-03-19 04:33:21 +00:00
ehouse
bbb8be8ed8 capture timer settings 2004-03-19 04:32:25 +00:00
ehouse
2605fc0e42 make debug version different so can co-exist 2004-03-18 05:42:24 +00:00
ehouse
7f0506346f more progress on hi-res (tray tiles); but seems to have broken 160x160 2004-03-18 05:41:59 +00:00
ehouse
70eb614c93 more progress on hires: fix miniwindow; start fixing tray tiles 2004-03-17 04:57:09 +00:00
ehouse
733ef9aa24 switch to using 5.0 sdk 2004-03-16 05:31:34 +00:00
ehouse
5754fe0457 add slot to store old win coords value 2004-03-16 05:28:40 +00:00
ehouse
cb258264b9 progress toward highres stuff, esp. tweaking positionBoard 2004-03-16 05:28:14 +00:00
ehouse
a3f927d056 progress toward highres stuff 2004-03-16 05:25:23 +00:00
ehouse
2e0722a3c1 add commented-out FEATURE_HIGHRES 2004-03-13 14:37:30 +00:00
ehouse
add17b7a7e experimental hires changes (to positionBoard) 2004-03-13 14:37:00 +00:00
ehouse
faf421331e only accept dicts whose version == 1 (allows for later changes) 2004-03-13 14:21:45 +00:00
ehouse
dc5e2980cc start hi-res work 2004-03-13 14:18:54 +00:00
ehouse
c3e1dd4077 start hi-res work; fix for API changes 2004-03-13 14:18:28 +00:00
ehouse
38853c013a optimize prefs dialog with and without tray picking on 2004-03-04 03:05:49 +00:00
ehouse
cd3a32fe1d fix dialog 2004-03-03 05:47:38 +00:00
ehouse
b878c035cf formatting 2004-03-03 05:45:55 +00:00
ehouse
b4e767f115 add FEATURE_TRAY_EDIT 2004-03-03 05:45:37 +00:00
ehouse
127ea7fdb6 catch up with changes 2004-03-03 02:20:34 +00:00
ehouse
b7b249ebca cleanup 2004-03-03 02:17:26 +00:00
ehouse
f3c5d12a7e pull dead strings; update copyright and address; add comments where
translation needed and new strings
2004-03-03 02:15:34 +00:00
ehouse
3ef0dbc048 pull dead strings; update copyright and address; add comments where
translation needed
2004-03-03 02:14:10 +00:00
ehouse
6da3217583 pull dead objects; protect IP-connections dlg 2004-03-03 02:12:29 +00:00
ehouse
ec94d12d27 pull dead strings; update copyright and address 2004-03-03 02:10:32 +00:00
ehouse
6d88dc1525 first checked in. Won't work yet. 2004-03-02 06:18:10 +00:00
ehouse
df10e1acd4 add LAUNCHERCATEGORY 2004-03-02 06:16:54 +00:00
ehouse
eec30d4292 #ifdef hint config feature; version now beta 1 2004-03-02 06:00:52 +00:00
ehouse
c5f2c1f211 #ifdef hint config feature 2004-03-02 06:00:29 +00:00
ehouse
508d98d8e0 make rectContainsPt params signed to avoid errors on palm 2004-03-02 05:58:15 +00:00
ehouse
3bc2feb47e add missing var 2004-03-02 03:26:35 +00:00
ehouse
d48ae1a216 draw_trayBegin returns bool 2004-03-02 03:26:10 +00:00
ehouse
7d403f1ae5 fix reverse-highlighting of cells 2004-03-01 02:31:25 +00:00
ehouse
6a9228bb43 fix arrow movement when board flipped 2004-03-01 02:30:45 +00:00
ehouse
ae9edbb08d After an undo, set the prev_move bits on the move now on top of the
stack so the tiles will get highlighted.
2004-02-29 06:59:37 +00:00
ehouse
be219aaf81 get rid of tabs/fix formatting. No code changes. 2004-02-29 01:08:50 +00:00
ehouse
934777e567 make two-line miniWindows work 2004-02-28 05:25:21 +00:00
ehouse
bd5da24595 fix formatting 2004-02-28 05:23:10 +00:00
ehouse
0bc7948abf 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
2024a069ac add summary when no tiles played too 2004-02-27 06:19:31 +00:00
ehouse
8a1ba5c20e add ceSetDlgItemFileName 2004-02-27 06:18:21 +00:00
ehouse
a2a6191f77 remove positionDlg; plug leak 2004-02-27 06:13:45 +00:00
ehouse
667c3acc07 tweak dlg style 2004-02-27 06:10:54 +00:00
ehouse
9b79db9b3c remove positionDlg 2004-02-27 06:09:43 +00:00
ehouse
0d055bd1b8 remove positionDlg; remove .xwd from dict names 2004-02-27 06:09:07 +00:00
ehouse
1545509b81 remove positionDlg; up pendown timer to half second 2004-02-27 06:04:42 +00:00
ehouse
d82b212e56 remove positionDlg 2004-02-27 06:03:37 +00:00
ehouse
4f10119ab6 remove positionDlg 2004-02-27 05:57:06 +00:00
ehouse
791d371b90 guard server_do against reentrance 2004-02-18 04:28:32 +00:00
ehouse
98a87ea4a6 add makeUniqueName for saveas 2004-02-18 04:25:29 +00:00
ehouse
b0210ab672 change how blanks are indicated so one pixel's possible 2004-02-18 04:24:21 +00:00
ehouse
9d80f626d2 add DS_CENTER; up beta version string 2004-02-18 04:23:14 +00:00
ehouse
2a619fdffa robot turn reports should also be scrollable 2004-02-17 05:00:13 +00:00
ehouse
0244afcde6 make util_userQuery return bool 2004-02-17 04:00:12 +00:00
ehouse
f684ec9461 draw_boardBegin returns bool now 2004-02-17 03:58:40 +00:00
ehouse
b447decb78 fix formatting 2004-02-17 03:56:12 +00:00
ehouse
7742a90722 show which tiles on board are blanks; use tile background for on-board tiles 2004-02-15 23:37:45 +00:00
ehouse
165d6e9c46 use strbox for move confirmation; pass full path to GetSaveFileName 2004-02-14 06:13:18 +00:00
ehouse
b2af413a2a add FEATURE_TRAY_EDIT 2004-02-14 06:11:17 +00:00
ehouse
28efd8e495 new ids for dlg items 2004-02-14 06:09:45 +00:00
ehouse
5948229ab2 tweak blank dlg; make strbox handle queries 2004-02-14 06:09:19 +00:00
ehouse
3b428dee73 adapt to do queries too 2004-02-14 06:07:52 +00:00
ehouse
06023b3d03 new fields 2004-02-14 06:06:55 +00:00
ehouse
6e84b577e2 fix blank dialog 2004-02-14 06:03:53 +00:00
ehouse
34547f7fb7 drawBegin sig change 2004-02-13 13:54:52 +00:00
ehouse
f40930d73e fix redraw of tray when minirect disappears 2004-02-13 13:49:25 +00:00
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