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