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