[Freeciv-Dev] (PR#8215) win32 client: draw_fog_part doesn't use a mask
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#8215) win32 client: draw_fog_part doesn't use a mask |
From: |
"James Canete" <use_less@xxxxxxxxxxx> |
Date: |
Wed, 24 Mar 2004 02:28:58 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8215 >
Version 2.
Changes:
-removed fog_sprite, replaced with static HBITMAPs stipple and fogmask.
This removes the bitmap creation and deletion in draw_fog_part().
-added a check for negative xsrc and ysrc in draw_fog_part(). This lets
me remove the initial blank to WHITENESS bitblt.
I actually wanted to use the new crop_sprite() to combine the old
fog_sprite with sprite_mask, but my first attempt didn't work and I
figured it's faster as is anyway.
-James Canete
win32-fixfog-2.diff
Description: Binary data
|
|