From: Eric B. <ebo...@us...> - 2004-02-19 20:05:32
|
Update of /cvsroot/alleg/allegro/docs/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7562/docs/src Modified Files: Tag: allegro_4_0_branch allegro._tx Log Message: Jon Rafkind clarified a bit the use of color_map. Index: allegro._tx =================================================================== RCS file: /cvsroot/alleg/allegro/docs/src/allegro._tx,v retrieving revision 1.21.2.64 retrieving revision 1.21.2.65 diff -u -d -r1.21.2.64 -r1.21.2.65 --- allegro._tx 14 Feb 2004 13:43:04 -0000 1.21.2.64 +++ allegro._tx 19 Feb 2004 19:54:51 -0000 1.21.2.65 @@ -4579,8 +4579,10 @@ @xref create_color_table, create_light_table, create_trans_table @xref create_blender_table, set_trans_blender, draw_trans_sprite @xref draw_lit_sprite, draw_gouraud_sprite, drawing_mode - Global pointer to the color mapping table. This must be set before using - any translucent or lit drawing functions in a 256-color video mode! + 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! @\void @create_trans_table(COLOR_MAP *table, const PALETTE pal, @@ int r, g, b, void (*callback)(int pos)); |