Mail Archives: djgpp/1998/02/03/23:31:42
George Foot wrote:
>
> On Thu, 29 Jan 1998 20:49:21 -0800 in comp.os.msdos.djgpp Ryan Bright
> <rmb56313 AT csun DOT edu> wrote:
>
> : AFAIK, however, if you're not going take advantage of the compression,
> : password, or datafile access capabilities of packfiles, there's really
> : no reason to use them at all. It would only decrease the portability of
> : your code.
>
> True, but there are benefits, particularly if you're using Allegro for
> everything anyway. Shawn wrote all of the code for Allegro using
> packfile functions, even the code to load BMP, PCX, MID, WAV, VOC, etc
Hmm.. why? Didn't he just suggest that the stdio routines be used
instead for basic i/o?
> : Also, it will add a flag (F_NOPACK_MAGIC) to the beginning
> : of the file, stating that it is, in fact, not compressed.
>
> In fact that's not true. The flag is only added (1) if the file is
> opened for writing, and (2) if the `!' flag is explicitly given
> (i.e. only if you open a file for writing and say "Please put the
> magic byte on!").
I should have been more explicit.
> Save Usenet! Fight anti-spammers! :)
Right on, brother George! Create a safe place for spam to live... and
love! ;)
-Ryan
- Raw text -