ehouse
916ea4abc2
name change only: Connectedness becomes DeviceRole
2007-02-02 08:34:37 +00:00
ehouse
e5e36f0fa4
Use new XP_TriEnable type; begin work to support bluetooth by tracking
...
connType and adding choice how to connect. Bt connect dialog is
invoked, but the fields won't be populated. Pass conn type into
socket constructor, assuming socket code doesn't change much to use BT
rather than TCP.
2006-10-28 14:56:04 +00:00
ehouse
5780da7b93
catch up with recent API changes; fix bug in newgame dialog.
2006-09-15 07:39:57 +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
a71d2a6f33
keep calling newg_juggle until there's a change.
2006-07-02 00:40:16 +00:00
ehouse
c4de8b5ba5
disable juggle button if only one player active; copy all four players when saving game state after dismissal.
2006-06-18 19:02:47 +00:00
ehouse
3fc8fdcc18
add commented-out code to draw juggle icon instead of "J" button. It's too much work to get it looking good before ship.
2006-06-16 01:30:20 +00:00
ehouse
c956b0858a
cleanup; fix compile of non-debug win32 version
2006-06-11 20:12:20 +00:00
ehouse
f7ee793df3
Catch up with changes including three enabled states for control and
...
setting dialog strings. Align titles with columns for standalone version.
2006-06-10 16:15:31 +00:00
ehouse
8c8313a2ca
Fix to compile in STANDALONE mode, e.g. for current PPC.
2006-06-08 01:51:34 +00:00
ehouse
7d9fec90d3
First cut at using new nwgamest common code to replace PPC-only logic
...
for updating fields of new game dialog as players are added, made
remote, robots enabled, etc. Removes a lot of code and fixes some
bugs in (non-yet-shipped) multi-device version. As a bonus, added "J"
button to juggle players. Seems to work well on Win32. Haven't
tested on PPC yet.
2006-06-08 01:35:20 +00:00
ehouse
d66c27cd35
To show it and to prevent it's being cleared, write current password
...
into field in game info dialog.
2006-05-28 18:16:08 +00:00
ehouse
c2ddb62591
modify API for "portraitizing" dialogs, and space the buttons evenly
...
rather than stacking all from bottom. This doesn't quit work on ce
since GetWindowInfo isn't available and IsWindowVisible does the wrong
thing.
2006-05-27 17:18:42 +00:00
ehouse
3ca36f57fc
For dialogs in portrait-mode, move OK and Cancel buttons to the right
...
side and shrink up from the bottom
2006-05-25 03:41:32 +00:00
ehouse
b51cdd32b0
Change misleading function name; no code change.
2006-05-19 13:45:48 +00:00
ehouse
7d9d97cd88
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
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
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
ffc4de8c47
Show current dict in dropdown in game info mode. (Had disappeared in recent changes.)
2006-04-22 14:19:21 +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
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
ed1bac4a16
When creating dicts dropdown, set 0th as default if there's been no match.
2006-04-20 03:56:38 +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
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
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
908f4d1952
fix for STUBBED_DICT case
2005-11-27 20:13:42 +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
19734cc053
begin work of allowing multi-device play over WiFi/Cellular: add
...
dialog to gather params, save 'em, and stub out send proc. Still need
to debug a bit, and add threads to send/receive packets.
2005-07-23 15:31:21 +00:00
ehouse
52939cdc41
change dialog title when it's called from new game menuitem
2005-06-30 01:44:56 +00:00
ehouse
7a306d1b7e
copy null byte along with rest of string
2005-06-28 04:42:08 +00:00
ehouse
852218f074
fix DEBUG compile error
2005-06-13 14:33:05 +00:00
ehouse
bc7fba9689
remove bname
2004-12-18 01:01:47 +00:00
ehouse
621dd87d71
clean up dialog init
2004-05-26 04:39:29 +00:00
ehouse
93314f76d3
name change
2004-04-14 03:57:59 +00:00
ehouse
3249eab16e
remove positionDlg; remove .xwd from dict names
2004-02-27 06:09:07 +00:00
ehouse
e267713f85
provide default dict name for first game
2004-01-30 05:46:03 +00:00
ehouse
5528dc305f
fix compiler warning
2004-01-29 05:07:10 +00:00
ehouse
717685abc0
make stubbed dict work
2004-01-17 22:10:23 +00:00
ehouse
a4c3922d6e
first checkin from personal archive
2003-11-20 16:26:35 +00:00