Re: [AD] The docs need to be updated. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Tue, 26 Jun 2001, Michael G. wrote:
> I noticed that the "RLE Bitmaps" section of the Allegro.doc needs to be
> updated. It says that you can select a RLE sprint in the Grabber by
> selecting a radio button. That's not true anymore.
Here's a possible patch:
Index: allegro._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/allegro._tx,v
retrieving revision 1.101
diff -u -r1.101 allegro._tx
--- allegro._tx 2001/06/26 13:30:30 1.101
+++ allegro._tx 2001/06/27 21:06:51
@@ -3574,7 +3574,7 @@
to blast them onto a bitmap with the draw_rle_sprite() function, which is
equivalent to using draw_sprite() with a regular bitmap. You can convert
bitmaps into RLE sprites at runtime, or you can create RLE sprite structures
-in grabber datafiles by making a bitmap object and checking the 'RLE' button.
+in grabber datafiles by making a new object of type 'RLE sprite'.
@@RLE_SPRITE *@get_rle_sprite(BITMAP *bitmap);
@xref draw_rle_sprite, destroy_rle_sprite
@@ -3627,8 +3627,7 @@
you try to draw one off the edge of a bitmap, you will corrupt memory and
probably crash the system. You can convert bitmaps into compiled sprites at
runtime, or you can create compiled sprite structures in grabber datafiles
-by making a bitmap object and checking the 'Linear Compiled' or 'Mode-X
-Compiled' buttons.
+by making a new object of type 'Compiled sprite' or 'Compiled x-sprite'.
@@COMPILED_SPRITE *@get_compiled_sprite(BITMAP *bitmap, int planar);
@xref draw_compiled_sprite, destroy_compiled_sprite
--
Grzegorz Adam Hankiewicz gradha@xxxxxxxxxx http://gradha.infierno.org