Short: AnimBrush to 2 frame Icon converter Author: Mikael Berglund Uploader: Trevor Morris Type: pix/conv Architecture: m68k-amigaos ===================================================================== The supplied source is placed in the public domain APART from the following files: ab2i/sources/clib/progargs_protos.h ab2i/sources/pragmas/progargs_pragmas.h ab2i/sources/libraries/progargs.h ab2i/sources/proto/progargs.h which are copyright by Dianne Hackborn (hackbod@lucent.com, http://www.cs.orst.edu/~hackbod/amiga/). This also includes the progargs.library residing in ab2i/libs. The compiling should work without to much hassle. Makefile and source is done for the SAS/C developer package. Output from the compiler is redirected to NIL: so only the errors are shown. Instructions: First you need to get the proto files generated. This is done by entering 'smake gp' in a shell standing in the same directory as the makefile for this program. After it has completed, just enter 'smake' and an executable should be generated. With the supplied scoptions and settings you should get two warnings when compiling the executable: a01.c: Warning 317 in a01.c line 62: possibly uninitialized variable "_img" a01.c: Warning 317 in a01.c line 62: possibly uninitialized variable "_img" There is no fault that has to be corrected. The compiler can't resolve the nested loops to avoid generating these warnings and that is normal. AB2I is specifically programmed for Trevor Morris, author/artist of the MWBStuff archives, as a favor for his tremendous work on making the Amiga GUI look nicer. NOTE: If AB2I does not seem to work correct, ie making no or corrupted info files, you could try to update the anim.datatype and/or animation.datatype. The CBM ones are quite flawed and buggy. I recommend Roland Mainz' replacement found on AmiNet. I also would like to extend my thanks to Roland for explaining how the anim/animation.datatypes work. NOTE2: I make heavy use of the SAS/C GST-scheme. If you don't want to use it the necessary include files need to be added to the aheader.c file. I just can't be bothered to do it :D. Also, all a??.c files are compiled with the 'No External Data'-flag. That is why aheader.c can be included as a header file in all these files without generating multiple symbol definition conflicts. The version i used was: animation.datatype 40.7 (09/28/93) anim.datatype 1.9 (05/22/97) If you want to ask about the source you can email me: Mikael Berglund (tmb@amiga.pp.se) or visit my homepage at http://w1.631.telia.com/~u63103905