www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/03/23:31:42

Message-ID: <34D7DDFA.BC8C8FB5@csun.edu>
Date: Tue, 03 Feb 1998 19:18:18 -0800
From: Ryan Bright <rmb56313 AT csun DOT edu>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: pack_fread()
References: <MPG DOT f3b0c7939c7dde59896c2 AT news> <34D15BD1 DOT 85340453 AT csun DOT edu> <6at0t1$5c4$10 AT news DOT ox DOT ac DOT uk>
NNTP-Posting-Host: s253n120.csun.edu
Organization: California State University, Northridge
Lines: 31
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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