Re: [AD] Documentation clarification

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


sorry, my last patch was backwards. here it is again with the arguments juxtaposed. tried to patch against CVS, but the docs dont exist in the CVS tree.
later--,
jon
--- allegro.txt.good	2004-02-17 21:39:23.000000000 -0500
+++ allegro.txt	2004-02-17 21:41:10.000000000 -0500
@@ -4757,8 +4757,10 @@
 defined by Allegro" for an internal description of the COLOR_MAP structure.
 
 extern COLOR_MAP *color_map;
-   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));


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/