Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2567) get_citizen_pixmap is bad
Home

[Freeciv-Dev] Re: (PR#2567) get_citizen_pixmap is bad

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2567) get_citizen_pixmap is bad
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 13 Dec 2002 13:10:29 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, 2002-12-13 at 13:49, Raimar Falke via RT wrote:
> 
> get_citizen_pixmap is bad because it assumes that the sprite has no
> mask. It also doesn't test this assumption.

Yes, I noticed this before.  The solution is, well, that
get_citizen_pixmap probably shouldn't be used at all.  Just call
get_citizen_sprite, then use pixmap and mask.  Alternately a new
get_citizen_mask could be introduced.

This is a GUI issue.

jason




[Prev in Thread] Current Thread [Next in Thread]