![]() |
ClipSprite32 | Function* (tigcc.a) |
sprites.h |
void ClipSprite32 (short x, short y, short height, const unsigned long *sprite, void *vm_addr, short mode); |
Safely draws a sprite with a width of 32 pixels or less on the screen.
ClipSprite32 works exactly like Sprite32, but it doesn't draw out of the boundaries of a 240x128 screen,
unlike Sprite32 if given x < 0
, y < 0
, x > 208
or y > 128 - height
.
See Sprite8 for more info about sprites.