![]() |
![]()
| ![]() |
![]()
NAMEget_rle_sprite - Creates an RLE sprite using a bitmap as source. Allegro game programming library. SYNOPSIS#include <allegro.h> RLE_SPRITE *get_rle_sprite(BITMAP *bitmap); DESCRIPTIONCreates an RLE sprite based on the specified bitmap (which must be a memory bitmap). Remember to free this RLE sprite later to avoid memory leaks. Example:
RETURN VALUEReturns a pointer to the created RLE sprite, or NULL if the RLE sprite could not be created. Remember to free this RLE sprite later to avoid memory leaks. SEE ALSOdraw_rle_sprite(3), destroy_rle_sprite(3)
|