Re: [AD] implementing seek

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, Apr 7, 2010 at 1:15 PM, Thomas Fjellstrom <tfjellstrom@xxxxxxx> wrote:
On April 7, 2010, Peter Wang wrote:
>
> The function you alluded to earlier was cleaner:
>
>     ALLEGRO_FILE *al_fopen_slice(ALLEGRO_FILE *f, size_t length);
>
> perhaps combined with memory buffering as an option, for underlying
> streams that don't understand backward seeks.  Maybe also mix in
> read/write permissions.

That could work. Could also think about sub files, like A4 had.


Oh, PACKFILE_CHUNK. I always thought those were chunk :P But if we want it to be easy to deal with multiple files concatenated togethin into a single file I guess they will make life easier...


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/