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
9c1b48d0e4
include svn version in name of generated .exe file.
2006-08-16 01:30:31 +00:00
ehouse
f8e4579116
patch from Peter Rovnak. For Slovak support, need to specify the tray
...
font by name in order to get one that has all the necessary faces. Seems
to make no difference on US/English systems, but it works for him on a
localized device.
2006-08-16 01:29:21 +00:00
ehouse
cfb5e57d07
fix broken ce build: remove ifdefs.
2006-08-11 01:33:19 +00:00
ehouse
b07854961e
turn on flip menu for PPC build too
2006-07-28 07:52:40 +00:00
ehouse
d35f5100ab
Compensate for OS' failure to deliver penup events by checking for
...
pendownness at critical points when an up event should have been
processed: when another pen down happens, when about to scroll, and
when events (menus and buttons) occur. This seems to catch all the
lingering miniwindow problems. Add flip menuitem (win32 only for now).
2006-07-07 08:39:31 +00:00
ehouse
74e97d0bb9
remove rc3 from version: ready to ship
2006-07-05 00:16:18 +00:00
ehouse
0d466f34b1
Enlarge Preferences... button by one pixel
2006-07-03 22:34:36 +00:00
ehouse
78dd247307
add more cases to messageToBuf. Effects debug build only.
2006-07-03 22:32:29 +00:00
ehouse
147c55ee43
up version to rc3; make all elements of prefs dlg the same height so they
...
line up when moving between global and local sets.
2006-07-02 01:08:45 +00:00
ehouse
00e4c06857
add messageToBuf (debug-only ); change newgame's J button to R (for
...
"rearrange"); tweak locations of various dialog widgets for better
layout.
2006-07-02 00:42:41 +00:00
ehouse
a71d2a6f33
keep calling newg_juggle until there's a change.
2006-07-02 00:40:16 +00:00
ehouse
762070e6a9
fix showing of timer field when timer disabled when switching from global
...
to local prefs; use num-getter utils rather than convert to/from text.
2006-07-02 00:39:31 +00:00
ehouse
a272ab15ef
Get rid of param removed from board_handlePenUp.
2006-07-01 14:22:09 +00:00
ehouse
78b67f5200
Up version string to rc2.
2006-06-24 01:22:47 +00:00
ehouse
33c94620fb
Turn on BitBlt scrolling.
2006-06-24 01:22:10 +00:00
ehouse
e8731492b4
implement vertical scrolling using BitBlt. It's faster and smoother, but
...
commented out for now since it may be better not to add so late in the cycle.
2006-06-22 04:59:18 +00:00
ehouse
ea5ba414cd
remove overactive log message
2006-06-22 03:37:21 +00:00
ehouse
8d675a4114
up version string to rc1; add DEBUG to makefile help.
2006-06-18 21:54:59 +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
4561d86601
Allow no space for REM text when no tiles left to allow more room for scores.
2006-06-16 01:15:44 +00:00
ehouse
29621ec4d1
Run server after gameinfo dialog dismissed in case a player's become a robot.
2006-06-15 12:39:54 +00:00
ehouse
c956b0858a
cleanup; fix compile of non-debug win32 version
2006-06-11 20:12:20 +00:00
ehouse
9d18e8df95
Add "Save current game as" to save file dialog; remove frequent-save hack.
2006-06-11 05:27:16 +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
8b892bcf19
Tweak widget positions to fit juggle button on device
2006-06-08 02:03:33 +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
e2fd99e3ef
up version number; add to list of dirs searched for .xwd files
2006-06-07 01:20:56 +00:00
ehouse
12daa9bfbb
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
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
b498d3d18d
silence compiler warnings.
2006-05-28 16:16:46 +00:00
ehouse
35f8004d43
fix a couple of compile warnings
2006-05-28 14:53:02 +00:00
ehouse
e252d51669
define CALLBACK to quiet warnings for CE build.
2006-05-28 00:42:34 +00:00
ehouse
5846a0f8f6
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
9f0df402ce
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
af7a0ad216
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
21df8e09d8
Cleanup password dialog
2006-05-27 22:47:33 +00:00
ehouse
fd0e2370aa
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
9558cc902e
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
62fe2be84b
Move buttons in landscape mode for color sel dialogs too.
2006-05-27 22:19:30 +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
75431f774c
strcat becomes strcpy: trivial optimization
2006-05-25 04:07:49 +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
fbe384d431
remove trailing <cr> to sometimes eliminate scrollbar
2006-05-23 02:01:26 +00:00
ehouse
f3c56df8aa
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
54468b01bb
update nHiddenRows so scrolling finally works
2006-05-20 06:22:33 +00:00
ehouse
c096b77561
draw lines rather than bullets to indicate whose turn it is in vertical mode
2006-05-20 06:21:53 +00:00
ehouse
b51cdd32b0
Change misleading function name; no code change.
2006-05-19 13:45:48 +00:00