Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: strazer on Fri 02/04/2004 05:13:00

Title: SetDefaultCursor and ChangeCursorGraphic?
Post by: strazer on Fri 02/04/2004 05:13:00
Hi!

Is there a particular reason why SetDefaultCursor doesn't work after the mouse cursor has been changed with ChangeCursorGraphic?
It seems to work with the SetMouseCursor function only.

Currently I simply use another ChangeCursorGraphic to change the cursor back, but I'd like to use as little code references to sprite slots as possible.

Thanks
Title: Re:SetDefaultCursor and ChangeCursorGraphic?
Post by: Pumaman on Sat 03/04/2004 18:39:38
ChangeCursorGraphic changes the default image for that cursor mode (ie. the one that SetDefaultCursor sets it back to). It's designed so that the changed graphic still works after the cursor mode has been changed.