Function sspr
#include <macaw.h>void sspr(
int sx,
int sy,
int sw,
int sh,
int x,
int y,
int scale,
int flipx,
int flipy
);
Draws any rectangle of the sprite sheet, given in pixels rather than sprites.
Parameters
sxint- How far the rectangle's left edge is from the sheet's left edge, in pixels.
syint- How far the rectangle's top edge is from the sheet's top, in pixels.
swint- The rectangle's width in pixels.
shint- The rectangle's height in pixels.
xint- How far it goes from the window's left edge, in pixels.
yint- How far it goes from the window's top, in pixels.
scaleint- How big each pixel is drawn: 2 makes it twice as big. Below 1 counts as 1.
flipxint- 1 to mirror it left to right, 0 not to.
flipyint- 1 to turn it upside down, 0 not to.
In Sprites and the map, with spr, sprex, fget, fset, map, mget, mset, mapwidth, mapheight, maplayers, maplayername.