home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inside Multimedia 1995 August
/
IMM0895.ISO01.iso
/
magazin
/
optix
/
disk1
/
optxppac.set
/
MOLLEFEM.OPT
< prev
next >
Wrap
Text File
|
1995-04-29
|
2KB
|
110 lines
def(i)
def(j)
procedure quattro(x,y,b,h,s)
locals(i,r)
b:=b/2
h:=h/2
for i:=0 to b-1 step s do
r:=i*(((h/b)*10)/10)
copywin(x+1 ,y+1,x+(b-1)-i,y+(h-1)-r)
loadwin(x,y,0,0)
copywin(x+b+i,y+1,x+b+i-1+(b-1)-i,y+(h-1)-r)
loadwin(x+b+1+i,y,0,0)
copywin(x+1,y+h+r,x+(b-1)-i,y+h+r-1+(h-1)-r)
loadwin(x,y+h+1+r,0,0)
copywin(x+b+i,y+h+r,x+b+i-1+(b-1)-i,y+h+r-1+(h-1)-r)
loadwin(x+b+1+i,y+h+1+r,0,0)
next(i)
return
procedure frame(xl,yo,xr,yu,col,dick)
rem *** Erzeugt einen Rahmen m. den inneren Eckkoordinaten xl,yo,xr,yu
rem *** und der Dicke 'dick'. Dabei wird bis zur halben Dicke
rem *** des Rahmens jeder Linie fortlaufend ab der Farbe 'col' die
rem *** jeweils folgende Farbe zugeordnet. Ab der halben Rahmendicke
rem *** läuft die Farbzuordnung umgekehrt. Bei geeigneter Farbpalette
rem *** kann so ein 'Rohrrahmen' erzeugt werden.
rem *** z.B.: GRADATION(240,249,12,24,15,24,48,30)
rem *** FRAME(100,100,200,200,240,20)
rem ***
rem *** nach Rückkehr ist SETCOLOR und VIEWPORT verändert.
locals(i,j)
viewport(xl,yo,xr,yu)
for i:=1 to dick/2 do
setcolor(col+i-1)
rectangle
incviewport
next(i)
if (dick/2)*2<>dick
incviewport
endif
for j:=1 to dick/2 do
setcolor(col+i-j)
rectangle
incviewport
next(j)
return
begin
setvol(11)
readsound('1234.snd')
readpal('mollefem.pal')
setallpal
gradation(246,255,0,0,0,10,63,10)
gradation(236,245,0,0,0,10,63,10)
frame(26,22,26,22,246,20)
copywin(6,2,45,41)
for i:=6 to 566 step 40 do
for j:=2 to 402 step 40 do
loadwin(i,j,0,0)
next(j)
next(i)
frame(66,62,66,62,236,20)
copywin(46,42,85,81)
for i:=46 to 526 step 40 do
for j:=42 to 362 step 40 do
loadwin(i,j,0,0)
next(j)
next(i)
quattro(46,42,160,160,3)
quattro(46,282,160,160,3)
quattro(446,42,160,160,3)
quattro(446,282,160,160,3)
for i:=0 to 54 do
gradation(236,245,0,0,0,i,13,60-i)
pause(30)
next(i)
viewport(88,48,542,412)
cbox(5,255,1)
frame(88,48,542,412,246,20)
readfont(1,'bit16x16.FNT')
font(1)
textcolor(116)
textbcolor(100)
textshadow(1,1)
writestyle(3)
printc(320,70,'Multimedia')
textbcolor(144)
printc(320,425,'zum Selbermachen...')
viewport(120,95,535,400)
cbox(9,0,0)
readfilm('mollefem.mvi')
soundloop(1)
startsound
showfilm(110,85,0,20)
end