generate_332_palette3alleg
Constructs a fake truecolor palette. allegro game programming library.
Usage
#include <allegro.h>
void generate_332_palette(PALETTE pal);
Overview
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).
Releases
4 releases since Debian 3.1 (Sarge); the text changed 2 times.