GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CREATE_RGB_TABLE (3)

NAME

create_rgb_table - Generates an RGB mapping table with lookup data for a palette. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

void create_rgb_table(RGB_MAP *table, const PALETTE pal, void (*callback)(int pos));

DESCRIPTION

Fills the specified RGB mapping table with lookup data for the specified palette. If the callback function is not NULL, it will be called 256 times during the calculation, allowing you to display a progress indicator. Example:

   RGB_MAP rgb_table;
  
   create_rgb_table(&rgb_table, palette, NULL);
   rgb_map = &rgb_table;

SEE ALSO

rgb_map(3), ex3d(3), excolmap(3), exrgbhsv(3), exshade(3), extrans(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro CREATE_RGB_TABLE (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.