ehouse
7d60d05436
move CE_MAXDICTS to header
2006-04-30 19:45:48 +00:00
ehouse
ef6ebe6bac
Add, and use, stream_putString. Saves 500 bytes on win32.
2006-04-25 13:31:15 +00:00
ehouse
3b94d0f0a2
When unable to open a dictionary whose path has been saved, look for
...
it elsewhere in the set of possible directories. This should help
ease the transition to there being a limited number of places where
dicts can be, since games saved previously will still work after the
dicts they reference have been moved. Also, clean up callbacks making
their return values consistent: true means done.
2006-04-25 04:25:08 +00:00
ehouse
6687984bf0
On win32 too, return null when dict not found.
2006-04-24 13:36:23 +00:00
ehouse
1b447272b2
Replace generic "no dictionaries found" warning with list of directories searched and URL from which to download.
2006-04-24 04:34:42 +00:00
ehouse
d4bb0f307f
pass the rigth size to LoadString
2006-04-22 14:31:43 +00:00
ehouse
bc2a99b474
More of dict search change: failed to save buffer before checkin
2006-04-22 14:28:22 +00:00
ehouse
d8ab05a04e
rewrite ceLocateNDicts to do recursive searches from a list of
...
directories stored in resources. On device this is currently
"\Program Files\Crosswords" and "\SD Card". (Just "." for win32.)
Later may need to restrict on the card too. Still to do: make "no
dicts found" Alert list the places searched.
2006-04-22 14:05:09 +00:00
ehouse
b5843a5486
forgot to save before commiting....
2006-04-19 04:57:51 +00:00
ehouse
5a8c1ef2af
ceLocateNDicts now takes a callback. Use that to build menu of dicts
...
rather than call OpenFile, which doesn't let you browse much of the
file system on CE. Heading for installing dicts in Program Files so
users never have to worry about them.
2006-04-19 04:56:00 +00:00
ehouse
6680edebb6
Rewrite dictionary location code so that it can more effeciently
...
produce a list of dictionaries. The API has changed slightly, but the
new ability isn't used yet.
2006-04-16 05:12:52 +00:00
ehouse
25b0d63b1a
get rid of unneeded DH()
2006-03-20 04:13:40 +00:00
ehouse
afb90f6d90
Check .xwd files coming back from OpenFile dlg, and reject with msg to
...
user those that aren't valid. This catches corrupt files and other app
files ending with .xwd.
2006-02-20 01:56:34 +00:00
ehouse
323240fa6b
missed one ce-specific struct. This makes it work on ce!
2006-01-31 06:41:49 +00:00
ehouse
3f577181dd
use debhacks
2006-01-28 19:03:10 +00:00
ehouse
92485783af
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
a79052513e
Turn off STUBBED_DICT -- can now load and execute from an .xwd file
...
running on WINE.
2005-11-27 21:39:06 +00:00
ehouse
aba81b8627
OpenFileForMapping doesn't seem to exist in win32 -- or at least not
...
in MinGW's view.
2005-11-27 20:13:13 +00:00
ehouse
7d388c3a2a
fix compile error!
2005-06-30 01:51:40 +00:00
ehouse
8fb0b4685a
Refactor ce_dictionary_make so that it returns NULL rather than an
...
broken dict when the file's missing or corrupt.
2005-06-30 01:36:51 +00:00
ehouse
7c906a70ba
add debug-version logging to catch dictionary corruption
2005-06-13 13:36:26 +00:00
ehouse
99c4f0b15a
dict_getShortName
2004-12-18 01:02:22 +00:00
ehouse
f0e5fac581
call new dict_super_init
2004-10-16 04:41:23 +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
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
184ed6244d
tweak that seemed to fix crash, but I don't get why
2003-12-09 05:17:12 +00:00
ehouse
40c8c5036d
first checkin from personal archive
2003-11-20 16:26:35 +00:00