delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/13/03:48:45

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Speed of Allegro Datafiles
Date: Thu, 11 Sep 1997 23:34:43 +0100
Organization: None
Distribution: world
Message-ID: <Wi7mc5ADIHG0EwpB@talula.demon.co.uk>
References: <34176C9A DOT 6E20 AT voyageur DOT ca>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>When an Allegro datafile is loaded into
>memory, is each object treated individually?  For example, is blitting a
>bitmap from a datafile onto the screen the same as blitting a bitmap
>which was created at runtime?  

Absolutely. How an object was created makes no difference to the format
of the data, so it doesn't matter whether it was loaded from a datafile
or not. The datafile routines are simply a handy way of storing lots of
objects in a single file, and making sure the data is always loaded in a
ready-to-go Allegro format: they don't affect how the data behaves once
it is in memory.


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.

- Raw text -


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