Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
generate_332_palette(3) 	 Allegro manual 	 generate_332_palette(3)

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 read-
     ing a truecolor bitmap).

SEE ALSO
     generate_optimized_palette(3),	  set_color_depth(3),	    excolmap(3),
     exrgbhsv(3), extruec(3), exupdate(3)

Allegro 			  version 4.4.3 	 generate_332_palette(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=generate_332_palette&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help