[ scummvm-Patches-745986 ] Experimental V2 mouseover stuff

SourceForge.net noreply at sourceforge.net
Fri May 30 12:04:47 CEST 2003


Patches item #745986, was opened at 2003-05-30 12:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=745986&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Experimental V2 mouseover stuff

Initial Comment:
This is just an experiment to explore one way to get
the V2 inventory, verbs and sentence to change colour
on mouseovers. It should not be applied yet.

As far as I can understand, these colour changes are
hard-wired in the interpreter, rather than scripted, so
I guess that's what ScummVM will have to do as well.

Verbs are simple. We can just set hicolor to 14 and let
the existing code take care of it. Perhaps the
inventory could be handled the same way (is it possible
to set up "dummy" verbs that do nothing except react to
mouseovers?), but I haven't explored this yet.

Instead I added some code to check for mouseovers in a
list of pre-defined rectangles where I know the
inventory, arrows and sentence line are going to be. It
seemed to work acceptably when I tried it.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=745986&group_id=37116




More information about the Scummvm-tracker mailing list