Re: [AD] Documentation clarification

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


ok, one last time. attached is the patch for allegro._tx against the CVS version.

Eric Botcazou wrote:

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.

You need to patch docs/src/allegro._tx instead.


--- allegro._tx	2004-02-18 09:17:44.000000000 -0500
+++ allegro._tx.good	2004-02-18 09:15:54.000000000 -0500
@@ -5532,8 +5532,11 @@
 @xref create_blender_table, set_trans_blender, draw_trans_sprite
 @xref draw_lit_sprite, draw_gouraud_sprite, drawing_mode
 @eref ex3d, excolmap, exlights, exshade, extrans
-   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/