DOKK / manpages / debian 12 / allegro4-doc / draw_rle_sprite.3alleg4.en
draw_rle_sprite(3alleg4) Allegro manual draw_rle_sprite(3alleg4)

draw_rle_sprite - Draws an RLE sprite. Allegro game programming library.

#include <allegro.h>

void draw_rle_sprite(BITMAP *bmp, const RLE_SPRITE *sprite, int x, int y);

Draws an RLE sprite onto a bitmap at the specified position. Example:


RLE_SPRITE *rle_sprite;
...
draw_rle_sprite(screen, rle_sprite, 100, 100);

get_rle_sprite(3alleg4), draw_sprite(3alleg4), draw_compiled_sprite(3alleg4), draw_trans_rle_sprite(3alleg4), draw_lit_rle_sprite(3alleg4), bitmap_mask_color(3alleg4)

version 4.4.3 Allegro