ehouse
133016bd1d
cleanup; fix compile of non-debug win32 version
2006-06-11 20:12:20 +00:00
ehouse
73c0cefb52
Add "Save current game as" to save file dialog; remove frequent-save hack.
2006-06-11 05:27:16 +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
1967a137ef
Tweak widget positions to fit juggle button on device
2006-06-08 02:03:33 +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
003f801314
up version number; add to list of dirs searched for .xwd files
2006-06-07 01:20:56 +00:00
ehouse
0fe04af4b4
Turned on leak-checking at shutdown for debug version, and fixed leaks and
...
crashes in destructors that had never been called before. Seems now to
free all allocated memory before exiting.
2006-05-30 05:12:02 +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
e26e149f4c
silence compiler warnings.
2006-05-28 16:16:46 +00:00
ehouse
e75ef1ca53
fix a couple of compile warnings
2006-05-28 14:53:02 +00:00
ehouse
8639c4e5cd
define CALLBACK to quiet warnings for CE build.
2006-05-28 00:42:34 +00:00
ehouse
b9f5925ceb
Move button size #defines into .rc file. They're scaled by the time C
...
code sees them and so shouldn't be relied on outside the .rc file.
2006-05-28 00:41:44 +00:00
ehouse
3db196156b
Calculate old window width correctly when figuring new width. Fixes
...
problem of buttons drawn too close to right edge.
2006-05-28 00:40:28 +00:00
ehouse
fde2ef1ee2
Before putting dialog into landscape mode, make sure it won't be wider
...
than the screen. That is, don't be fooled when in portrait mode by a
screen height that's SIP-reduced.
2006-05-27 22:52:10 +00:00
ehouse
054fd21981
Cleanup password dialog
2006-05-27 22:47:33 +00:00
ehouse
4a28deb1b1
Lots of little tweaks to dialogs to get them looking better and to
...
work better in landscape mode; got rid of multiple DEFPUSHBUTTONs.
2006-05-27 22:21:21 +00:00
ehouse
ecb7243714
Lots of little tweaks to dialogs to get them looking better and to
...
work better in landscape mode; got rid of multiple DEFPUSHBUTTONs.
2006-05-27 22:21:09 +00:00
ehouse
14eef0a4b8
Move buttons in landscape mode for color sel dialogs too.
2006-05-27 22:19:30 +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
04e9dfb76a
strcat becomes strcpy: trivial optimization
2006-05-25 04:07:49 +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
340214d87d
remove trailing <cr> to sometimes eliminate scrollbar
2006-05-23 02:01:26 +00:00
ehouse
113b9cea5f
n## Lines starting with '## ' will be removed from the log message.
...
change version string to include b8
2006-05-21 02:09:03 +00:00
ehouse
d6ddeb0f87
update nHiddenRows so scrolling finally works
2006-05-20 06:22:33 +00:00
ehouse
27b740c03b
draw lines rather than bullets to indicate whose turn it is in vertical mode
2006-05-20 06:21:53 +00:00
ehouse
5df612c1cd
Change misleading function name; no code change.
2006-05-19 13:45:48 +00:00
ehouse
19414ae505
Finish scrollbar work by passing number of visible rows to
...
util_trayHiddenChange, which means an API change. In board, calculate
bottom of board based on bottom of tray when tray is hidden, and round
so that it's an exact multiple of cell height. In wince, take
advantage of the new parameter to fix the scrollbar so that very
constrained boards can be scrolled even when the tray is hidden.
2006-05-19 13:44:05 +00:00
ehouse
5dca33c5ab
factor out updateScrollInfo so I can update scroller live once I get
...
super-small boards figured out.
2006-05-14 15:28:57 +00:00
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