ehouse
a6dda53907
Use new APIs to scroll dialogs; use new saved games dialogs.
2008-03-24 12:41:12 +00:00
ehouse
cae88f5b6c
Rework dialogs to fit or (eventually) scroll on small screen; put
...
dialogs in fullscreen mode; switch from dropdowns to spinbuttons on
CE; grab OS version on startup (not yet used.)
2008-03-15 15:39:58 +00:00
ehouse
02f3e10edc
move or add ceStackButtonsRight
2008-02-16 17:19:06 +00:00
ehouse
b333476d48
Update to use modified newg_store
2008-01-05 16:37:49 +00:00
ehouse
5457ea1b59
replace all __FUNCTION__ with __func__
2007-12-02 19:13:25 +00:00
ehouse
eeebeca542
substitute macro for common sizeof(x)/sizeof(x[0]) pattern; no generated code change
2007-05-26 14:03:07 +00:00
ehouse
3f111c5657
name change only: Connectedness becomes DeviceRole
2007-02-02 08:34:37 +00:00
ehouse
f1def437c3
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
a292e33c03
catch up with recent API changes; fix bug in newgame dialog.
2006-09-15 07:39:57 +00:00
ehouse
4daabf6fe5
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
f8aea3b953
keep calling newg_juggle until there's a change.
2006-07-02 00:40:16 +00:00
ehouse
45979f547a
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
f271aee094
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
133016bd1d
cleanup; fix compile of non-debug win32 version
2006-06-11 20:12:20 +00:00
ehouse
1af17b7672
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
16dd84b059
Fix to compile in STANDALONE mode, e.g. for current PPC.
2006-06-08 01:51:34 +00:00
ehouse
5fff2997d6
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
d029d6600d
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
3e934624a4
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
be930f344c
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
5df612c1cd
Change misleading function name; no code change.
2006-05-19 13:45:48 +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
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
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
eb7f62308e
Show current dict in dropdown in game info mode. (Had disappeared in recent changes.)
2006-04-22 14:19:21 +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
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
fc0c7c3f80
When creating dicts dropdown, set 0th as default if there's been no match.
2006-04-20 03:56:38 +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
92485783af
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
66fffb7fe9
fix for STUBBED_DICT case
2005-11-27 20:13:42 +00:00
ehouse
0bf1dcdcf8
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
3ecc871515
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
39669d9680
change dialog title when it's called from new game menuitem
2005-06-30 01:44:56 +00:00
ehouse
acd3bdf24b
copy null byte along with rest of string
2005-06-28 04:42:08 +00:00
ehouse
9a09a24aab
fix DEBUG compile error
2005-06-13 14:33:05 +00:00
ehouse
10b61b5bad
remove bname
2004-12-18 01:01:47 +00:00
ehouse
def1f19e02
clean up dialog init
2004-05-26 04:39:29 +00:00
ehouse
4eea985927
name change
2004-04-14 03:57:59 +00:00
ehouse
0d055bd1b8
remove positionDlg; remove .xwd from dict names
2004-02-27 06:09:07 +00:00
ehouse
db9391df36
provide default dict name for first game
2004-01-30 05:46:03 +00:00
ehouse
68e2975472
fix compiler warning
2004-01-29 05:07:10 +00:00
ehouse
09f657eef2
make stubbed dict work
2004-01-17 22:10:23 +00:00
ehouse
40c8c5036d
first checkin from personal archive
2003-11-20 16:26:35 +00:00