From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: allegro datafiles Date: Thu, 23 Oct 1997 18:49:55 -0400 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 10 Message-ID: <344FD493.FB6@cam.org> References: <62m3pq$482$1 AT news DOT cybernex DOT net> NNTP-Posting-Host: dynppp-35.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ethan Giordano wrote: Why can't you use the normal datafile array? DATAFILE *data=load_datafile("name"); draw_sprite(buffer,(BITMAP*)data[THE_BITMAP].dat,X,Y); What's wrong with this? Maybe you should try casting those pointers to BITMAP* ? -- --> http://www.cam.org/~tudor <-- Go ahead and build another Messiah We dig another grave...