home *** CD-ROM | disk | FTP | other *** search
- Script
- Select Image,Mode,103 \ CC's Mode 103 if available
- if errcnt>0
- Select Image,Mode,21
- endif
- \Load "<Frac$PDir>.Plate27"
-
- \ Program palette. First a grey shade for the image.
- i=0;
- c=21; \ Initial colour
- dc=234/192; \ colour increment
- while i<192 \ set colours 0-191
- pal_red i,c;
- pal_green i,c;
- pal_blue i,c;
- i=i+1;
- c=c+dc;
- endwhile
- \ Colour 192 is for Interior
- pal_red 192,255; pal_green 192,31; pal_blue 192,31;
- \ Colour of background - 63 blue shades
- i=193;
- blue=127; \ initial blue
- redgreen=0; \ initial red & green
- drg=201/63; \ red/green increment
- db=128/63; \ blue increment
- while i<256
- pal_red i,redgreen;
- pal_green i,redgreen;
- pal_blue i,blue;
- i=i+1;
- redgreen=redgreen+drg;
- blue=blue+db;
- endwhile
-
- \ Draw background
- dy=0-y_osunits/128 \ Size of each colour band
- c=193
- y=y_osunits
- while c<256 \ blue sky
- colour 0,c
- plot 4,0,y
- plot 97,x_osunits,dy
- y=y+dy
- c=c+1
- endwhile
- c=64
- while y>0 \ grey ground
- colour 0,c
- plot 4,0,y
- plot 97,x_osunits,dy
- y=y+dy
- c=c-1
- endwhile
-