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

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       void generate_332_palette(PALETTE pal);
14

DESCRIPTION

16       Constructs a fake truecolor palette, using three bits for red and green
17       and  two  for  the  blue.  The load_bitmap() function fills the palette
18       parameter with this if the file does not contain a palette itself  (ie.
19       you are reading a truecolor bitmap).
20
21

SEE ALSO

23       generate_optimized_palette(3),     set_color_depth(3),     excolmap(3),
24       exrgbhsv(3), extruec(3), exupdate(3)
25
26
27
28Allegro                          version 4.4.3         generate_332_palette(3)
Impressum