DOKK / manpages / debian 11 / allegro4-doc / COLOR_MAP.3alleg4.en
COLOR_MAP(3alleg4) Allegro manual COLOR_MAP(3alleg4)

COLOR_MAP - Stores a color map to accelerate drawing. Allegro game programming library.

#include <allegro.h>

typedef struct COLOR_MAP


unsigned char data[PAL_SIZE][PAL_SIZE];

Read chapter "Transparency and patterned drawing", section "256-color transparency" for a description on how to obtain/use this structure.

color_map(3alleg4), ex3d(3alleg4), excolmap(3alleg4), exlights(3alleg4), exshade(3alleg4), extrans(3alleg4)

version 4.4.3 Allegro