ehouse
58f4b08623
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
9014ef3fd7
Alert user of a previous version that dict location is being fixed
2006-05-05 12:51:35 +00:00
ehouse
f4844efd2f
Alert user of a previous version that dict location is being fixed
2006-05-05 12:51:08 +00:00
ehouse
b75f719c1b
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
0c29968974
pretty up About text.
2006-04-30 21:51:19 +00:00
ehouse
efe18256b4
update version number
2006-04-30 21:06:25 +00:00
ehouse
a1d2b28a24
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
5410f1f9f7
move CE_MAXDICTS to header
2006-04-30 19:45:48 +00:00
ehouse
4e2b080be5
Add, and use, stream_putString. Saves 500 bytes on win32.
2006-04-25 13:31:15 +00:00
ehouse
1c4f0a47b7
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
7c50cacc18
On win32 too, return null when dict not found.
2006-04-24 13:36:23 +00:00
ehouse
9acbe29bf5
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
6439096812
pass the rigth size to LoadString
2006-04-22 14:31:43 +00:00
ehouse
08b20dc431
More of dict search change: failed to save buffer before checkin
2006-04-22 14:28:22 +00:00
ehouse
ffc4de8c47
Show current dict in dropdown in game info mode. (Had disappeared in recent changes.)
2006-04-22 14:19:21 +00:00
ehouse
dcc07ad95b
Go back to writing to \Program Files\Crosswords, since we now look
...
there automatically.
2006-04-22 14:06:11 +00:00
ehouse
e8a18f10de
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
0d5a44b596
set DEBUG in compile-command; no code change
2006-04-22 13:55:19 +00:00
ehouse
42c35363ef
make combobox tall enough that it can pop down
2006-04-20 13:48:44 +00:00
ehouse
d3c3947756
rename function to link with pocketpc-sdk
2006-04-20 13:47:58 +00:00
ehouse
e867d743f8
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
23e26a3ba9
debug-only function for logging wchar_t strings
2006-04-20 04:38:40 +00:00
ehouse
ed1bac4a16
When creating dicts dropdown, set 0th as default if there's been no match.
2006-04-20 03:56:38 +00:00
ehouse
4e483b03a5
forgot to save before commiting....
2006-04-19 04:57:51 +00:00
ehouse
25b1fb4ecf
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
936e4868a2
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
76c6a56f93
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
144e7b408b
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
b05fe65389
Quick meaningless checkin (update comments) to check svn config
2006-04-03 03:37:53 +00:00
ehouse
0f6437345b
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
ea812d81ea
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
13b7fa62aa
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
e18982919c
implement ResetEvent and SetEvent
2006-03-21 03:47:58 +00:00
ehouse
eca8fa28b0
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
eef7b20544
get rid of unneeded DH()
2006-03-20 04:13:40 +00:00
ehouse
b0e5668093
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
56050fff5a
colorsel dialog works now on wince, so remove warning dialog
2006-03-04 15:56:31 +00:00
ehouse
523798cd3a
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
3e06bc56f7
add target to upload binary
2006-03-04 06:09:42 +00:00
ehouse
81f36474a8
move on to next beta
2006-02-28 05:29:37 +00:00
ehouse
7427f29832
update copyright -- thought I'd done this...
2006-02-20 02:07:18 +00:00
ehouse
4f99915aeb
strip all .exe files, not just for release.
2006-02-20 01:57:18 +00:00
ehouse
9b77537905
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
c277762396
change about box text for beta 5.
2006-02-20 01:51:46 +00:00
ehouse
3b3e35b38f
strip release binaries
2006-02-19 16:07:14 +00:00
ehouse
7bace099ed
tweak code so board is right width in release build. Looks as if I'm
...
working around a code-gen bug, but I haven't looked at the asm output.
2006-02-19 05:48:51 +00:00
ehouse
2931039b29
update comments to describe building with Linux tools
2006-02-18 21:59:04 +00:00
ehouse
8f72bf6b56
new directories to ignore
2006-02-18 14:08:04 +00:00
ehouse
9ff5259d4e
add const decls to draw.h and dictnry.h functions where appropriate,
...
and modify "subclass" methods to match. Should be no code change, but
this makes the intent of the APIs clearer.
2006-02-18 06:39:40 +00:00
ehouse
353d65987d
new directories and file extensions to ignore
2006-02-17 07:33:08 +00:00
ehouse
abf185fd85
cast threadstart func ptrs. Not sure why...
2006-02-17 07:31:21 +00:00
ehouse
04ead8566c
tie aygshell to Wince rather than making it separate feature
2006-02-17 07:30:54 +00:00
ehouse
00142f8d80
use __VA_ARGS__ in debug macros
2006-02-17 07:29:25 +00:00
ehouse
35b7a7900f
get rid of printf
2006-02-16 03:32:19 +00:00
ehouse
fa77bb4a34
make color buttons owner-draw, and draw them. This fixes bug where
...
all are the background color, and seems to fix win32 build altogether.
Wince build still needs to respond to the buttons being pressed.
2006-02-16 03:31:44 +00:00
ehouse
49801fb0ee
provide sensible path for saved files on win32 so state can be preserved
2006-02-15 13:09:36 +00:00
ehouse
fb410e4011
use native color-picker on win32
2006-02-14 04:54:28 +00:00
ehouse
c42c6a6551
turn off broken color sel until have time to fix
2006-02-14 04:52:31 +00:00
ehouse
ea9c2ca48b
better way of doing debug builds
2006-02-07 14:46:08 +00:00
ehouse
c767c89d64
back out change that had window drawing too narrow
2006-02-07 14:45:30 +00:00
ehouse
3559618e25
separate debug build; pass flags to linker so OS won't run in emulation mode
2006-02-06 15:00:46 +00:00
ehouse
1dcee125b9
lots of tweaks toward a beta build on linux. works now, but takes a
...
hex editor.
2006-02-06 04:48:20 +00:00
ehouse
d0352dfa80
attempt to show different title when in debug mode
2006-02-06 04:44:09 +00:00
ehouse
b495ccc9e2
tweak -- but these will be going away as soon as mingw and debian's
...
pocketpc-sdk catch up with me.
2006-02-06 04:43:32 +00:00
ehouse
bc6cfacedb
cleanup closing in on building correctly -- which now works, though it
...
takes a hex editor. May have fixed a bug with a missing CloseHandle
call.
2006-02-06 04:41:14 +00:00
ehouse
2e901dde4e
type changes to stop warnings
2006-01-31 14:40:49 +00:00
ehouse
9f42faee6d
missed one ce-specific struct. This makes it work on ce!
2006-01-31 06:41:49 +00:00
ehouse
3ef2bf9c8e
pass the right param to WinMain. This makes it work on ce!
2006-01-31 06:41:16 +00:00
ehouse
6266de224e
use debhacks; add flags to compile for wince
2006-01-28 19:05:39 +00:00
ehouse
df72a59423
use debhacks
2006-01-28 19:03:10 +00:00
ehouse
3174ff031f
use debhacks; ifdef out cmdbar stuff which debian tools don't support yet
2006-01-28 19:02:04 +00:00
ehouse
df51f38946
first checked in. may have bugs
2006-01-28 18:58:04 +00:00
ehouse
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
21c28dfcd9
add random seed in win32 case
2005-11-27 23:11:05 +00:00
ehouse
efe72f242e
need to set flag before making calls that will result in a stream of
...
messages.
2005-11-27 22:24:25 +00:00
ehouse
c4643ee5b4
Increase size of tray and fonts for win32; turn on windoze-style
...
menus.
2005-11-27 22:06:04 +00:00
ehouse
23232d25ba
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
62b055b577
first checked in. Builds for Win32, but crashes on XP after drawing
...
its board.
2005-11-27 20:27:46 +00:00
ehouse
47e21c4169
hide new obj dirs
2005-11-27 20:17:39 +00:00
ehouse
655dbada6b
changes for gcc compilation: conditionally define out stuff that
...
doesn't work on win32 (e.g. CommandBar).
2005-11-27 20:17:09 +00:00
ehouse
4d2ed4f0f6
changes for gcc compilation: fix syntax errors and API usage,
...
conditionally define out stuff that doesn't work on win32
(e.g. CommandBar).
2005-11-27 20:16:43 +00:00
ehouse
908f4d1952
fix for STUBBED_DICT case
2005-11-27 20:13:42 +00:00
ehouse
0df6b6c049
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
eadf7d2d43
for gcc: fix caps and remove commas after last item in array
2005-11-27 20:10:06 +00:00
ehouse
09b8306028
fix caps; use rand() on win32
2005-11-27 20:09:15 +00:00
ehouse
a07b388e7a
change how struct is defined for gcc
2005-11-27 20:06:36 +00:00
ehouse
acbd41334f
fix syntax errors; other catch up with changes
2005-11-27 20:05:33 +00:00
ehouse
0b96f001a5
fix syntax error
2005-11-27 20:04:46 +00:00
ehouse
5ed2892250
fix capitalization of header file -- which gcc cares about.
2005-11-27 20:04:06 +00:00
ehouse
24ca68e96e
remove connect info button, instead bring it up every time role
...
changes to one that needs it.
2005-10-06 02:34:07 +00:00
ehouse
d1298e2911
make network play on by default
2005-09-07 12:32:29 +00:00
ehouse
4ff2f68bd7
add strings for relay errors
2005-09-07 12:31:32 +00:00
ehouse
bd121ed939
protect logging with mutex since happens from multiple threads now.
2005-08-21 14:54:49 +00:00
ehouse
05e9bd2d12
flesh out interaction with comms. Now able to play a complete game vs
...
linux version over GPRS.
2005-08-21 14:36:11 +00:00
ehouse
cca35b28db
tweak how timers stored
2005-08-21 14:07:29 +00:00
ehouse
a24e7d18b3
timeout isn't an assertion failure
2005-08-21 14:07:12 +00:00
ehouse
2b1dd9ec55
use renamed constant
2005-08-21 14:05:29 +00:00
ehouse
ee52261a9c
add vc60.pdb
2005-07-30 02:07:20 +00:00
ehouse
b3e26adaf8
make some conn-related IDs conditional
2005-07-30 02:05:59 +00:00
ehouse
4f3a24eb78
add cesockwr.o
2005-07-30 02:04:29 +00:00