pwnaz0r
2007-10-29 17:44:34
Edit until MSI Comp over XD
2007-10-29 17:44:34
2007-10-29 18:01:58
2007-10-29 18:10:34
From: Special Ed
You know this would be perfect for MSI… lol :D Although it probably wouldn't be noticed there atm because of the competition.
Good work though I'll test and see what I can for you.
2007-10-29 18:34:41
repeat
Inc(rCount);
Tol:= rCount mod 2;
if (FindColorSpiralTolerance(rx, ry, RockCol, RockX - 15, RockY - 15, RockX + 15, Rocky + 15, Tol))then
break;
until(rCount >= 30); repeat
rCount:= rCount + 1;
if(FindColorSpiralTolerance(rx, ry, RockCol, RockX - 15, RockY - 15, RockX + 15, Rocky + 15, rCount))then
Break;
until(rCount >= 15);2007-10-29 18:38:31
function Inc(Var: Integer): Integer;
asm
INC Var
end;
2007-10-29 19:31:15
2007-10-29 19:59:32
2007-10-30 02:35:16
2007-10-30 04:03:33
2007-10-30 11:15:04
From: R0b0t1
No, actually, Var:= Var + 1 is slower. I'm guessing that the Inc function is coded in assembler.
EX (This is Delphi code, it won't work in scar):
ScarScript:By Drunkenoldma [LEFT]function Inc(Var: Integer): Integer; asm INC Var end; [/LEFT]
Also, I don't really see why this would be hard for people to make :\
2007-10-30 11:25:03
2007-10-30 18:16:00
From: Wizzup?
R0b0t, Inc is slower in SCAR.
In delphi, it's the same speed.
2007-10-30 18:54:22
From: Special Ed
Huzzah! Another Victory! :D
Either way, it was really awesome Wizzup? it used space age technology and "Had a button that ordered free pizza!" I can't believe you missed it!
Naw… but it was pretty good, well coded at least.
2007-10-31 11:38:04
2007-10-31 16:24:55
2007-10-31 17:01:03
From: Sumilion
I got one which is one line long…
2007-10-31 17:34:24