[Scummvm-devel] SDL scaler refactoring

Eugene Sandulenko sev at scummvm.org
Thu Sep 2 19:06:31 CEST 2010


On Thu, 02 Sep 2010 13:12:41 +0100
LionsPhil <lionsphil at gmail.com> wrote:
> My understanding was that there were three co-ordinate spaces in use:
>   - Physical (i.e. the one SDL works in)
>   - Game
>   - Overlay (i.e. the save/load/options menu)
That's right.

> Even for engines like Kyra that use the original game's menu rather
> than the skinnable ScummVM one, isn't that still in the Game
> co-ordinate space?
Original game menu means that it gets drawn on the engine overlay.
Hence it's the game space.

> Is there a case where the Physical mouse events
> from SDL need to be mapped to something other than Game or Overlay?
Not at this moment. And moreover, current code assumes that either of
two is active at the same time, not both.


Eugene




More information about the Scummvm-devel mailing list