#2297 closed defect (fixed)
ITE: Mouse visible where in wrong scenes
Reported by: | SF/simsaw | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | Engine: SAGA |
Version: | Keywords: | ||
Cc: | Game: | Inherit the Earth |
Description
In the outro the mouse pointer is still visible and a little disturbing. It would be very great if that could be fixed before release version. Thanks!
Bug noticed in German DOS CD version and English DOS floppy.
Ticket imported from: #1333391. Ticket imported from: bugs/2297.
Attachments (1)
Change History (9)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Owner: | set to |
---|
comment:3 by , 19 years ago
On a closer look, showing the cursor in loadScene() appears to be the wrong behaviour, unless the aforementioned kSceneFlagShowCursor is set.
The attached patch seems to fix the problem. It'll probably be applied to the CVS trunk shortly, at the very least. Hopefully to the branch as well, if no one objects to it. (Not because the bug shouldn't be fixed, but because I may have gotten it wrong.)
comment:4 by , 19 years ago
Owner: | removed |
---|
comment:6 by , 19 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:8 by , 6 years ago
Component: | → Engine: SAGA |
---|---|
Game: | → Inherit the Earth |
The cursor is shown because we almost always send a "show cursor" event in loadScene().
In addition, a scene may have the kSceneFlagShowCursor flag, in which case we call Interface::activate(), which also shows the cursor. Actually, we check this flag twice, which seems excessive.
It looks like the original had a counter keeping track of hiding/showing the cursor, so that hiding the cursor twice meant you had to show it twice for it to actually reappear. We don't do that, but I don't know if implementing that would help in this case. Because it seems we show the cursor more often than we hide it during the end credits...
To summarize, I don't know. Assigning to sev for further comments/ideas.