]> git.cworth.org Git - grrobot/blob - ChangeLog
* src/grr_icon.c (grr_icon_predraw): Fix scaling of all icons by
[grrobot] / ChangeLog
1 2005-06-16  Carl Worth  <cworth@cworth.org>
2
3         * src/grr_icon.c (grr_icon_predraw): Fix scaling of all icons by
4         copying the matrix from the main cairo_t to the temporary cairo_t.
5
6 2005-06-16  Carl Worth  <cworth@cworth.org>
7
8         * src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to
9         be translucent once again.
10
11 2005-06-16  Carl Worth  <cworth@cworth.org>
12         
13         * README: Update to refer to cairo instead of Xr.
14         
15         * src/args.c: (args_help), (args_usage), (args_parse): Fix
16         command-line option parsing. Use getopt rather than argp.
17
18 2005-06-16  Carl Worth  <cworth@cworth.org>
19
20         Accidentally committed a bunch of code which brings things up to
21         date with cairo 0.5.0 and break command-line option parsing.
22
23 2004-01-09  Carl Worth  <cworth@isi.edu>
24
25         * Recovered some lost changes due to a bothced cvsup commit, (yes,
26         this is utter pain).
27
28         * src/svg/wall.svg: Add round caps to walls.
29
30         * src/svg/robot_red.svg:
31         * src/svg/robot_blue.svg:
32         * src/svg/robot_green.svg:
33         * src/svg/robot_green.svg: Made robot colors match new targets.
34
35         * src/svg/wall.svg: Made walls thicker.
36
37 2004-01-01  Keith Packard  <keithp@keithp.com>
38
39         * src/svg/grr_icon_svg.h:
40         * src/svg/target_blue_circle.svg:
41         * src/svg/target_blue_triangle.svg:
42         * src/svg/target_green_circle.svg:
43         * src/svg/target_green_triangle.svg:
44         * src/svg/target_red_circle.svg:
45         * src/svg/target_red_triangle.svg:
46         * src/svg/target_whirl.svg:
47         * src/svg/target_yellow_circle.svg:
48         * src/svg/target_yellow_triangle.svg:
49         Import fancy new targets from Richard Worth (our hero)
50
51 2003-12-25  Keith Packard  <keithp@keithp.com>
52
53         * configure.in:
54         * ltmain.sh:
55         * src/grr_board_view.c:
56         * src/grr_icon.c: (_grr_icon_init), (grr_icon_draw):
57         * src/grr_icon.h:
58         * src/grrobot.c:
59         Switch from xsvg to svg-cairo
60
61 2003-11-11  Carl Worth  <cworth@isi.edu>
62
63         * src/grrobot.c (grr_game_read_notices): Exit cleanly: need to
64         return control to Gtk+ so that gtk_main_quit has a chance to do
65         its job.
66         (grr_game_read_notices): Track changes in grr_board_view timer
67         API.
68         (grr_game_key_press_callback): Eliminate bid_entry text box and
69         bid button. Instead, a bare number in the message_entry will
70         result in a bid.
71         (grr_game_key_press_callback): Change several keybindings to
72         require a control modifier: C-N=Next turn, C-P=Pass, C-Z=Zap timer
73         and C-RGBY for robot selection. Now, no keybindings should
74         interfere with simple text messages.
75         (grr_game_pass): "Pass" button now issues "abandon" instead of
76         "revoke" when not in show mode.
77         (grr_game_next): "Next Turn" button now only issues "turn" never
78         "abandon", so there's no longer a problem when two users both hit
79         the "Next Turn" button.
80
81         * src/grr_board_view.c (grr_board_view_decrement_timer): Make the
82         "Zap timer" feature animate the fast clock rather than just
83         snapping.
84         (grr_board_view_start_timer):
85         (grr_board_view_stop_timer):
86         (grr_board_view_set_timer): Cleaner timer API: set, start, and
87         stop.
88
89 2003-11-10  Carl Worth  <cworth@isi.edu>
90
91         * src/grrobot.c (grr_game_read_notices): Call new board_view timer
92         functions on the appropriate state transitions.
93
94         * src/grr_board_view.c (grr_board_view_expose): Add code to draw a
95         cute alpha-blended timer which shows off the use of cairo_arc.
96         (grr_board_view_refresh_timer): 
97         (grr_board_view_decrement_timer): 
98         (grr_board_view_start_timer): 
99         (grr_board_view_stop_timer): 
100         (grr_board_view_reset_timer): New functions for managing the timer.
101
102 2003-09-04  Carl Worth  <cworth@isi.edu>
103
104         * configure.in (PKG_CHECK_MODULES): Require Cairo 0.1.1 or newer.
105
106         * src/grr_icon.c (grr_icon_predraw): Track changes in Cairo 0.1.1
107
108 2003-07-11  Carl Worth  <cworth@isi.edu>
109
110         * src/grrobot.c (grr_game_read_notices): Compressed move display
111         text, ('N' instead of "NORTH", etc.)
112         (grr_game_key_press_callback): Added keybindings for Next Turn,
113         Pass, Zap timer, and bids [0-9].
114         (grr_game_start_gui): Added buttons for Bid, Pass, Zap timer, Next
115         turn. Added a label for the current username.
116
117 2003-07-09  Carl Worth  <cworth@isi.edu>
118
119         * src/grrobot.c (grr_game_read_notices): Added support for
120         RR_NOTICE_BOARD, (cleans up ugly GAMEOVER handling), and should
121         avoid nasty inconsistent display problems if the user issues a NEW
122         command.
123         (grr_game_read_notices): Tracked some librr API changes.
124         (grr_game_key_press_callback): Added some global keybindings: RGBY
125         to select robot, arrow to move, BackSpace to undo a move, Ctrl-Q
126         to quit, Space to message, and '/' to enter a command.
127
128         * src/grr_board_view.c (grr_board_view_set_active_robot):
129         (grr_board_view_move_active):
130         (grr_board_view_undo): Added an interface to grr_board_view for
131         moving robots.
132         (grr_board_view_expose): Don't display target in board center
133         unless it is a 16x16 board.
134
135         * src/args.c (parse_opt): Added support to play without a server
136         using a board from a file given on the command-line.
137         (args_parse): Switch to long_only-style command-line parsing.
138
139 2003-06-19  Carl Worth  <cworth@isi.edu>
140
141         * src/grrobot.c (grr_game_print): Centralized game message
142         printing.
143         (grr_game_read_notices): New formatted messages for all notice
144         types.
145         (grr_game_read_notices): Fancy incremental updates for move
146         messages.
147         (grr_game_print): Fixed (finally) scrolling of messages.
148