Your company here — click to reach over 10,000 unique daily visitors

generate_332_palette - Man Page

Constructs a fake truecolor palette. Allegro game programming library.


#include <allegro.h>

void generate_332_palette(PALETTE pal);


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(3), set_color_depth(3), excolmap(3), exrgbhsv(3), extruec(3), exupdate(3)

Referenced By

excolmap(3), exrgbhsv(3), extruec(3), exupdate(3), generate_optimized_palette(3), load_bitmap(3).

version 4.4.3 Allegro manual