Commit graph

542 commits

Author SHA1 Message Date
ehouse
b93b8e544e move function for GREMLINs build 2004-07-01 01:13:51 +00:00
ehouse
10eef46020 unify hintconfig and searchlimits 2004-07-01 01:12:55 +00:00
ehouse
391dc51b23 first checkin 2004-06-27 14:23:50 +00:00
ehouse
2bc41f6043 turn on new features by default 2004-06-27 05:03:48 +00:00
ehouse
81b6bde472 cleanup; use new API for limiting tile use from tray. 2004-06-27 05:01:18 +00:00
ehouse
afa67f1a3c cleanup for no hintlimit feature case 2004-06-27 04:35:42 +00:00
ehouse
03011152d6 cleanup for no hintlimit feature case; add new param 2004-06-27 04:35:20 +00:00
ehouse
335d43e2b3 incorporate API changes; cleanup timer code 2004-06-25 07:19:05 +00:00
ehouse
ed3810eb4c version change 2004-06-25 07:09:38 +00:00
ehouse
89af7669e1 missed name change 2004-06-25 07:09:08 +00:00
ehouse
6a05866e80 framework for smarter inval of hint rect during drag 2004-06-25 06:56:58 +00:00
ehouse
b637c2c6e6 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
bb3a67e9da 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
e9d3a3f646 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
930fcbbb70 rearrange hint menuitems 2004-06-25 06:45:31 +00:00
ehouse
5b385c1c11 remove tray limits; add boolen for tracking whether to ask for 'em. 2004-06-25 06:44:55 +00:00
ehouse
42a8d69df9 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
9f8b53a736 add util_getTraySearchLimits 2004-06-25 06:39:24 +00:00
ehouse
b580c0b5e7 name change 2004-06-25 06:27:48 +00:00
ehouse
4750280d44 add #ifdef to fix compile 2004-06-24 05:20:28 +00:00
ehouse
3f3f9541b3 remove unused variable 2004-06-24 05:19:52 +00:00
ehouse
b084fa57c8 version now part of stream 2004-06-24 05:19:31 +00:00
ehouse
56a0763da1 version now part of stream; fix VERSION defines 2004-06-24 05:18:46 +00:00
ehouse
ebef9abf74 preserve hint limits 2004-06-24 05:17:59 +00:00
ehouse
35d65ca632 remove non-working code 2004-06-23 04:37:44 +00:00
ehouse
9e77a21270 move some actions to penUp from penDown 2004-06-23 03:33:06 +00:00
ehouse
1a355f57b9 nuke unused param 2004-06-23 03:30:12 +00:00
ehouse
2afccf209a add checkbox for hint rect 2004-06-22 06:30:58 +00:00
ehouse
e80d4075e2 up stream version to include hintrect boolean 2004-06-22 06:29:19 +00:00
ehouse
74df148d2a scroll as part of hint rect drag 2004-06-22 06:28:22 +00:00
ehouse
f4708644d0 hint-rect on by default (until UI or cli option added) 2004-06-18 13:52:49 +00:00
ehouse
d1598a2d8a remove dead code and bogus assert 2004-06-18 13:52:12 +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
8687d210b7 polish hintrect stuff; fix inval, etc 2004-06-18 13:25:57 +00:00
ehouse
f4cfb61eb0 add allowHintRect 2004-06-18 13:16:40 +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
ea28e0c310 version num 2004-06-16 04:06:54 +00:00
ehouse
3b3ee0a3f6 draw hint-rect borders 2004-06-16 04:06:43 +00:00
ehouse
fbc7c3f687 make hint rect per-player; hide when tray not visible; make upward
drag remove it.
2004-06-16 04:06:02 +00:00
ehouse
35ab9b34fe 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
5cced45556 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
6acff20b42 draw borders on cells that are part of hint-constraint rect 2004-06-15 01:44:39 +00:00
ehouse
00c0b86d1e only call board_handlePenMove when mouse button is down. 2004-06-15 01:41:39 +00:00
ehouse
893c5acd04 first checked in 2004-06-10 13:02:20 +00:00
ehouse
cf46635ccb tweaks for BYOD 2004-06-10 13:01:08 +00:00
ehouse
6621cff4b5 fix prototype error 2004-06-10 03:27:58 +00:00
ehouse
3cbe2f4b80 cleanup. Everything works now AFAIK. 2004-06-10 03:27:40 +00:00
ehouse
153d2ae34d get working for spanish .xwd. .pdb remains. 2004-06-09 04:09:19 +00:00