1COMPILED_SPRITE(3)              Allegro manual              COMPILED_SPRITE(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       typedef struct COMPILED_SPRITE
14

DESCRIPTION

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

SEE ALSO

27       get_compiled_sprite(3), BITMAP(3), RLE_SPRITE(3)
28
29
30
31Allegro                          version 4.2.2              COMPILED_SPRITE(3)
Impressum