RLE_SPRITE(3alleg)

RLE_SPRITE3alleg

Stores the contents of an rle sprite. allegro game programming library.

Usage

#include <allegro.h>

typedef struct RLE_SPRITE

Overview

   int w, h;           - width and height in pixels
   int color_depth;    - color depth of the image

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.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.