home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
076-100
/
apd076
/
icon_conv.amos
/
icon_conv.amosSourceCode
Wrap
AMOS Source Code
|
1990-11-07
|
18KB
|
44 lines
Extension_0_0646 TO ICON CONVERTER$
Extension_0_0646 Illegal_Constant_0024 Extension_0_2053 Extension_0_6861 Extension_0_646F Extension_0_7720 Extension_0_536F Extension_0_6674 Extension_0_7761 Extension_0_7265 Extension_0_2031 Extension_0_342F Extension_0_352F Extension_0_3930 Extension_0_2077 Extension_0_7269 Extension_0_7474 Extension_0_656E Extension_0_2066 Extension_0_6F72
Extension_0_0646 DARIN/JAWX 1990 $
Extension_0_0646 ' ully Automated, Just run it, select a sprite'
Extension_0_0646 ' ank name, and then select an icon bank name '
Extension_0_0646 N DONE. :
Extension_0_0646
F$=""
While F$=""
F$= Field("*.ABK","","Pick a sprite bank")
If F$="" Then Global
If Extension_0_0570( Extension_0_052A(F$,4))<>".ABK" Then F$=""
Extension_0_2152 1
If F$<>"" Then Extension_0_1842 F$,1
A$="" : A=0 : Repeat : A$=A$+Flip$( Extension_0_21DA(Start(1)-8+A)) : Extension_0_0438 A : Until A=8
If A$<>"Sprites " Then F$=""
Wend
F$=""
While F$=""
F$= Field("*.ABK","","Save Icons as:")
If F$="" Then Global
If Extension_0_0570( Extension_0_052A(F$,4))<>".ABK" Then F$=""
Wend
Extension_0_1DC6
Extension_0_09DE 0,320,30,4,Hires : Extension_0_143A : Extension_0_0D28
Windon0,0 : Paper "Converting Bobs to Icons"
Windon0,1 : Paper "Please wait"
Extension_0_0B14
Extension_0_2152 2
N=1 : Repeat
A= Extension_0_1A66(N)
XSIZE=Peek(A)*16
YSIZE=Peek(A+2)
BP=Peek(A+4)
Extension_0_09DE 1,320,YSIZE+16,2^BP,Hires
Extension_0_143A : Extension_0_0D28
Extension_0_1BA2
Extension_0_0A84 1
Extension_0_1CF2 0,0,N
Extension_0_1CBA N,0,0 To XSIZE,YSIZE
Extension_0_0438 N : Until N>Length(1)
Extension_0_182C F$,2
Extension_0_0C62 0
Windon0,2 : Paper Extension_0_058C(Length(1))+" Icons in bank"