> Hi,
>
> This is my small patch to improve/fix the way the selection box is
drawn
> (it's the box that appears when you try to select multiple units at
once).
>
> My changes are:
> 1) [FIX/ADDITION] -the selection box is now filled in with a
translucent
> shade of grey, like Pumpkin Studios intended it, but it wasn't working
due
> to a bug. Can be disabled with the --noTranslucent command line
parameter
> (theoretically along with all other transparency effects, but in
practice
> it doesn't seem to affect anything else because the check for
> war_GetTranslucent() is not used anywhere else). 2) [FIX] -the
selection
> box now always pulses consistently inwards, no matter in which
orientation
> you drag it (ie. from top-left to bottom-right, from bottom-left to
> top-right, etc.) 3) [FIX] -the selection box doesn't flash/disappear
> momentarily sometimes when the mouse cursor is positioned at the very
edge
> of the screen anymore
Commited in r603.
--Dennis
the selection box looks much cooler with this change :)
I think there are other draw functions(dispCompObj in component.c etc) also
uses translucent 'pieFlag',not sure if the 'pieFlag' is the same thing as
the selection box's though.
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev