SRL Archive - Download S.M.A.R.T.

Embedded SMART Release 5 & Smart.scar


BenLand100

2007-09-21 22:36:12

Added a slider to the side of SMART that lets you change the frame rate. Might help some of you with slower computers.

procedure MoveMouse(x, y: Integer);
begin
SmartMoveMouse(x, y);
end;

procedure HoldMouse(x, y: Integer; left: Boolean);
begin
SmartHoldMouse(x, y, left);
end;

procedure ReleaseMouse(x, y: Integer; left: Boolean);
begin
SmartReleaseMouse(x, y, left);
end;

procedure KeyUp(key: Byte);
begin
SmartReleaseKey(key);
end;

procedure KeyDown(key: Byte);
begin
SmartHoldKey(key);
end;

procedure SendKeys(S: String);
begin
SmartSendKeys(S);
end;

procedure GetMousePos(var x, y: Integer);
begin
SmartGetMousePos(x, y);
end;

function GetColor(x, y: Integer): Integer;
begin
result:= SmartGetColor(x, y);
end;

procedure SmartSetTarget;
var
Smart_Bitmap: Integer;
begin
Smart_Bitmap:= BitmapFromString(765,503,'');
GetBitmapCanvas(Smart_Bitmap).Handle:= SmartGetDC;
SetTargetBitmap(Smart_Bitmap);
FreeBitmap(Smart_Bitmap);
end;

function FindWindow(Title: String): Boolean;
begin
result:= true;
end;

procedure ActivateClient;
begin
end;

function FindWindowBySize(Width, Height: Integer): Boolean;
begin
result:= true;
end;

The Claw

2007-09-21 23:05:42

Sweet, can run a lot better now and the inverted radial walking problem that I was getting has dissapeared. :) What else did you change?

YoHoJo

2007-09-22 01:20:23

Oh God im Wet
Lets see if they works with like VEM
Great job, and nice FPS option!

I see no slider =(
Where i do place the .dll attached again?

Wizzup?

2007-09-22 04:45:30

From: YoHoJo
Oh God im Wet
Lets see if they works with like VEM
Great job, and nice FPS option!

I see no slider =(
Where i do place the .dll attached again?


In the SCAR plugins folder. ;)

YoHoJo

2007-09-22 15:15:45

KeKeKe Thanks wizzup =)

The Claw

2007-09-22 22:15:31

im sure i responded to your PM yohojo? lol

Wizzup?

2007-09-23 02:47:41

From: YoHoJo
KeKeKe Thanks wizzup =)


Np. :)