compiled_sprite(3) - Linux man page

Name

COMPILED_SPRITE - Stores the contents of a compiled sprite. Allegro game programming library.

Synopsis

#include <allegro.h>

typedef struct COMPILED_SPRITE

Description

short planar;        - set if it's a planar (mode-X) sprite
short color_depth;   - color depth of the image
short w, h;          - size of the sprite
Compiled sprites are stored as actual machine code instructions that draw a specific image onto a bitmap, using mov instructions with immediate data values. Read chapter "Compiled sprites" for a description of the restrictions and how to obtain/use this structure.

See Also

get_compiled_sprite(3), bitmap(3), rle_sprite(3)