Man Linux: Main Page and Category List

NAME

       generate_332_palette  -  Constructs  a  fake truecolor palette. Allegro
       game programming library.

SYNOPSIS

       #include <allegro.h>

       void generate_332_palette(PALETTE pal);

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).

SEE ALSO

       generate_optimized_palette(3alleg),            set_color_depth(3alleg),
       excolmap(3alleg), exrgbhsv(3alleg), extruec(3alleg), exupdate(3alleg)