ehouse
ae7caae236
Lots of changes to make gtk version better test with relay: make
...
possible to start without specifying comms params, to switch roles
and/or number of players when starting new game; clean up dialogs,
esp. use notebook widget to have tab switch between comms types.
2009-02-28 18:52:44 +00:00
ehouse
66e4053f06
start adding conns dialog
2009-02-24 04:34:37 +00:00
ehouse
6a5454ad74
gtk/ncurses support for Rem: focus and showing remaining tiles. Also
...
rewrite gtkask to use gtk_message_dialog and add sigint handler.
2008-10-24 09:07:30 +00:00
ehouse
7899217aa4
separate UI-specific code so that a non-UI linux library can be compiled, e.g. for use with a toolkit not gtk or ncurses
2008-06-30 03:39:27 +00:00
ehouse
b25ffefb88
Fix to compile and run standalone
2008-01-19 16:03:53 +00:00
ehouse
dfee56609a
Warn user, and refuse to continue, when new game is as host and has no remote players. API
...
changes, so other platforms won't compile until changed.
2008-01-04 14:47:52 +00:00
ehouse
b527110379
replace all __FUNCTION__ with __func__
2007-12-02 19:13:25 +00:00
ehouse
e891a26756
substitute macro for common sizeof(x)/sizeof(x[0]) pattern; no generated code change
2007-05-26 14:03:07 +00:00
ehouse
916ea4abc2
name change only: Connectedness becomes DeviceRole
2007-02-02 08:34:37 +00:00
ehouse
189b2ec0ff
use new XP_TriEnable type
2006-10-28 14:49:49 +00:00
ehouse
bcbb8583c1
fix compile warnings; disable board size combo when not new game.
2006-09-24 15:34:46 +00:00
ehouse
8536a62901
use gtk_combo_box instead of whatever and fix inability to set current
...
num players and role as dialog comes up.
2006-09-21 01:34:29 +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
c9abae4abd
juggle until something changes. This is better than there sometimes being
...
no change, until I figure out how to force drawing as on Palm.
2006-07-01 14:14:48 +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
97ccccad48
Support new tri-part enabled type; add "game info" dialog/menu to test
...
read-only side; support new attributes for column head and nplayers
label; hide labels as well as controls that go with them.
2006-06-10 05:50:27 +00:00
ehouse
cbe5ed2779
Refer to players as "remote" rather than "not local" to be consistent
...
with Palm and PPC; fix juggle bug by adjusting lines after moving them.
2006-06-08 01:26:18 +00:00
ehouse
00291dc997
change newgame api names; implement juggle; change getter to take a
...
callback to copy strings that will go out of scope before the getter
returns (e.g. wince). Use changed API in gtk dialog.
2006-06-07 01:45:03 +00:00
ehouse
6c7e4b37f4
use common/nwgamest.c. Lots of code removed, and the dialog works now.
2006-06-07 01:28:37 +00:00
ehouse
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
479805ee08
add role to newgame dialog
2005-09-05 05:31:11 +00:00
ehouse
655ae045c4
switch to g_signal_connect
2005-05-29 20:17:09 +00:00
ehouse
df8bfef99d
formatting fixes; casts for GTK
2005-05-29 19:37:42 +00:00
ehouse
6a57cef012
first checkin
2003-11-01 05:35:29 +00:00