SRL Archive - SRL Archives

BitMap Functions.


Pwnd

2006-04-05 08:19:39

Nothing hard. I just thought that since we had ones for color, it wouldn't have been a bad idea to have ones for the bitmaps.

function FindBitMapMSTolRaiser(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MSX1, MSY1, MSX2, MSY2))then
Result:= True;
end;

function FindBitMapMMTolRaiser(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MMX1, MMY1, MMX2, MMY2))then
Result:= True;
end;

function FindBitMapInvTolRaiser(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MIX1, MIY1, MIX2, MIY2))then
Result:= True;
end;

function FindBitMapInv(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MIX1, MIY1, MIX2, MIY2))then
Result:= True;
end;

function FindBitMapMS(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MSX1, MSY1, MSX2, MSY2))then
Result:= True;
end;

function FindBitMapMM(Bitmap, StartTol, EndTol: integer; var x, y: integer): boolean;
begin
if(FindBitmapTolRaiser(Bitmap, x, y, StartTol, EndTol, MMX1, MMY1, MMX2, MMY2))then
Result:= True;
end;
Like I said, nothing difficult at all. I just changed the coords around, basically :\

Sdcit

2006-04-05 10:45:51

ZOmigosh! Findbitmaptolraisers FINALLY been used :D great job pwnd

Pwnd

2006-04-05 11:25:50

From: Sdcit
ZOmigosh! Findbitmaptolraisers FINALLY been used :D great job pwnd
I was going to use it earlier, but I couldn't get a proper bone bitmap that wasn't either to huge, or wasn't to much of a bitmap at all.

WhiteShadow

2006-04-05 13:21:03

Creative idea, sweet. :)

Good Job, Sir.

Home

2006-04-05 13:28:15

is that Sir some kind of new style of saying something :p but anyways Good idea


…Sir!:p

XxKanexX

2006-04-05 17:44:32

From: Sdcit
ZOmigosh! Findbitmaptolraisers FINALLY been used :D great job pwnd

That would have been my coding if you hadn't stole my idea :p.. No hard feelings. -Unravels sword-

Pwnd

2006-04-05 22:57:02

From: Home
is that Sir some kind of new style of saying something :p but anyways Good idea


…Sir!:p

I started it if anything ;P

"Sir" creds. to Pwnd.