[Scummvm-devel] Low-end platforms and MADE

Eugene Sandulenko sev at scummvm.org
Sun Jan 31 20:58:02 CET 2010


On Sun, 31 Jan 2010 21:53:10 +0200
Eugene Sandulenko <sev at scummvm.org> wrote:

> On Sun, 31 Jan 2010 14:23:28 +0000
> Filippos Karapetis <philipk79 at hotmail.com> wrote:
> > The question is: is there any way, an ifdef probably, to figure out
> > if the platform that the game is running under can handle CPU
> > intensive tasks? We could then assign some kind of flag, which will
> > show the full effect in platforms that can handle it, and a cut down
> > version in low end platforms
> Besides the ifdef, you may introduce a config variable which will
> specify which effect to use, and the backend authors then could force
> the variable to be set to certain value.
...and yet another approach would be to measure elapsed time when
running the original effect, and fallback to the simpler method if it
takes too much time. I.e. something like this:

  [rtz]
  smoothtransitons=true|false|autodetect


Eugene




More information about the Scummvm-devel mailing list