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
color_map(3) Allegro manual color_map(3)

color_map - Global pointer to the color mapping table. Allegro game programming library.

#include <allegro.h>

extern COLOR_MAP *color_map;

Global pointer to the color mapping table. You must allocate your own COLOR_MAP either statically or dynamically and set color_map to it before using any translucent or lit drawing functions in a 256-color video mode! Example:

   color_map = malloc(sizeof(COLOR_MAP));
   if (!color_map)
      abort_on_error("Not enough memory for color map!");

create_color_table(3), create_light_table(3), create_trans_table(3), create_blender_table(3), set_trans_blender(3), draw_trans_sprite(3), draw_lit_sprite(3), draw_gouraud_sprite(3), drawing_mode(3), ex3d(3), excolmap(3), exlights(3), exshade(3), extrans(3)
version 4.4.3 Allegro

Search for    or go to Top of page |  Section 3 |  Main Index

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