2005-06-17 Carl Worth * .cvsignore: Ignore some generated files. * src/args.h (ARGS_HOST_DEFAULT): Revert default host to rr.nickle.org now that I know that's up and running again. 2005-06-16 Carl Worth * src/grr_icon.c (grr_icon_predraw): Fix scaling of all icons by copying the matrix from the main cairo_t to the temporary cairo_t. 2005-06-16 Carl Worth * src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to be translucent once again. 2005-06-16 Carl Worth * README: Update to refer to cairo instead of Xr. * src/args.c: (args_help), (args_usage), (args_parse): Fix command-line option parsing. Use getopt rather than argp. 2005-06-16 Carl Worth Accidentally committed a bunch of code which brings things up to date with cairo 0.5.0 and break command-line option parsing. 2004-01-09 Carl Worth * Recovered some lost changes due to a bothced cvsup commit, (yes, this is utter pain). * src/svg/wall.svg: Add round caps to walls. * src/svg/robot_red.svg: * src/svg/robot_blue.svg: * src/svg/robot_green.svg: * src/svg/robot_green.svg: Made robot colors match new targets. * src/svg/wall.svg: Made walls thicker. 2004-01-01 Keith Packard * src/svg/grr_icon_svg.h: * src/svg/target_blue_circle.svg: * src/svg/target_blue_triangle.svg: * src/svg/target_green_circle.svg: * src/svg/target_green_triangle.svg: * src/svg/target_red_circle.svg: * src/svg/target_red_triangle.svg: * src/svg/target_whirl.svg: * src/svg/target_yellow_circle.svg: * src/svg/target_yellow_triangle.svg: Import fancy new targets from Richard Worth (our hero) 2003-12-25 Keith Packard * configure.in: * ltmain.sh: * src/grr_board_view.c: * src/grr_icon.c: (_grr_icon_init), (grr_icon_draw): * src/grr_icon.h: * src/grrobot.c: Switch from xsvg to svg-cairo 2003-11-11 Carl Worth * src/grrobot.c (grr_game_read_notices): Exit cleanly: need to return control to Gtk+ so that gtk_main_quit has a chance to do its job. (grr_game_read_notices): Track changes in grr_board_view timer API. (grr_game_key_press_callback): Eliminate bid_entry text box and bid button. Instead, a bare number in the message_entry will result in a bid. (grr_game_key_press_callback): Change several keybindings to require a control modifier: C-N=Next turn, C-P=Pass, C-Z=Zap timer and C-RGBY for robot selection. Now, no keybindings should interfere with simple text messages. (grr_game_pass): "Pass" button now issues "abandon" instead of "revoke" when not in show mode. (grr_game_next): "Next Turn" button now only issues "turn" never "abandon", so there's no longer a problem when two users both hit the "Next Turn" button. * src/grr_board_view.c (grr_board_view_decrement_timer): Make the "Zap timer" feature animate the fast clock rather than just snapping. (grr_board_view_start_timer): (grr_board_view_stop_timer): (grr_board_view_set_timer): Cleaner timer API: set, start, and stop. 2003-11-10 Carl Worth * src/grrobot.c (grr_game_read_notices): Call new board_view timer functions on the appropriate state transitions. * src/grr_board_view.c (grr_board_view_expose): Add code to draw a cute alpha-blended timer which shows off the use of cairo_arc. (grr_board_view_refresh_timer): (grr_board_view_decrement_timer): (grr_board_view_start_timer): (grr_board_view_stop_timer): (grr_board_view_reset_timer): New functions for managing the timer. 2003-09-04 Carl Worth * configure.in (PKG_CHECK_MODULES): Require Cairo 0.1.1 or newer. * src/grr_icon.c (grr_icon_predraw): Track changes in Cairo 0.1.1 2003-07-11 Carl Worth * src/grrobot.c (grr_game_read_notices): Compressed move display text, ('N' instead of "NORTH", etc.) (grr_game_key_press_callback): Added keybindings for Next Turn, Pass, Zap timer, and bids [0-9]. (grr_game_start_gui): Added buttons for Bid, Pass, Zap timer, Next turn. Added a label for the current username. 2003-07-09 Carl Worth * src/grrobot.c (grr_game_read_notices): Added support for RR_NOTICE_BOARD, (cleans up ugly GAMEOVER handling), and should avoid nasty inconsistent display problems if the user issues a NEW command. (grr_game_read_notices): Tracked some librr API changes. (grr_game_key_press_callback): Added some global keybindings: RGBY to select robot, arrow to move, BackSpace to undo a move, Ctrl-Q to quit, Space to message, and '/' to enter a command. * src/grr_board_view.c (grr_board_view_set_active_robot): (grr_board_view_move_active): (grr_board_view_undo): Added an interface to grr_board_view for moving robots. (grr_board_view_expose): Don't display target in board center unless it is a 16x16 board. * src/args.c (parse_opt): Added support to play without a server using a board from a file given on the command-line. (args_parse): Switch to long_only-style command-line parsing. 2003-06-19 Carl Worth * src/grrobot.c (grr_game_print): Centralized game message printing. (grr_game_read_notices): New formatted messages for all notice types. (grr_game_read_notices): Fancy incremental updates for move messages. (grr_game_print): Fixed (finally) scrolling of messages.