Experimental V2 mouseover stuff
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
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.
Ticket imported from: #745986. Ticket imported from: patches/344.