.\" Generated by the Allegro makedoc utility .TH RLE_SPRITE 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME RLE_SPRITE \- Stores the contents of an RLE sprite. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B typedef struct RLE_SPRITE .SH DESCRIPTION .nf int w, h; - width and height in pixels int color_depth; - color depth of the image .fi RLE sprites store the image in a simple run-length encoded format, where repeated zero pixels are replaced by a single length count, and strings of non-zero pixels are preceded by a counter giving the length of the solid run. Read chapter "RLE sprites" for a description of the restrictions and how to obtain/use this structure. .SH SEE ALSO .BR get_rle_sprite (3alleg4), .BR BITMAP (3alleg4), .BR COMPILED_SPRITE (3alleg4)