Commit graph

20 commits

Author SHA1 Message Date
ehouse
f335da4a9a Fix bug where sign extention on 16-bit processors caused too many bits
set in crosschecks.
2006-11-10 08:08:59 +00:00
ehouse
722f250c0f set crosschecks inline 2006-09-23 15:12:10 +00:00
ehouse
4cfe07923d fix bug checking crosschecks with more than 32 tiles. 2006-09-02 05:29:13 +00:00
ehouse
f561989644 Set -Wunused-parameter for those versions of gcc that support it, and
deal with the output by removing params where possible and elsewhere
by adding XP_UNUSED macro wrapping __attribute__((unused)).  There
should be NO change in function in spite of the large number of files.
2006-08-16 13:44:44 +00:00
ehouse
c298ecb1f1 optimize for the case where tiles are < 32. Previous imlementation of
64-tiles support increases engine times by ~5%.  This removes that effect.
I can't measure any slowdown vs. pre-change engines.
2006-08-12 01:59:03 +00:00
ehouse
e84cb5b8eb increase possible number of unique tiles from 32 to 64 in order to
support Slovak which has 40.  This change is preliminary: it seems to
work for both existing and dicts with >32 chars, but it breaks backwards
compatibility: existing saved games will crash this code.  I think the
fix is to deduce the number of bits per tile from the number in the
dictionary being used, but that's not in yet.
2006-08-09 04:56:34 +00:00
ehouse
dcd31cd092 update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
74087bd5b7 cast to stop warning on wince 2005-06-27 03:56:09 +00:00
ehouse
8d84b41596 bug: comparison was dropping words with the same score as all those
already cached.
2005-01-25 04:39:55 +00:00
ehouse
d69662558c always set nTilesMax so works when XWFEATURE_SEARCHLIMIT not defined 2004-12-11 04:16:48 +00:00
ehouse
6b3e3d64a0 Pass number of blanks to util_engineStarting 2004-10-07 13:51:03 +00:00
ehouse
8839dfd211 cleanup; fix for 4-byte nodes on ARM 2004-09-28 01:03:07 +00:00
ehouse
afa67f1a3c cleanup for no hintlimit feature case 2004-06-27 04:35:42 +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
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
f6d4ea8e6a new param to figureMoveScore 2004-04-30 08:27:24 +00:00
ehouse
c98da8bff3 new macros for new dawg node format 2003-12-14 16:59:58 +00:00
ehouse
2546a816b4 fix compiler warning 2003-12-13 18:37:43 +00:00
ehouse
07a43ddaa0 add option to limit number of tiles used by robot 2003-11-30 09:34:40 +00:00
ehouse
6a57cef012 first checkin 2003-11-01 05:35:29 +00:00