n3ss3s
2007-07-18 06:36:28
FIND BUNCH OF COLORS IIIS HERE!!!
Before the time of autocoloring(or before autocoloring reached your mind)
have you ever thought about that since the essence, ground or anything has few diff colors for example 777552773, 77237774, 73375, 7795680000 and you think could you use FindColor(x, y, 777552773..77956800000, MSX1, MSY1, MSX2, MSY2) Now that is possible.. But instead of '..' you use ',' :)
Behold… FindBunchOfColors
The code is godlike but I think the idea is good.
Before the time of autocoloring(or before autocoloring reached your mind)
have you ever thought about that since the essence, ground or anything has few diff colors for example 777552773, 77237774, 73375, 7795680000 and you think could you use FindColor(x, y, 777552773..77956800000, MSX1, MSY1, MSX2, MSY2) Now that is possible.. But instead of '..' you use ',' :)
Behold… FindBunchOfColors
function FindBunchOfColors(var Bx, By: Integer; StartColor, EndColor,
Bx1, By1, Bx2, By2: Integer):Boolean;
// * Finds any color from StartColor to EndColor *//
// By n3ss3s //
var I: Integer;
begin
for I := StartColor to EndColor do
begin
if(FindColor(Bx, By, I, Bx1, By1, Bx2, By2))then
begin
Result := True;
Break;
end;
end;
end;
The code is godlike but I think the idea is good.