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 tcltk/tkcmd.c tcltk/tkinit.c ...
Date: Wed, 11 Oct 2000 08:33:00 -0000	[thread overview]
Message-ID: <20001011153325.22084.qmail@sourceware.cygnus.com> (raw)

CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sourceware.cygnus.com	2000-10-11 08:33:25

Modified files:
	.              : ChangeLog 
	tcltk          : tkcmd.c tkinit.c tkmain.c tkmap.c 

Log message:
	Modify tcl/tk interface command handling to test for unit
	ownership better and to allow enemy unit selection after
	game is over, also add grid display as overlay.
	* tkcmd.c (unit_still_ok, during_game_only, require_unit,
	require_own_unit_during_game): New functions, use everywhere
	instead of macros DURING_GAME_ONLY, REQUIRE_UNIT.
	(aux_add_terrain_2, etc): Use unit_still_ok, simplify control.
	* tkmain.c: Use side->id instead of side_number() everywhere.
	(tk_run_game_idle): Don't clear enemy unit selection if at end of
	game.
	(set_current_unit): Allow selection of any unit at end of game.
	* tkinit.c (grid_matches_unseen): New global.
	(set_optional_colors): Set grid_color and unseen_color from
	GDL globals.
	* tkmap.c (draw_area_background): Always use unseen color.
	(draw_terrain_grid): New function, draws grid as lines.
	(draw_map_overhead): Call it.
	(draw_unseen_fuzz): Set foreground and fill style explicitly.
	(draw_contours): Ditto, also line width.


                 reply	other threads:[~2000-10-11  8:33 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=20001011153325.22084.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).