Opened 19 years ago

Closed 19 years ago

Last modified 6 years ago

#2547 closed defect (fixed)

SDL: Jerky cursor movement

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: Graphics
Version: Keywords:
Cc: Game:

Description

Since the backend no longer is responsible for redrawing the cursor whenever it moves, cursor movement has become noticeable jerky in some cases.

Some engines call updateScreen() often enough that I don't notice any difference. In some, it's barely noticeable. The one where it's really noticeable is the SCUMM engine.

Ticket imported from: #1456679. Ticket imported from: bugs/2547.

Change History (9)

comment:1 by eriktorbjorn, 19 years ago

Owner: set to fingolfin

comment:2 by fingolfin, 19 years ago

Summary: Jerky cursor movementSDL: Jerky cursor movement

comment:3 by eriktorbjorn, 19 years ago

Another example is the menu bar at the top of the screen in Lure of the Temptress. Currently, it seems to only call updateScreen() when the state of a menu changes, so if you pull down one menu, and then move the mouse, the cursor will remain frozen, until all of a sudden it jumps to the next menu or menu item.

comment:4 by eriktorbjorn, 19 years ago

The jury is still out on which is the proper solution, but I have added extra updateScreen() calls in some engines as a temporary solution, at least.

Engines I have modified: lure, queen, SCUMM, sword1 Engines which didn't need modification: cine, gob, kyra, SAGA, sword2 Engines which may need modification: simon, sky

Both simon and sky are fairly smooth already, so I've taken care of the worst offenders.

comment:5 by fingolfin, 19 years ago

Owner: changed from fingolfin to eriktorbjorn

comment:6 by fingolfin, 19 years ago

Well, if this works to your satisfaction now, feel free to close this item :-)

comment:7 by eriktorbjorn, 19 years ago

Resolution: fixed
Status: newclosed

comment:8 by eriktorbjorn, 19 years ago

Thanks for reminding me. Since Kirben fixed the Simon engine (most noticeably in The Feeble Files), everything looks smooth to me.

comment:9 by digitall, 6 years ago

Component: Graphics
Note: See TracTickets for help on using tickets.