home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1997 May
/
PowerPlay0597.bin
/
LESER
/
gti
/
DEMO10.GTI
< prev
next >
Wrap
Text File
|
1997-01-01
|
2KB
|
139 lines
dv-gti-file
#
# Demonstriert Graphikbefehle
# Befehl: setpix / line / rectangle / fillrectangle / label / gotolabel
# Start : gti demo10.gti
#
#
#
# Farbpalette laden
#
loadpal('palett_1.pal')
activedpal
#
# Setze Label für entlosen Rücksprung
#
label(0)
#
# Punkte setzen
#
point(10,10,30)
wait(20)
point(20,20,31)
wait(20)
point(30,30,32)
wait(20)
point(40,40,33)
wait(20)
point(50,50,34)
wait(20)
point(60,60,35)
wait(20)
point(70,70,36)
wait(20)
point(80,80,37)
wait(20)
point(90,90,38)
wait(20)
point(100,100,39)
wait(20)
point(110,110,38)
wait(20)
point(120,120,37)
wait(20)
point(130,130,36)
wait(20)
point(140,140,35)
wait(20)
point(150,150,34)
wait(20)
point(160,160,33)
wait(20)
point(170,170,32)
wait(20)
point(180,180,31)
wait(20)
point(190,190,30)
wait(20)
#
# Linien Zeichnen
#
line(319,0,310,199,30)
wait(20)
line(319,0,300,199,31)
wait(20)
line(319,0,290,199,32)
wait(20)
line(319,0,280,199,33)
wait(20)
line(319,0,270,199,34)
wait(20)
line(319,0,260,199,35)
wait(20)
line(319,0,250,199,36)
wait(20)
line(319,0,240,199,37)
wait(20)
line(319,0,230,199,38)
wait(20)
line(319,0,220,199,39)
wait(20)
line(319,0,210,199,40)
wait(20)
line(319,0,200,199,41)
wait(20)
#
# Rechtecke
#
rectangle(150,90,170,110,50)
wait(20)
rectangle(140,80,180,120,51)
wait(20)
rectangle(130,70,190,130,52)
wait(20)
rectangle(120,60,200,140,53)
wait(20)
rectangle(110,50,210,150,54)
wait(20)
rectangle(100,40,220,160,55)
wait(20)
rectangle(90,30,230,170,56)
wait(20)
rectangle(80,20,240,180,57)
wait(20)
rectangle(70,10,250,190,58)
wait(20)
#
# Gefüllte Rechtecke
#
fillrectangle(150,90,170,110,50)
wait(20)
fillrectangle(140,80,180,120,51)
wait(20)
fillrectangle(130,70,190,130,52)
wait(20)
fillrectangle(120,60,200,140,53)
wait(20)
fillrectangle(110,50,210,150,54)
wait(20)
fillrectangle(100,40,220,160,55)
wait(20)
fillrectangle(90,30,230,170,56)
wait(20)
fillrectangle(80,20,240,180,57)
wait(20)
fillrectangle(70,10,250,190,58)
wait(20)
#
# Lösche Bildschirm und springe zurück
#
cls(0)
gotolabel