huh26010
2006-03-27 07:45:24
is there a function where you start at a certain point lets say another bitmap and rotate outward until you find a second bitmap
XxKanexX
2006-03-27 08:31:18
Could you explain that a bit more understandable please? I don't quite know what you mean.
weaselforce
2006-03-27 10:20:51
OOO i understand what you mean now, sorry for the sarcasm before lol
Flyboy
2006-03-27 10:27:43
1. do a normal search for a bitmap and if found set coordinates to (x, y)
2. then use:
function FindBitmapSpiral(bitmap: Integer; var x, y, x1, y1, x2, y2: Integer): Boolean; - search for the bitmap in coordinates specified by x1, y1, x2, y2 starting from x, y. bitmap contains handle to bitmap generated by LoadBitmap.
huh26010
2006-03-29 17:44:08
thanks flyboy thats wat i needed
Moloch
2006-03-30 12:24:12
From: Flyboy
1. do a normal search for a bitmap and if found set coordinates to (x, y)
2. then use:
function FindBitmapSpiral(bitmap: Integer; var x, y, x1, y1, x2, y2: Integer): Boolean; - search for the bitmap in coordinates specified by x1, y1, x2, y2 starting from x, y. bitmap contains handle to bitmap generated by LoadBitmap.
Noob Question (Sorry Kane Wasn't on I'm normally a bother to him :D Thnks Much Kane For The Help)
To Search For A Bitmap the Comman Is?
FindBitmap(bitmaphere);
?Thnks in advance
phantombmx
2006-03-30 12:33:43
findbitmapin(bitmap:integer; var x,y:integer; x1,y1,x2,y2:integer):boolean
bitmap is your bitmap, x,y is the output variables, x1-y1-x2-y2 is the box in which you wanna search in