public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
* xconq ./ChangeLog tcltk/tkcmd.c tcltk/tkinit.c ...
@ 2000-10-11  8:33 shebs
  0 siblings, 0 replies; only message in thread
From: shebs @ 2000-10-11  8:33 UTC (permalink / raw)
  To: xconq-cvs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-11  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-11  8:33 xconq ./ChangeLog tcltk/tkcmd.c tcltk/tkinit.c shebs

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).