[AD] Cosmetic issues patch |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
--- Old\Allegro\docs\Allegro._tx Sat May 14 19:58:00 2005 +++ New\Allegro\docs\Allegro._tx Mon May 30 10:08:00 2005 @@ -618,7 +618,7 @@ @shortdesc Number of entries in a palette. Preprocessor constant equal to 256. -@domain.hid RGB @PALETTE[PAL_SIZE] +@@typedef @PALETTE RGB[PAL_SIZE] @xref RGB, Palette routines @eref Available Allegro examples @shortdesc Stores palette information. @@ -5335,7 +5335,7 @@ are reading a truecolor bitmap). @\int @generate_optimized_palette(BITMAP *bmp, PALETTE pal, -@@ const char rsvd[256]); +@@ const char rsvd[PAL_SIZE]); @xref generate_332_palette, set_color_depth @shortdesc Generates an optimized palette for a bitmap. Generates a 256-color palette suitable for making a reduced color version --- Old\Allegro\src\Quantize.c Fri Feb 4 01:23:42 2005 +++ New\Allegro\src\Quantize.c Mon May 30 10:08:22 2005 @@ -513,7 +513,7 @@ -int generate_optimized_palette(BITMAP *image, PALETTE pal, AL_CONST signed char rsvdcols[256]) +int generate_optimized_palette(BITMAP *image, PALETTE pal, AL_CONST signed char rsvdcols[PAL_SIZE]) { ASSERT(image); return generate_optimized_palette_ex(image, pal, rsvdcols, DEFAULT_PREC, DEFAULT_FRACTION, DEFAULT_MAXSWAPS, DEFAULT_MINDIFF);
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |