
Originally Posted by
Smartzkid
Hey Freddy, did the script engine get updated between 3.20 and 3.15?
Of course. I hope to have fixed the bugs in all transparentbitmap functions today, then I'll release 3.20c which also has a new version of the script engine with 2 more bugs fixed.
EDIT: SCAR 3.20c has been released:
Code:
SCAR Divi 3.20c:
----------------
Bugfixes:
- BitmapMaskFromText and CreateBitmapFromText didn't recycle bitmap indexes
- Memory leak in the script editor component
- FindTransparentBitmap functions didn't work properly for transparent bitmaps
Improvements:
- The DTM system now recycles the DTM array
Additions:
- function FindTransparentBitmaps(Bitmap: Integer; var Points: TPointArray; TranspCol, xs, ys, xe, ye: Integer): Boolean;
- function FindTransparentBitmapsTolerance(Bitmap: Integer; var Points: TPointArray; TranspCol, xs, ys, xe, ye, Tol: Integer): Boolean;
- function CountTransparentBitmap(Bitmap: Integer; TranspCol, xs, ys, xe, ye: Integer): Integer;
- function CountTransparentBitmapTolerance(Bitmap: Integer; TranspCol, xs, ys, xe, ye, Tol: Integer): Integer;