generate_332_palette(3alleg4) php man page | unix.com

Man Page: generate_332_palette

Operating Environment: php

Section: 3alleg4

generate_332_palette(3alleg4)					  Allegro manual				     generate_332_palette(3alleg4)

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(3alleg4), set_color_depth(3alleg4), excolmap(3alleg4), exrgbhsv(3alleg4), extruec(3alleg4), exupdate(3alleg4) Allegro version 4.4.2 generate_332_palette(3alleg4)
Related Man Pages
extruec(3alleg4) - debian
generate_optimized_palette(3alleg4) - debian
extruec(3alleg4) - centos
generate_optimized_palette(3alleg4) - opendarwin
extruec(3alleg4) - osx
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch