public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
From: shebs@sourceware.cygnus.com
To: xconq-cvs@sourceware.cygnus.com
Subject: xconq ./ChangeLog kernel/ui.c kernel/ui.h lib/ ...
Date: Tue, 23 Jan 2001 08:25:00 -0000	[thread overview]
Message-ID: <20010123162509.20198.qmail@sourceware.cygnus.com> (raw)

CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sources.redhat.com	2001-01-23 08:25:09

Modified files:
	.              : ChangeLog 
	kernel         : ui.c ui.h 
	lib            : terrain.imf imf.dir 
	sdl            : sdlcmd.c sdlconq.h sdlimf.c sdlinit.c sdlmain.c 
	                 sdlmap.c 
Added files:
	images         : misc44x48.gif 

Log message:
	Clean up SDL declarations, add display of country borders
	and hex grid.
	* ui.c, ui.h (unit_could_attack): Move to here from sdlmain.c,
	was called could_attack.
	
	* sdlconq.h: Add many decls.
	(struct a_real_ui): New fields grids, no_grid_available,
	country_boundaries, no_country_boundary_available.
	(Map draw_grid): New field.
	* sdlcmd.c (do_fire): Remove unused arg, uncomment code.
	(do_refresh): Comment out call to update_contour_intervals.
	* sdlimf.c: Declare random_color.
	(sdl_interp_image): Eliminate special cases of subimage
	iteration.
	(sdl_copy_color_image): Move mask blackening in here, reorg,
	add some comments.
	* sdlinit.c (hexagon_w1, hexagon_w2): New globals.
	(init_other_images): Collect image families for them.
	* sdlmain.c: Make many functions static, add decls for them.
	(set_current_unit): Call update_map.
	(handle_mouse_down): Add button argument.
	(interp_key): Enable code to set mouse position when key pressed.
	(ui_update_state): Comment out.
	(interp_unix_ui_data): Comment in, remove leftover tcl calls.
	(set_show_all): Add arguments.
	(exit_xconq): Remove unused argument.
	* sdlcmd.c (do_quit, aux_quit_exit, etc): Change callers.
	* sdlmap.c: Fix up decls.
	(draw_terrain_grid, get_grid_surface, draw_country_boundary_line,
	get_country_boundary_surface, hex_face_rect): New functions.
	(open_sdl_window): Use full area for map, set smap->draw_grid.
	(draw_map_overhead): Enable grid-drawing code.
	(draw_terrain_row): Remove unused dogrid local.
	(draw_people): Enable boundary-drawing code.
	(update_at_cell, update_at_unit): Call update_map.
	
	* images/misc44x48.gif: New file, misc shapes.
	* terrain.imf, imf.dir (hexagon-w1, hexagon-w2): New images,
	borders of hexagons.


                 reply	other threads:[~2001-01-23  8:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010123162509.20198.qmail@sourceware.cygnus.com \
    --to=shebs@sourceware.cygnus.com \
    --cc=xconq-cvs@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).