[Scummvm-devel] Contributing to ScummVM with an interpreter for Magnetic Scrolls?

Paul Gilbert paulfgilbert at gmail.com
Sun May 5 10:58:40 CEST 2019


It doesn't add any significant delay. An individual picture is only decoded
when a ".raw" file is opened, and the virtual filesystem pretty much simply
wraps the results of the Infocom decompression code in a stream so that all
file reads read from that memory buffer. As for animations, that'll be an
interesting question. The Glk code only deals with drawing static pictures
by frame number. So it's likely the existing Magnetic engine does it's own
manual handling of animations currently. If so, I could probably add code
to present the animations as if they were a graphics format that supports
frames, like APNG or GIF, then have the core Glk handle drawing the
animation when an animated picture number is specified for drawing. Maybe..
I'll have to see how it goes.

Paul.

On Sun, May 5, 2019 at 5:06 PM Thomas Dettbarn <dettus at dettus.net> wrote:

> Sounds like a compromise. How fast is it? Would it be able to handle
> animations?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20190505/8698c6c5/attachment.html>


More information about the Scummvm-devel mailing list