.\" Generated by the Allegro makedoc utility .TH get_palette 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME get_palette \- Retrieves the entire palette of 256 colors. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void get_palette(PALETTE p); .SH DESCRIPTION Retrieves the entire palette of 256 colors. You should provide an array of 256 RGB structures to store it in. Example: .nf PALETTE pal; ... get_palette(pal); .fi .SH SEE ALSO .BR get_palette_range (3alleg4), .BR get_color (3alleg4), .BR set_palette (3alleg4)