home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 61
/
af061a.adf
/
Macros
/
Form03.clssa
< prev
next >
Wrap
Text File
|
1993-07-05
|
2KB
|
65 lines
/***********************************************************************
GADGET: "AGA-DCTV" "3" AUTO TYP: "?"
$DAT >>Form03.clssa<< 04 Jul 1993 - (C) ProDAD Holger Burkarth
Test or correct an Anim
************************************************************************/
Options Results
Address clariSSA
FailAt 10
AltFail=RESULT
DO FOREVER
Anims=""
GetAnimInfo Source_A
IF RESULT~='' THEN Anims=Anims||" Source_A "
GetAnimInfo Source_B
IF RESULT~='' THEN Anims=Anims||" Source_B "
GetAnimInfo Source_C
IF RESULT~='' THEN Anims=Anims||" Source_C "
GetAnimInfo Source_D
IF RESULT~='' THEN Anims=Anims||" Source_D "
IF Anims~='' THEN DO
SelectAnim Anims "TITLE 'Choose a DCTV-Animation@to convert to AGA (A4000,A1200).' REQ"
IF RC~=0 THEN LEAVE
WAnim=RESULT
SelectAnim WAnim
GetAnimInfo
PARSE VAR RESULT . "FORMAT" format "VIEWMODE" viewmode "FRAMES" Max .
PARSE VAR format x y t
CloseAnim MASTER
IF FIND(viewmode,"HIRES")=0 | t<3 | t>4 THEN DO
BOOLRequest "'No DCTV-Anim found!''Do you still want to proceed?'"
IF RC~=0 | RESULT="NO" THEN LEAVE
END
IF FIND(viewmode,"LACE")=0 THEN DO
y=y*2
viewmode=viewmode "LACE"
END
IF y>562 THEN DO
OpenAnim MASTER "FORMAT" x 562 t "VIEWMODE" viewmode
IF RC~=0 THEN LEAVE
SelectAnim WAnim
Record AREA
IF RC~=0 THEN LEAVE
BOOLRequest "'Do you want to delete the old Anim in '"WAnim"'?'"
IF RESULT="YES" THEN CloseAnim WAnim
SelectAnim MASTER
SSAControl DDOPlayAlloc
END
ELSE Message "'Conversion is not necessary!'"
END; ELSE "Message 'No Source Anim available!''You must load a DCTV-Anim''into a Source-Register first.'"
LEAVE
END
FailAt AltFail
exit