delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/15/09:03:18

From: "J.E." <cellis AT voyageur DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro Datafiles
Date: Wed, 10 Sep 1997 22:23:55 -0500
Organization: Bell Network Solutions
Lines: 15
Message-ID: <3417644B.3E39@voyageur.ca>
Reply-To: cellis AT voyageur DOT ca
NNTP-Posting-Host: 207.236.8.98
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

First of all, I'd just like to say that I think Allegro is the coolest
game programming library out there!  I love it!  I have a question,
though:  If I pack a 300k title screen bitmap into the datafile, I don't
want it to stay in memory the entire time (cause it's only used once). 
So, if I unload the bitmap (is this possible?) will that actually free
up memory for Djgpp to use, or will it just create an empty memory
block, unknown to Djgpp?  Is it good programming practice to unload
objects which are not used much after you use them?  Also, let's say I
have different sprites for each "world" on my game.  Would it be
possible, and smart, to unload these sprites after each world is
completed?  Well, I'd love to ask about a million more questions, but I
won't bother you guys too much (at least, not right now;-)  Thanks for
your time and help:-)

Jordan Ellis  <cellis AT voyageur DOT ca>

- Raw text -


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