CODE:
int x1=400, y1=300, x2, y2, a=1.4, r1=0, phi=0;;
win w_KIB;
int ex_KIB, ey_KIB, sum_KIB, x_KIB, y_KIB;
int sx_KIB, sy_KIB;
start_();
m_KIB0: if(r1<23)
{
x2=x1+((a/6.28)*phi*cos(phi));
y2=y1+((a/6.28)*phi*sin(phi));
mousetransfer(-1, x1, y1, x2, y2, 10, 1);
x1=x2;
y1=y2;
r1++;
phi=phi+57.2956;
}
goto m_KIB0;
function start_()
{
pause(1000);
int x, y;
getmouse(x, y);
w_KIB=getwindow(0, x, y);
ex_KIB=w_KIB.widthclient; ey_KIB=w_KIB.heightclient;
sx_KIB=w_KIB.leftclient; sy_KIB=w_KIB.topclient;
}
win w_KIB;
int ex_KIB, ey_KIB, sum_KIB, x_KIB, y_KIB;
int sx_KIB, sy_KIB;
start_();
m_KIB0: if(r1<23)
{
x2=x1+((a/6.28)*phi*cos(phi));
y2=y1+((a/6.28)*phi*sin(phi));
mousetransfer(-1, x1, y1, x2, y2, 10, 1);
x1=x2;
y1=y2;
r1++;
phi=phi+57.2956;
}
goto m_KIB0;
function start_()
{
pause(1000);
int x, y;
getmouse(x, y);
w_KIB=getwindow(0, x, y);
ex_KIB=w_KIB.widthclient; ey_KIB=w_KIB.heightclient;
sx_KIB=w_KIB.leftclient; sy_KIB=w_KIB.topclient;
}