home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 August
/
Chip_1999-08_cd.bin
/
sharewar
/
imswbpro
/
_setup.1
/
defender.js
< prev
next >
Wrap
Text File
|
1999-01-14
|
12KB
|
678 lines
//<!--
//***Virtual Mechanics IMS JavaScript. Project Title: defender
Version = 105;
mW = window.screen.width;
mH = window.screen.height;
//window.style.display = "none";
mS = 1.0;
//mS = 0.64;
//if(mW > 0) mS = mW / 800;
ob = new Array();
obRef = new Array();
ob = new Array();
totObj= 14;
Molst= new Array();
obRef[1] = 1;
ob[1] = new Array();
ob[1].geo = 1;
ob[1].att = 0;
ob[1].evt = 0;
ob[1].snd = 0;
ob[1].act = 0;
ob[1].grp = 0;
ob[1].cpox =309.000000;
ob[1].cpoy =205.000000;
ob[1].cscx =1.000000;
ob[1].cscy =1.000000;
ob[1].crot =0.000000;
ob[1].val =0;
ob[1].flg =0;
obRef[2] = 2;
ob[2] = new Array();
ob[2].geo = 2;
ob[2].att = 0;
ob[2].evt = 0;
ob[2].snd = 0;
ob[2].act = 2;
ob[2].grp = 0;
ob[2].cpox =113.000000;
ob[2].cpoy =153.000000;
ob[2].cscx =1.000000;
ob[2].cscy =1.000000;
ob[2].crot =0.000000;
ob[2].val =0;
ob[2].flg =0;
obRef[3] = 3;
ob[3] = new Array();
ob[3].geo = 3;
ob[3].att = 0;
ob[3].evt = 2;
ob[3].snd = 0;
ob[3].act = 3;
ob[3].grp = 0;
ob[3].cpox =86.000000;
ob[3].cpoy =106.000000;
ob[3].cscx =1.000000;
ob[3].cscy =1.000000;
ob[3].crot =0.000000;
ob[3].val =5;
ob[3].flg =0;
obRef[4] = 4;
ob[4] = new Array();
ob[4].geo = 4;
ob[4].att = 0;
ob[4].evt = 0;
ob[4].snd = 0;
ob[4].act = 0;
ob[4].grp = 0;
ob[4].cpox =331.000000;
ob[4].cpoy =737.000000;
ob[4].cscx =0.588884;
ob[4].cscy =0.740699;
ob[4].crot =0.000000;
ob[4].val =0;
ob[4].flg =0;
obRef[5] = 5;
ob[5] = new Array();
ob[5].geo = 5;
ob[5].att = 0;
ob[5].evt = 4;
ob[5].snd = 0;
ob[5].act = 5;
ob[5].grp = 0;
ob[5].cpox =426.000000;
ob[5].cpoy =35.000000;
ob[5].cscx =1.000000;
ob[5].cscy =1.000000;
ob[5].crot =0.000000;
ob[5].val =0;
ob[5].flg =0;
obRef[6] = 6;
ob[6] = new Array();
ob[6].geo = 6;
ob[6].att = 0;
ob[6].evt = 0;
ob[6].snd = 0;
ob[6].act = 0;
ob[6].grp = 0;
ob[6].cpox =540.000000;
ob[6].cpoy =116.000000;
ob[6].cscx =1.000000;
ob[6].cscy =1.323529;
ob[6].crot =0.000000;
ob[6].val =0;
ob[6].flg =0;
obRef[7] = 7;
ob[7] = new Array();
ob[7].geo = 7;
ob[7].att = 0;
ob[7].evt = 5;
ob[7].snd = 0;
ob[7].act = 6;
ob[7].grp = 0;
ob[7].cpox =425.000000;
ob[7].cpoy =127.000000;
ob[7].cscx =1.000000;
ob[7].cscy =1.000000;
ob[7].crot =0.000000;
ob[7].val =0;
ob[7].flg =0;
obRef[8] = 8;
ob[8] = new Array();
ob[8].geo = 8;
ob[8].att = 0;
ob[8].evt = 0;
ob[8].snd = 0;
ob[8].act = 0;
ob[8].grp = 0;
ob[8].cpox =166.000000;
ob[8].cpoy =18.000000;
ob[8].cscx =0.882375;
ob[8].cscy =1.000000;
ob[8].crot =0.000000;
ob[8].val =0;
ob[8].flg =0;
obRef[9] = 9;
ob[9] = new Array();
ob[9].geo = 9;
ob[9].att = 0;
ob[9].evt = 0;
ob[9].snd = 0;
ob[9].act = 0;
ob[9].grp = 0;
ob[9].cpox =511.000000;
ob[9].cpoy =225.000000;
ob[9].cscx =1.228070;
ob[9].cscy =1.200000;
ob[9].crot =0.000000;
ob[9].val =0;
ob[9].flg =0;
obRef[10] = 10;
ob[10] = new Array();
ob[10].geo = 10;
ob[10].att = 0;
ob[10].evt = 9;
ob[10].snd = 0;
ob[10].act = 0;
ob[10].grp = 0;
ob[10].cpox =583.000000;
ob[10].cpoy =226.000000;
ob[10].cscx =1.138748;
ob[10].cscy =1.165543;
ob[10].crot =0.000000;
ob[10].val =0;
ob[10].flg =0;
obRef[11] = 11;
ob[11] = new Array();
ob[11].geo = 11;
ob[11].att = 0;
ob[11].evt = 0;
ob[11].snd = 0;
ob[11].act = 0;
ob[11].grp = 0;
ob[11].cpox =78.000000;
ob[11].cpoy =226.000000;
ob[11].cscx =1.072266;
ob[11].cscy =1.160000;
ob[11].crot =0.000000;
ob[11].val =0;
ob[11].flg =0;
obRef[12] = 12;
ob[12] = new Array();
ob[12].geo = 12;
ob[12].att = 0;
ob[12].evt = 8;
ob[12].snd = 0;
ob[12].act = 0;
ob[12].grp = 0;
ob[12].cpox =178.000000;
ob[12].cpoy =226.000000;
ob[12].cscx =0.982906;
ob[12].cscy =1.120000;
ob[12].crot =0.000000;
ob[12].val =5;
ob[12].flg =0;
obRef[13] = 13;
ob[13] = new Array();
ob[13].geo = 13;
ob[13].att = 0;
ob[13].evt = 6;
ob[13].snd = 0;
ob[13].act = 0;
ob[13].grp = 0;
ob[13].cpox =298.000000;
ob[13].cpoy =147.000000;
ob[13].cscx =1.092581;
ob[13].cscy =1.280000;
ob[13].crot =0.000000;
ob[13].val =0;
ob[13].flg =32;
obRef[14] = 14;
ob[14] = new Array();
ob[14].geo = 14;
ob[14].att = 0;
ob[14].evt = 6;
ob[14].snd = 0;
ob[14].act = 0;
ob[14].grp = 0;
ob[14].cpox =309.000000;
ob[14].cpoy =116.000000;
ob[14].cscx =1.202721;
ob[14].cscy =1.400000;
ob[14].crot =0.000000;
ob[14].val =0;
ob[14].flg =32;
var MoLNo = 0;
totPath = 14;
Gspt[1]=new Image();
Gspt[1].src="../clipart/horiyell.gif";
Gtyp[1] = 1;
Gszx[1]=mS*283;
Gszy[1]=mS*9;
Gorx[1]=mS*0;
Gory[1]=mS*0;
Gpxl[1] = new Array();
Gpyl[1] = new Array();
Gnpt[1] = 2;
Gpxl[1][0]=mS*-283;
Gpyl[1][0]=mS*-9;
Gpxl[1][1]=mS*283;
Gpyl[1][1]=mS*9;
Gspt[2]=new Image();
Gspt[2].src="../clipart/f14.gif";
Gtyp[2] = 1;
Gszx[2]=mS*80;
Gszy[2]=mS*26;
Gorx[2]=mS*0;
Gory[2]=mS*0;
Gpxl[2] = new Array();
Gpyl[2] = new Array();
Gnpt[2] = 2;
Gpxl[2][0]=mS*-80;
Gpyl[2][0]=mS*-26;
Gpxl[2][1]=mS*80;
Gpyl[2][1]=mS*26;
Gspt[3]=new Image();
Gspt[3].src="../clipart/missileh.gif";
Gtyp[3] = 1;
Gszx[3]=mS*40;
Gszy[3]=mS*9;
Gorx[3]=mS*0;
Gory[3]=mS*0;
Gpxl[3] = new Array();
Gpyl[3] = new Array();
Gnpt[3] = 2;
Gpxl[3][0]=mS*-40;
Gpyl[3][0]=mS*-9;
Gpxl[3][1]=mS*40;
Gpyl[3][1]=mS*9;
Gtyp[4] = 1;
Gszx[4]=mS*500;
Gszy[4]=mS*644;
Gorx[4]=mS*0;
Gory[4]=mS*0;
Gpxl[4] = new Array();
Gpyl[4] = new Array();
Gnpt[4] = 2;
Gpxl[4][0]=mS*-500;
Gpyl[4][0]=mS*-644;
Gpxl[4][1]=mS*500;
Gpyl[4][1]=mS*644;
Gspt[5]=new Image();
Gspt[5].src="../ClipArt/Ufo.gif";
Gtyp[5] = 1;
Gszx[5]=mS*40;
Gszy[5]=mS*30;
Gorx[5]=mS*0;
Gory[5]=mS*0;
Gpxl[5] = new Array();
Gpyl[5] = new Array();
Gnpt[5] = 2;
Gpxl[5][0]=mS*-40;
Gpyl[5][0]=mS*-30;
Gpxl[5][1]=mS*40;
Gpyl[5][1]=mS*30;
Gtyp[6] = 2;
Gszx[6]=mS*50;
Gszy[6]=mS*50;
Gorx[6]=mS*0;
Gory[6]=mS*0;
Gpxl[6] = new Array();
Gpyl[6] = new Array();
Gnpt[6] = 2;
Gpxl[6][0]=mS*-50;
Gpyl[6][0]=mS*-50;
Gpxl[6][1]=mS*100;
Gpyl[6][1]=mS*100;
Gspt[7]=new Image();
Gspt[7].src="../ClipArt/firea.gif";
Gtyp[7] = 1;
Gszx[7]=mS*35;
Gszy[7]=mS*50;
Gorx[7]=mS*0;
Gory[7]=mS*0;
Gpxl[7] = new Array();
Gpyl[7] = new Array();
Gnpt[7] = 2;
Gpxl[7][0]=mS*-35;
Gpyl[7][0]=mS*-50;
Gpxl[7][1]=mS*35;
Gpyl[7][1]=mS*50;
Gtyp[8] = 1;
Gszx[8]=mS*161;
Gszy[8]=mS*12;
Gorx[8]=mS*0;
Gory[8]=mS*0;
Gpxl[8] = new Array();
Gpyl[8] = new Array();
Gnpt[8] = 2;
Gpxl[8][0]=mS*-161;
Gpyl[8][0]=mS*-12;
Gpxl[8][1]=mS*161;
Gpyl[8][1]=mS*12;
Gtyp[9] = 1;
Gszx[9]=mS*28;
Gszy[9]=mS*12;
Gorx[9]=mS*0;
Gory[9]=mS*0;
Gpxl[9] = new Array();
Gpyl[9] = new Array();
Gnpt[9] = 2;
Gpxl[9][0]=mS*-28;
Gpyl[9][0]=mS*-12;
Gpxl[9][1]=mS*28;
Gpyl[9][1]=mS*12;
Gtyp[10] = 33;
Gszx[10]=mS*35;
Gszy[10]=mS*12;
Gorx[10]=mS*0;
Gory[10]=mS*0;
Gpxl[10] = new Array();
Gpyl[10] = new Array();
Gnpt[10] = 2;
Gpxl[10][0]=mS*-35;
Gpyl[10][0]=mS*-12;
Gpxl[10][1]=mS*35;
Gpyl[10][1]=mS*12;
Gtyp[11] = 1;
Gszx[11]=mS*40;
Gszy[11]=mS*12;
Gorx[11]=mS*0;
Gory[11]=mS*0;
Gpxl[11] = new Array();
Gpyl[11] = new Array();
Gnpt[11] = 2;
Gpxl[11][0]=mS*-40;
Gpyl[11][0]=mS*-12;
Gpxl[11][1]=mS*40;
Gpyl[11][1]=mS*12;
Gtyp[12] = 33;
Gszx[12]=mS*62;
Gszy[12]=mS*12;
Gorx[12]=mS*0;
Gory[12]=mS*0;
Gpxl[12] = new Array();
Gpyl[12] = new Array();
Gnpt[12] = 2;
Gpxl[12][0]=mS*-62;
Gpyl[12][0]=mS*-12;
Gpxl[12][1]=mS*62;
Gpyl[12][1]=mS*12;
Gtyp[13] = 1;
Gszx[13]=mS*51;
Gszy[13]=mS*12;
Gorx[13]=mS*0;
Gory[13]=mS*0;
Gpxl[13] = new Array();
Gpyl[13] = new Array();
Gnpt[13] = 2;
Gpxl[13][0]=mS*-51;
Gpyl[13][0]=mS*-12;
Gpxl[13][1]=mS*51;
Gpyl[13][1]=mS*12;
Gtyp[14] = 1;
Gszx[14]=mS*56;
Gszy[14]=mS*12;
Gorx[14]=mS*0;
Gory[14]=mS*0;
Gpxl[14] = new Array();
Gpyl[14] = new Array();
Gnpt[14] = 2;
Gpxl[14][0]=mS*-56;
Gpyl[14][0]=mS*-12;
Gpxl[14][1]=mS*56;
Gpyl[14][1]=mS*12;
totAtr = 0;
totEvt = 9;
AEvent[1]=0;
ATime[1]=0;
AValue[1]=0;
DEvent[1]=0;
DTime[1]=0;
DValue[1]=0;
WAEvent[1]=30;
WDEvent[1]=-1073741794;
WASOp[1]=0;
WAGOp[1]=0;
OpForm[1]=0;
WAForm[1]=0;
WACatt[1]=0;
WACgeo[1]=0;
WACact[1]=0;
WACsnd[1]=77;
WACevt[1]=0;
WACobj[1]=0;
WALink[1]=" ";
AEvent[2]=1073750080;
ATime[2]=0;
AValue[2]=0;
AKey[2]="m";
IKey[2]=109;
DEvent[2]=0;
DTime[2]=0;
DValue[2]=0;
WAEvent[2]=-1068359156;
WDEvent[2]=12;
WASVal[2]=12;
WASOp[2]=0;
WAGOp[2]=0;
OpForm[2]=2;
WAForm[2]=1;
WACatt[2]=0;
WACgeo[2]=0;
WACact[2]=4;
WACsnd[2]=77;
WACevt[2]=3;
WACobj[2]=0;
WALink[2]=" ";
AEvent[3]=32768;
ATime[3]=0;
AValue[3]=0;
DEvent[3]=0;
DTime[3]=0;
DValue[3]=0;
WAEvent[3]=-1068367842;
WDEvent[3]=-1073741812;
WASOp[3]=0;
WAGOp[3]=0;
OpForm[3]=0;
WAForm[3]=0;
WACatt[3]=0;
WACgeo[3]=0;
WACact[3]=3;
WACsnd[3]=77;
WACevt[3]=2;
WACobj[3]=0;
WALink[3]=" ";
AEvent[4]=128;
ATime[4]=0;
AValue[4]=0;
AEnter[4]=3;
DEvent[4]=1;
DTime[4]=30;
DValue[4]=0;
WAEvent[4]=8740;
WDEvent[4]=1073741964;
WAAObj[4]=7;
WASVal[4]=10;
WASOp[4]=0;
WAGOp[4]=0;
OpForm[4]=1;
WAForm[4]=5;
WACatt[4]=0;
WACgeo[4]=0;
WACact[4]=0;
WACsnd[4]=77;
WACevt[4]=0;
WACobj[4]=0;
WALink[4]=" ";
WDDObj[4]=7;
AEvent[5]=0;
ATime[5]=0;
AValue[5]=0;
DEvent[5]=0;
DTime[5]=0;
DValue[5]=0;
WAEvent[5]=30;
WDEvent[5]=-1073741820;
WASOp[5]=0;
WAGOp[5]=0;
OpForm[5]=0;
WAForm[5]=0;
WACatt[5]=0;
WACgeo[5]=0;
WACact[5]=0;
WACsnd[5]=77;
WACevt[5]=0;
WACobj[5]=0;
WALink[5]=" ";
AEvent[6]=0;
ATime[6]=0;
AValue[6]=0;
DEvent[6]=0;
DTime[6]=0;
DValue[6]=0;
WAEvent[6]=30;
WDEvent[6]=-1073741824;
WASOp[6]=0;
WAGOp[6]=0;
OpForm[6]=0;
WAForm[6]=0;
WACatt[6]=0;
WACgeo[6]=0;
WACact[6]=0;
WACsnd[6]=77;
WACevt[6]=0;
WACobj[6]=0;
WALink[6]=" ";
AEvent[7]=12288;
ATime[7]=0;
AValue[7]=15;
DEvent[7]=0;
DTime[7]=0;
DValue[7]=0;
WAEvent[7]=30;
WDEvent[7]=-1073741794;
WASOp[7]=0;
WAGOp[7]=0;
OpForm[7]=0;
WAForm[7]=0;
WACatt[7]=0;
WACgeo[7]=0;
WACact[7]=0;
WACsnd[7]=77;
WACevt[7]=0;
WACobj[7]=0;
WALink[7]=" ";
AEvent[8]=2048;
ATime[8]=0;
AValue[8]=0;
DEvent[8]=0;
DTime[8]=0;
DValue[8]=0;
WAEvent[8]=62;
WDEvent[8]=-1073741794;
WAAObj[8]=13;
WASOp[8]=0;
WAGOp[8]=0;
OpForm[8]=0;
WAForm[8]=0;
WACatt[8]=0;
WACgeo[8]=0;
WACact[8]=0;
WACsnd[8]=77;
WACevt[8]=0;
WACobj[8]=0;
WALink[8]=" ";
AEvent[9]=12288;
ATime[9]=0;
AValue[9]=15;
DEvent[9]=0;
DTime[9]=0;
DValue[9]=0;
WAEvent[9]=8748;
WDEvent[9]=-1073741812;
WAAObj[9]=14;
WASVal[9]=12;
WASOp[9]=0;
WAGOp[9]=0;
OpForm[9]=0;
WAForm[9]=1000;
WACatt[9]=0;
WACgeo[9]=0;
WACact[9]=0;
WACsnd[9]=77;
WACevt[9]=0;
WACobj[9]=0;
WALink[9]=" ";
totSnd = 0;
totAct = 6;
MType[1]=16777216;
MPath[1]=0;
MPLen[1]=100;
MRate[1]=10;
MDelay[1]=0;
MRepeat[1]=1;
MCount[1]=1;
MGWst[1]=0;
MGNth[1]=0;
MGEst[1]=0;
MGSth[1]=0;
MType[2]=16781312;
MPath[2]=0;
MPLen[2]=100;
MRate[2]=10;
MDelay[2]=0;
MRepeat[2]=-1;
MCount[2]=-1;
MGWst[2]=0;
MGNth[2]=0;
MGEst[2]=0;
MGSth[2]=0;
MType[3]=16777730;
MPath[3]=2;
MPLen[3]=100;
MRate[3]=10;
MDelay[3]=0;
MRepeat[3]=-1;
MCount[3]=-1;
MGWst[3]=0;
MGNth[3]=0;
MGEst[3]=0;
MGSth[3]=0;
MType[4]=16777224;
MPath[4]=0;
MPLen[4]=100;
MRate[4]=20;
MDelay[4]=0;
MRepeat[4]=1;
MCount[4]=1;
MGWst[4]=0;
MGNth[4]=0;
MGEst[4]=0;
MGSth[4]=0;
MType[5]=16777473;
MPath[5]=6;
MPLen[5]=100;
MRate[5]=10;
MDelay[5]=0;
MRepeat[5]=-1;
MCount[5]=-1;
MGWst[5]=0;
MGNth[5]=0;
MGEst[5]=0;
MGSth[5]=0;
MType[6]=16777730;
MPath[6]=5;
MPLen[6]=100;
MRate[6]=10;
MDelay[6]=0;
MRepeat[6]=-1;
MCount[6]=-1;
MGWst[6]=0;
MGNth[6]=0;
MGEst[6]=0;
MGSth[6]=0;
//-->