Commit graph

306 commits

Author SHA1 Message Date
ehouse
afa496cb19 Incorporate svnversion output in About box; add CAB target 2006-05-14 15:22:48 +00:00
ehouse
54e17e76b1 rewrite score formatting to put is-turn bullets above/below for
vertical scoreboard; reduce inter-line spacing and otherwise tweak
drawing.
2006-05-12 07:58:31 +00:00
ehouse
308aa3ae42 fix compiler warning 2006-05-12 07:55:36 +00:00
ehouse
dbab3bc4fd Add ability, in win32 version, to specify height and width on wine's
commandline -- to ease debugging of layout code.
2006-05-12 07:54:59 +00:00
ehouse
121163e586 Turn on -Wall for compilers, and fix warnings that result. Got 'em
all for win32 build, but some remain for wince that I'm unable to fix.
2006-05-12 07:25:43 +00:00
ehouse
73b244e11f Turn on -Wall for compilers, and fix warnings that result. Got 'em
all for win32 build, but some remain for wince that I'm unable to fix.
2006-05-12 07:17:35 +00:00
ehouse
469a23a183 fix too-tall cells in vertical scoreboard case 2006-05-11 03:01:39 +00:00
ehouse
216615577b minor fixes to drawing spacing (what I meant to check in) 2006-05-11 03:00:50 +00:00
ehouse
3b7e22dc1c minor fixes to drawing spacing 2006-05-11 02:58:36 +00:00
ehouse
468c6efd37 first cut at supporting landscape mode by moving scoreboard to left edge of screen from top. 2006-05-09 02:01:27 +00:00
ehouse
e8377f242c Alert user of a previous version that dict location is being fixed 2006-05-05 12:51:35 +00:00
ehouse
e7868afd67 Alert user of a previous version that dict location is being fixed 2006-05-05 12:51:08 +00:00
ehouse
fd7c649cb0 first cut at script to package binary, shortcut and BasEnglish
dictionary into an installable .cab file.
2006-04-30 21:52:17 +00:00
ehouse
3d5345f53b pretty up About text. 2006-04-30 21:51:19 +00:00
ehouse
f700c88bca update version number 2006-04-30 21:06:25 +00:00
ehouse
3c7b895bed List dictionaries alphabetically, which requires first storing them in
sorted order then adding all at once to the menu.
2006-04-30 19:54:40 +00:00
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
eb7f62308e Show current dict in dropdown in game info mode. (Had disappeared in recent changes.) 2006-04-22 14:19:21 +00:00
ehouse
4b8e877205 Go back to writing to \Program Files\Crosswords, since we now look
there automatically.
2006-04-22 14:06:11 +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
dc908e52b2 set DEBUG in compile-command; no code change 2006-04-22 13:55:19 +00:00
ehouse
13e584ac68 make combobox tall enough that it can pop down 2006-04-20 13:48:44 +00:00
ehouse
7d14763d8c rename function to link with pocketpc-sdk 2006-04-20 13:47:58 +00:00
ehouse
97d3deffdd display filename only (no path, and no extention) in dropdown, but retain full path internally to use after choice is made. 2006-04-20 04:39:46 +00:00
ehouse
e96aaccef9 debug-only function for logging wchar_t strings 2006-04-20 04:38:40 +00:00
ehouse
fc0c7c3f80 When creating dicts dropdown, set 0th as default if there's been no match. 2006-04-20 03:56:38 +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
ddb21c3cfc Install into /My Documents/Crosswords since that's the only place the
OpenFile dialog will let you browse.  And use filename as -a option so
more than one dictionary can be installed -- without that the
installer treats all dicts as versions of the same app and removes the
old before installing the new.
2006-04-16 05:49:59 +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
b26982a3df Seems to work to pack a .xwd file so that it's installed on a device
when clicked.  Still haven't figured out how to include info about the
app name, developer name etc.
2006-04-15 23:46:24 +00:00
ehouse
dd779cebbc Quick meaningless checkin (update comments) to check svn config 2006-04-03 03:37:53 +00:00
ehouse
2300d55567 Draw bitmap chars ("specials", e.g. for Spanish) centered in rect
rather than at x,y.  This lines them up with normal letters on the
board as it changes size.
2006-04-02 22:27:44 +00:00
ehouse
88b37a1beb Fix crash when no dictionary by checking for null model before calling
cePositionBoard on WM_SETTINGCHANGE event
2006-04-02 21:52:15 +00:00
ehouse
63a8e0adbb Add macros to draw.h, and use 'em for wince, so that a platform can choose to call draw.h methods via a vtable or static linking. 2006-04-01 21:01:20 +00:00
ehouse
3f819b871d implement ResetEvent and SetEvent 2006-03-21 03:47:58 +00:00
ehouse
9166d66589 use MS macro to get winsock functions instead of eponymous posix ones.
With this change, play over IP works again!
2006-03-21 03:47:15 +00:00
ehouse
25b0d63b1a get rid of unneeded DH() 2006-03-20 04:13:40 +00:00
ehouse
3ad2b8e38e fix errors that became apparant when feature flags turned on and
stopped building wince resources with _WIN32_WCE on.
2006-03-04 15:57:39 +00:00
ehouse
8332e6746b colorsel dialog works now on wince, so remove warning dialog 2006-03-04 15:56:31 +00:00
ehouse
67c638643d fix colorsel dialog on wince by defining MY_COLOR_SEL for .rc files
too.  Also stop defining _WIN32_WCE for win32 .rc files.  Turn on all
other missing XW-feature flags in .rc file too.
2006-03-04 15:55:57 +00:00
ehouse
b91ad07b03 add target to upload binary 2006-03-04 06:09:42 +00:00
ehouse
091f8ca2e3 move on to next beta 2006-02-28 05:29:37 +00:00
ehouse
a393bd97b7 update copyright -- thought I'd done this... 2006-02-20 02:07:18 +00:00