home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inside Multimedia 1995 August
/
IMM0895.ISO01.iso
/
magazin
/
optix
/
disk2
/
optxfpac.set
/
ZOOM.OPT
< prev
Wrap
Text File
|
1995-04-05
|
3KB
|
102 lines
DEFS(rand$)
DEFS(dum1$)
DEFS(dum2$)
DEFS(dum3$)
DEF(i)
DEF(j)
DEF(k)
DEF(l)
DEF(X0)
DEF(Y0)
BEGIN
rand$:= '013137900530358303272347932266825250546273405746879763'
rand$:=rand$+'95766724805396778533219156345575654492946012701632260'
rand$:=rand$+'27415071025118186061451726171841742643604200043134541'
READSOUND('capumusi.snd')
READPIC('plakat.tga')
SETALLPAL
CLEARSCREEN(0)
FOR k:=0 TO 79 DO
dum1$:=rand$[k*2+1]
VAL(dum1$,i,l)
dum1$:=rand$[k*2+2]
VAL(dum1$,j,l)
FOR x0:= 0 TO 3 DO
FOR y0:= 0 TO 3 DO
VIEWPORT(i*16+x0*160,j*15+y0*120,i*16+15+x0*160,j*15+14+y0*120)
RESTOREBOX(0,0)
NEXT(y0)
NEXT(x0)
NEXT(k)
COPYWIN(0,0,XMAX,YMAX)
STARTSOUND
FOR i:=0 TO 15 DO
SETVOL(i)
WAIT(200)
NEXT(i)
CLEARSCREEN(4)
FOR k:=0 TO 29 step 4 DO
FOR j:=0 TO 14 STEP 2 DO
FOR i:=0 TO 18 STEP 2 DO
LOADSPRITE(16+i*32,15+j*30+k,16+i*32,15+j*30+k,32,4)
NEXT(i)
NEXT(j)
FOR j:=1 TO 14 STEP 2 DO
FOR i:=1 TO 18 STEP 2 DO
LOADSPRITE(16+i*32,15+j*30+k,16+i*32,15+j*30+k,32,4)
NEXT(i)
NEXT(j)
NEXT(k)
SCRTOBUF
FOR i:=400 TO 50 STEP -8 DO
VIEWPORT(45,i+80,200,i+88)
RESTOREBOX(0,0)
LOADSPRITE(45,i,45,i,100,80)
VIEWPORT(i+80,56,i+88,136)
RESTOREBOX(0,0)
LOADSPRITE(i,56,i,56,80,80)
NEXT(i)
SCRTOBUF
VIEWPORT(30,30,395,215)
CBOX(9,0,0)
VIEWPORT(25,25,385,205)
CBOX(8,132,0)
VIEWPORT(55,60,60+xmax/4,65+ymax/4)
CBOX(9,0,0)
VIEWPORT(45,50,45+xmax/4,50+ymax/4)
CBOX(8,122,0)
FOR i:=0 TO 5 DO
VIEWPORT(25-i,25-i,385+i,205+i)
PLATEAU(255,0)
VIEWPORT(45-i,50-i,45+xmax/4+i,50+ymax/4+i)
PLATEAU(255,0)
VIEWPORT(249-i,50-i,249+xmax/6+i+1,50+ymax/6+i+1)
PLATEAU(255,0)
NEXT(i)
FOR i:=29 DOWNTO 24 DO
LOADWIN(250+WINX/12-WINX/(11-(29-i))/2,50+WINY/12-WINY/(11-(29-i))/2,i,0)
NEXT(I)
SETBCOLOR(132)
PRINTC(305,153,'* ZOOM-EFFEKT *')
PRINTC(305,166,'Bitte drücken Sie')
PRINTC(305,179,'eine Maustaste!')
SCRTOBUF
CURSBOUND(0,0,XMAX-WINX/4,YMAX-WINY/4)
REPEAT
IF MOUSEK >0
X0 := MOUSEX
Y0 := MOUSEY
VIEWPORT(250+x0/6,50+y0/6,250+x0/6+WINX/6/4,50+y0/6+WINY/6/4)
RECTANGLE
LOADSPRITE(X0,Y0,45,50,(XMAX+1)/4,(YMAX+1)/4)
REPEAT
IF MOUSEY<>y0
x0:=-1
ENDIF
UNTIL MOUSEX<>x0
RESTOREBOX(0,0)
ENDIF
UNTIL MOUSEK = 3
END