generate_332_palette - Constructs a fake truecolor palette. Allegro game programming library.
Contents
Description
Constructs a fake truecolor palette, using three bits for red and green and two for the blue. The
load_bitmap() function fills the palette parameter with this if the file does not contain a palette
itself (ie. you are reading a truecolor bitmap).
Name
generate_332_palette - Constructs a fake truecolor palette. Allegro game programming library.
See Also
generate_optimized_palette(3alleg4), set_color_depth(3alleg4), excolmap(3alleg4), exrgbhsv(3alleg4), extruec(3alleg4), exupdate(3alleg4) Allegro version 4.4.3 generate_332_palette(3alleg4)
Synopsis
#include<allegro.h>voidgenerate_332_palette(PALETTEpal);
