[Scummvm-devel] Max cursor size

Marcus Comstedt marcus at mc.pp.se
Sun Apr 30 03:07:05 CEST 2006

Torbjörn Andersson <eriktorbjorn at telia.com> writes:

> Currently, the BS2 engine has some code to limit the mouse cursor to max
> 80x80 pixels. I don't remember why - or even if - this was necessary,
> but the reason for that particular size was that the SDL backend used to
> impose such a limit. As far as I can tell, it no longer does.
> However, it still does define MAX_MOUSE_W and MAX_MOUSE_H, and at least
> the WinCE and MorphOS backends seem to have the limitation still.
> My question is, should the BS2 engine keep limit the cursor size, or
> should we declare it the backend's responsibility?

The Dreamcast backend has a limitation of 128x128 pixels for cursors,
but I can increase it if necessary (simply allocate a larger
texture).  If a larger cursor is set, the cursor will simply not
be drawn.  The question is: how large cursors does bs2 (the game)
actually use?

  // Marcus

More information about the Scummvm-devel mailing list