I'd like to see two new switch for drawcopy, one to get the drawn surface 'cleared' with a specific color, and one to allow more than one copy:

/drawcopy -ihmntcxN @ [color] [color2] <x y w h> @ <x y [w h]>

-c means that we specified the [color2] color, which is first drawn to the surface, before the copy happens (clears the surface)


-x or -x0 (0 is default) means that we are copying to more than one point WITHOUT using the [w h] parameter per point:
Code:
drawcopy -x0 @source x y w h @dest x1 y1 x2 y2
is copying to two different points, x2 and y2 are not the [w h] parameter
-x1 means that we are copying to more than one point using the [w h] parameter per point:
Code:
drawcopy -x1 @source x y w h @dest x1 y1 w1 h1
is drawing one point only.

These two features would essensially help with speed processing, currently if you have a list of points you want to copy something to, you have to loop over the points, drawrect -f the surface, then drawcopy. I'm dealing with animated sprites and doing this operation for the same sprite over and over is killing the fps


#mircscripting @ irc.swiftirc.net == the best mIRC help channel