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 lib/imf.dir kernel/gvar.def  ...
Date: Fri, 19 Jan 2001 10:06:00 -0000	[thread overview]
Message-ID: <20010119180621.3919.qmail@sourceware.cygnus.com> (raw)

CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sources.redhat.com	2001-01-19 10:06:21

Modified files:
	.              : ChangeLog 
	lib            : imf.dir 
	kernel         : gvar.def 
	sdl            : sdlcmd.c sdlconq.h sdlimf.c sdlinit.c sdlmain.c 
	                 sdlmap.c 
Added files:
	images         : cursors.gif 
	lib            : cursors.imf 
Removed files:
	images         : cursor.bmp 

Log message:
	Add support for multiple cursors specified by GDL, also some
	general simplification and cleanup for commands.  (Much of the
	code is adapted from the tcltk interface.)
	
	* gvar.def (attack-cursor, generic-cursor, survey-cursor): New
	globals.
	
	* sdlconq.h (enum mapmode): Add no_mode value.
	(Cursor): New structure.
	(UI cursors): New field.
	(Map cursor): New field.
	(Map modalhandler): Remove useless side argument.
	(curs): Remove, no longer used.
	* sdlinit.c (init_display): Add cursor setup, report of
	missing images.
	(get_cursor): New function, creates a cursor from image name.
	(init_other_images): Improve image desc for blasts and transitions.
	(sdl_describe_image): Implement.
	(report_missing_images): New function.
	* sdlmain.c (default_cursor_name, generic_cursor, use_cursors):
	New globals.
	(initial_ui_init): Use get_cursor to set up generic cursor,
	set up imf_interp_hook earlier.
	(handle_event): Use add_update and update_mouseover_x.
	(interp_key): Add modal handler and prefix code from tcltk version.
	(update_mouseover_x): New function, handle cursor change.
	(could_attack): New function.
	(update_mouseover): New function.
	(ask_unit_type, grok_unit_type, help_unit_type, etc): Make all
	these work by printing the prompts to stdout for now, remove
	useless side argument.
	(set_tool_cursor): Implement.
	* sdlmap.c (open_sdl_window): Set initial values for map mode,
	etc.
	(redraw_map): Use add_update.
	(update_map): Use map->cursor instead of global, account for
	cursor hotspot position.
	(draw_random_color_rect): Remove, change callers to use
	draw_rect with random_color.
	(add_update): Detect overflow of update buffer and redraw.
	* sdlcmd.c: Remove useless side argument from all modal
	handlers, use dside where necessary instead, also change
	calls to ask_ and grok_ functions.
	* sdlimf.c (sdl_load_imf): Remove, not needed.
	(sdl_interp_image_1): Remove unused local namebuf.
	(sdl_copy_color_image): Declare static void, remove unused local.
	
	* lib/cursors.imf: New file, cursor image families.
	* images/cursors.gif: New file, cursor images.
	* images/cursor.bmp: Remove, no longer needed.
	* imf.dir: Record them.


                 reply	other threads:[~2001-01-19 10:06 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=20010119180621.3919.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).