Query: compiled_sprite
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
COMPILED_SPRITE(3alleg4) Allegro manual COMPILED_SPRITE(3alleg4)NAMECOMPILED_SPRITE - Stores the contents of a compiled sprite. Allegro game programming library.SYNOPSIS#include <allegro.h> typedef struct COMPILED_SPRITEDESCRIPTIONshort 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 imme- diate data values. Read chapter "Compiled sprites" for a description of the restrictions and how to obtain/use this structure.SEE ALSOget_compiled_sprite(3alleg4), BITMAP(3alleg4), RLE_SPRITE(3alleg4) Allegro version 4.4.2 COMPILED_SPRITE(3alleg4)