[Freeciv-Dev] Re: (PR#8215) win32 client: draw_fog_part doesn't use a ma
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8215 >
James Canete wrote:
> There is an AlphaBlend() function in Windows GDI, but according to MSDN
> it's not supported under Windows 95. I could write a function to alpha
> blend pixel by pixel, but it'd probably be very slow. Though it'd only
> be slow when creating the fog sprites.
Seems reasonable. Can you use this function to draw fog at draw-time
without loss of speed?
> On a related note, are we going to move on to an alpha layer with
> sprites, as opposed to a mask? So we'd be able to have translucent
> areas of sprites and translucent edges, for pseudo edge antialiasing?
It is a good idea. Currently fog is done by the GUI code, so any GUI
can implement it. I don't really know how it would be done.
jason
|
|