www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/20/18:32:24

From: James W Sager Iii <sager+@andrew.cmu.edu>
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: <wp4jMmu00YUp0mGFk0@andrew.cmu.edu>
NNTP-Posting-Host: po9.andrew.cmu.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.
 
 
 
----------------------
<start humming mission impossible theme>
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 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019