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 sdl/sdlcmd.c sdl/sdlconq.h s ...
Date: Fri, 16 Mar 2001 05:16:00 -0000	[thread overview]
Message-ID: <20010316131638.31638.qmail@sourceware.cygnus.com> (raw)

CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sources.redhat.com	2001-03-16 05:16:37

Modified files:
	.              : ChangeLog 
	sdl            : sdlcmd.c sdlconq.h sdlmain.c sdlmap.c 
	                 sdlscreen.c 

Log message:
	Add display of world map as minimap in bottom panel.
	* sdlconq.h (Screen minimap): New field.
	(Screen number, terrain_patterns): Remove, never used.
	(Map sx, sy, is_world): New fields.
	* sdlmain.c (default_draw_terrain_patterns): Remove, never used.
	(point_in_map): New function.
	(autoscroll): Add explicit map and minimap handling, remove
	"vp" and "which" args.
	(ui_mainloop, update_mouseover_x): Update autoscroll call.
	(set_current_unit): Call update_unit_info instead of draw_unit_info.
	(update_mouseover_x): Use point_in_map.
	(s_nearest_cell): Adjust for map position.
	(update_unit_display): Call draw_unit_info instead of
	update_unit_info.
	* sdlscreen.c (open_screen): Call create_map to create maps,
	add creation of minimap.
	(set_panel_position): New function.
	(set_panel_sizes): Call it, adjust panels according to type.
	(add_update): Do clipping into args.
	(draw_unit_info): Make this do the drawing of unit info
	strings only, improve string position calcs.
	(update_unit_info): New function.
	(draw_world_map): Fill it in.
	(draw_line): New function, only does horizontal and vertical
	right now.
	* sdlmap.c (create_map): New function.
	(draw_map_outline): New function.
	(draw_map): Call it.
	(xform): Adjust for map position.
	
	* sdlmain.c (set_tool_cursor): Remove "which" arg, simplify.
	* sdlmain.c (autoscroll, handle_event): Update call.
	* sdlcmd.c (do_survey, do_design): Ditto.
	* sdlconq.h: Update decl.


             reply	other threads:[~2001-03-16  5:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-16  5:16 shebs [this message]
2001-03-26  9:14 shebs

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