scummvm/scummvm — pull request #275 by clone2727 (2012-09-01 03:18:01+00:00)
Title: Pegasus engine (The Journeyman Project: Pegasus Prime)

I guess it's time for me to join the "start an engine pull request" bandwagon ;)

It's been a long time coming, but here is my pull request for the "pegasus" engine supporting "The Journeyman Project: Pegasus Prime". The Macintosh version of the game is completable from the beginning (both full and demo). Much thanks to Presto Studios for providing the original game's source code.

There is currently only one missing feature, which is the ability to change playback rate of a video. This currently only stops one alternative solution to a puzzle from being completed. Now that the VideoDecoder upgrade is in the master, this is now one of my highest priorities.

There are a few changes to common code in here, most of which are pretty minor.

* Added getNumerator()/getDenominator() functions to Common::Rational so that I am able to multiply time values by a rate variable
* Changed drawThickLine to support thickness in both x and y directions
* Added a drawThickLine wrapper to Graphics::Surface
* Added a KBD_META flag (ie. "command" on a Mac)