From: James W Sager Iii Newsgroups: comp.os.msdos.djgpp Subject: Allegro: DATAFILES Date: Fri, 20 Mar 1998 18:05:22 -0500 Organization: Junior, MCS Undeclared, Carnegie Mellon, Pittsburgh, PA Lines: 8 Message-ID: NNTP-Posting-Host: po9.andrew.cmu.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I am just curious. In the notes I have about Allegro, it states DATAFILES load into memory. Is there some way to have them act similarly to regular files, and only load specific items into memory as needed? Or do they already act that way? I'm confused. I will have hundreds of bitmaps in my datafile, but I don't want many in memory at once... les, and I need them if I'm going to 'create_bitmap', then blit the information from the .dat file into it. I was wondering if there is a Create_duplicate_bitmap command in Allegro that creates a new bitmap that is an exact copy of another? Or how I could access the x&y sizes of a bitmap stored in a .dat file so I could create a Create_duplicate_bitmap function. ---------------------- My quest... is to get a demo of my game(over 2000 hours in development) done by March 30 through sacrificing one spring break. -James current time: 5:20 PM 3/20/98 Eastern