Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!cbmvax!carolyn From: carolyn@cbmvax.commodore.com (Carolyn Scheppner - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: Need help w/screen blanking & IFF pics Message-ID: <22263@cbmvax.commodore.com> Date: 8 Jun 91 00:17:14 GMT References: <1991Jun4.184733.21957@merrimack.edu> Reply-To: carolyn@cbmvax.commodore.com (Carolyn Scheppner - CATS) Organization: Commodore, West Chester, PA Lines: 30 In article undrground!ryan@amix.commodore.com (Ryan Sheftel) writes: >greenwoode@merrimack.edu (Ed Greenwood) writes: > >> >> I currently have two problems to solve. First, how do you load in and >> display an IFF picture using C? Also, is there a way to "blank" a screen >> in C? The program I am writing takes a few seconds to draw everything on >> the screen, and I would like to hide this from the user. Any suggestions >> or comments would be greatly appreciated. The EA_IFF Fish Disk (185) contains the original EA C code modules for loading ILBM's. There are a number of modules you must link with. I am currently finishing up new modules which use iffparse.library, and are 1.3 compatible but take advantage of 2.0. Or you could use a public domain iff library as suggested. For blanking a screen, if it is not HAM or HALFBRITE you can just LoadRGB4() an all-one-color colortable. Or open the screen with the SCREENBEHIND flag set, and do ScreenToFront(screen) when you are done loading/drawing. -- ========================================================================== Carolyn Scheppner -- Tech. Mgr. CATS - Commodore Amiga Technical Support PHONE 215-431-9180 {uunet,rutgers}!cbmvax!carolyn carolyn@commodore.com Programmers do it a little bit better. ==========================================================================