1 2003-11-11 Carl Worth <cworth@isi.edu>
3 * src/grrobot.c (grr_game_read_notices): Exit cleanly: need to
4 return control to Gtk+ so that gtk_main_quit has a chance to do
6 (grr_game_read_notices): Track changes in grr_board_view timer
8 (grr_game_key_press_callback): Eliminate bid_entry text box and
9 bid button. Instead, a bare number in the message_entry will
11 (grr_game_key_press_callback): Change several keybindings to
12 require a control modifier: C-N=Next turn, C-P=Pass, C-Z=Zap timer
13 and C-RGBY for robot selection. Now, no keybindings should
14 interfere with simple text messages.
15 (grr_game_pass): "Pass" button now issues "abandon" instead of
16 "revoke" when not in show mode.
17 (grr_game_next): "Next Turn" button now only issues "turn" never
18 "abandon", so there's no longer a problem when two users both hit
19 the "Next Turn" button.
21 * src/grr_board_view.c (grr_board_view_decrement_timer): Make the
22 "Zap timer" feature animate the fast clock rather than just
24 (grr_board_view_start_timer):
25 (grr_board_view_stop_timer):
26 (grr_board_view_set_timer): Cleaner timer API: set, start, and
29 2003-11-10 Carl Worth <cworth@isi.edu>
31 * src/grrobot.c (grr_game_read_notices): Call new board_view timer
32 functions on the appropriate state transitions.
34 * src/grr_board_view.c (grr_board_view_expose): Add code to draw a
35 cute alpha-blended timer which shows off the use of cairo_arc.
36 (grr_board_view_refresh_timer):
37 (grr_board_view_decrement_timer):
38 (grr_board_view_start_timer):
39 (grr_board_view_stop_timer):
40 (grr_board_view_reset_timer): New functions for managing the timer.
42 2003-09-04 Carl Worth <cworth@isi.edu>
44 * configure.in (PKG_CHECK_MODULES): Require Cairo 0.1.1 or newer.
46 * src/grr_icon.c (grr_icon_predraw): Track changes in Cairo 0.1.1
48 2003-07-11 Carl Worth <cworth@isi.edu>
50 * src/grrobot.c (grr_game_read_notices): Compressed move display
51 text, ('N' instead of "NORTH", etc.)
52 (grr_game_key_press_callback): Added keybindings for Next Turn,
53 Pass, Zap timer, and bids [0-9].
54 (grr_game_start_gui): Added buttons for Bid, Pass, Zap timer, Next
55 turn. Added a label for the current username.
57 2003-07-09 Carl Worth <cworth@isi.edu>
59 * src/grrobot.c (grr_game_read_notices): Added support for
60 RR_NOTICE_BOARD, (cleans up ugly GAMEOVER handling), and should
61 avoid nasty inconsistent display problems if the user issues a NEW
63 (grr_game_read_notices): Tracked some librr API changes.
64 (grr_game_key_press_callback): Added some global keybindings: RGBY
65 to select robot, arrow to move, BackSpace to undo a move, Ctrl-Q
66 to quit, Space to message, and '/' to enter a command.
68 * src/grr_board_view.c (grr_board_view_set_active_robot):
69 (grr_board_view_move_active):
70 (grr_board_view_undo): Added an interface to grr_board_view for
72 (grr_board_view_expose): Don't display target in board center
73 unless it is a 16x16 board.
75 * src/args.c (parse_opt): Added support to play without a server
76 using a board from a file given on the command-line.
77 (args_parse): Switch to long_only-style command-line parsing.
79 2003-06-19 Carl Worth <cworth@isi.edu>
81 * src/grrobot.c (grr_game_print): Centralized game message
83 (grr_game_read_notices): New formatted messages for all notice
85 (grr_game_read_notices): Fancy incremental updates for move
87 (grr_game_print): Fixed (finally) scrolling of messages.