logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

RLE_SPRITE - Stores the contents of an RLE sprite. Allegro game programming library.

Description

          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.

Name

       RLE_SPRITE - Stores the contents of an RLE sprite. Allegro game programming library.

See Also

get_rle_sprite(3alleg4), BITMAP(3alleg4), COMPILED_SPRITE(3alleg4)

Allegro                                           version 4.4.3                              RLE_SPRITE(3alleg4)

Synopsis

#include<allegro.h>typedefstructRLE_SPRITE

See Also