Query: color_map
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
color_map(3alleg4) Allegro manual color_map(3alleg4)NAMEcolor_map - Global pointer to the color mapping table. Allegro game programming library.SYNOPSIS#include <allegro.h> extern COLOR_MAP *color_map;DESCRIPTIONGlobal 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!");SEE ALSOcreate_color_table(3alleg4), create_light_table(3alleg4), create_trans_table(3alleg4), create_blender_table(3alleg4), set_trans_blender(3alleg4), draw_trans_sprite(3alleg4), draw_lit_sprite(3alleg4), draw_gouraud_sprite(3alleg4), drawing_mode(3alleg4), ex3d(3alleg4), excolmap(3alleg4), exlights(3alleg4), exshade(3alleg4), extrans(3alleg4) Allegro version 4.4.2 color_map(3alleg4)
| Related Man Pages | 
|---|
| set_trans_blender(3alleg4) - debian | 
| set_trans_blender(3alleg4) - suse | 
| color_map(3alleg4) - centos | 
| color_map(3alleg4) - opendarwin | 
| color_map(3alleg4) - mojave | 
| Similar Topics in the Unix Linux Community | 
|---|
| Global Ad Posting | 
| C function call dynamically | 
| Global update on a file based on a table |