[Scummvm-devel] OSystem API?

Marcus Comstedt marcus at mc.pp.se
Fri Aug 1 15:13:32 CEST 2003


Max Horn <max at quendi.de> writes:

> These should be implemented, too (w/o them playing will be no fun, but
> for initial testing, you can do without):
[...]
>   set_mouse_pos
[...]

> those are "optional" (games will run w/o them but some feature may not
> work):
[...]
>   warp_mouse
[...]

Which reminds me.  Would you like to clarify the semantic difference
between these two?  On the Dreamcast, they will both currently move
the mouse pointer to the specified position.  Should one of them do
something else?  In that case, what and why?  The comments in system.h
says that "set_mouse_pos only informs the backend of the mouse
cursor's current position", but that doesn't make any sense; the
engine only knows the mouse cursor's current position because the
backend informed it in the first place, so the notion that the backend
should be "informed" about this is absurd.


  // Marcus






More information about the Scummvm-devel mailing list