Commit graph

486 commits

Author SHA1 Message Date
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