Bitmaps

The Bitmap include contains Bitmap of most common objects.

srl_GetBitmap

function srl_GetBitmap(ID: Integer): Integer;

Returns the bitmap identified by ID.

Note

Author: SRL Community Last Modified: Unknown

Example:

FindBitmap(srl_GetBitmap(bmp_Ore_Iron), x, y)

srl_LoadBitmaps

procedure srl_LoadBitmaps(IDs: TIntegerArray);

Preloads bitmaps identified by ID in the srl bitmaparray.

Note

Author: Nielsie95 Last Modified: Unknown

Example:

srl_LoadBitmaps(bmpArray);

srl_LoadBitmapRange

procedure srl_LoadBitmapRange(StartID, EndID: Integer);

Preloads bitmaps identified by ID in range StartID to EndID

Note

Author: Nielsie95 Last Modified: Unknown

Example:

srl_LoadBitmapRange(bmp_Uncut_Emerald, bmp_Uncut_Diamond);

srl_FreeBitmapEx

procedure srl_FreeBitmapEx(which: integer);

Frees SRL bitmap which

Note

Author: Rasta Magician Last Modified: Unknown

Example:

srl_FreeBitmapEx(bmp_Uncut_Emerald);

srl_FreeBitmapArray

procedure srl_FreeBitmapArray(bmpArr: TIntegerArray);

Frees an array of assigned SRL bitmaps determined by bmpArr.

Note

Author: EvilChicken! Last Modified: Unknown

Example:

srl_FreeBitmapArray([bmp_Uncut_Emerald, bmp_Uncut_Ruby]);

srl_FreeBitmaps

procedure srl_FreeBitmaps;

Frees all SRL bitmaps

Note

Author: Nielsie95, edited by Rasta Magician Last Modified: Unknown

Example:

srl_FreeBitmaps;

srl_FreeBitmapRange

procedure srl_FreeBitmapRange(StartID, EndID: Integer);

Frees all SRL bitmaps with IDs ranging from StartID to EndID.

Note

Author: EvilChicken! Last Modified: Unknown

Example:

srl_FreeBitmapRange(bmp_Uncut_Emerald, bmp_Uncut_Diamond);