ehouse
86f5193801
Fix compilation errors. Not tested.
2007-12-03 01:18:13 +00:00
ehouse
5457ea1b59
replace all __FUNCTION__ with __func__
2007-12-02 19:13:25 +00:00
ehouse
dd7a5c8104
type name change only
2007-05-26 14:14:01 +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
aad182c2e3
turn stringFromStream into macro to aid logging for leak detection. Debug builds only effected.
2007-03-18 23:31:51 +00:00
ehouse
7c8b7294cd
add const to a bunch of char* decls in APIs and variables; no code change
2007-02-03 17:54:20 +00:00
ehouse
3f111c5657
name change only: Connectedness becomes DeviceRole
2007-02-02 08:34:37 +00:00
ehouse
a998e96de9
Tweak scroll-of-focussed-board inval code so we don't inval the whole
...
board, which looks crappy. Instead inval only what was previously a
border row, and pass a new param to draw_vertScrollBoard so the
platform can choose not to scroll cells that will just get overwritten
with different bits.
2007-01-21 22:59:29 +00:00
ehouse
0b68a917f7
preliminary addition of xplatform-only focus, esp drawing of cursor
...
and handling of arrow keys via WM_KEYUP; added focus/cursor color to
prefs and color edit dialog. Tested only on win32 (WINE), and not
integrated with platform nav/focus model.
2007-01-19 08:24:02 +00:00
ehouse
e9871b1fb6
change constant names. No change to code compiled.
2007-01-19 06:43:52 +00:00
ehouse
c01615e86b
reintroduce board_handleKey
2007-01-18 02:42:37 +00:00
ehouse
593980817f
Clean up for non-keyboard and non-keyboard-nav cases. Wince is the
...
latter: make it compile again.
2007-01-07 01:01:20 +00:00
ehouse
382848f556
Fix to work with draw API changes
2006-11-12 15:22:26 +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
07e2717cc8
add a few consts decls where APIs changed; use XWFEATURE_RELAY rather
...
than BEYOND_IR
2006-10-22 19:44:30 +00:00
ehouse
5f25ba9f57
remove BEYOND_IR, replacing with XWFEATURE_RELAY and
...
XWFEATURE_BLUETOOTH. The goal is to be able to build to support
bluetooth only, or relay/ip only, e.g. for a palm bluetooth beta.
Seems to work.
2006-10-10 01:34:37 +00:00
ehouse
72cd7c7ec7
tweak svnversion output so make stays happy
2006-09-15 07:52:45 +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
35261484a2
include svn version in name of generated .exe file.
2006-08-16 01:30:31 +00:00
ehouse
61959b394a
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
e68771939e
fix broken ce build: remove ifdefs.
2006-08-11 01:33:19 +00:00
ehouse
6e88146396
turn on flip menu for PPC build too
2006-07-28 07:52:40 +00:00
ehouse
de0c62fb39
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
4beb291f0d
remove rc3 from version: ready to ship
2006-07-05 00:16:18 +00:00
ehouse
e76e23f7f5
Enlarge Preferences... button by one pixel
2006-07-03 22:34:36 +00:00
ehouse
8c86ba26d8
add more cases to messageToBuf. Effects debug build only.
2006-07-03 22:32:29 +00:00
ehouse
ef941e2c75
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
501e1f7a5f
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
f8aea3b953
keep calling newg_juggle until there's a change.
2006-07-02 00:40:16 +00:00
ehouse
1c65ffaac2
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
4da329a482
Get rid of param removed from board_handlePenUp.
2006-07-01 14:22:09 +00:00
ehouse
f2906db239
Up version string to rc2.
2006-06-24 01:22:47 +00:00
ehouse
a6d140581c
Turn on BitBlt scrolling.
2006-06-24 01:22:10 +00:00
ehouse
6870178490
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
e32a445788
remove overactive log message
2006-06-22 03:37:21 +00:00
ehouse
4d79c85e94
up version string to rc1; add DEBUG to makefile help.
2006-06-18 21:54:59 +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
a4cabd9cf7
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
77793e31b8
Run server after gameinfo dialog dismissed in case a player's become a robot.
2006-06-15 12:39:54 +00:00
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