On Mon, 28 Jan 2008 16:52:05 +0000
James Urquhart <[EMAIL PROTECTED]> wrote:

> Right,
> 
> This patch fixes the missing actor names when running OpenQuest in
> the original DOTT interpreter.
> 
> Basically i have added two new global variables, "sntcObjADesc" and  
> "sntcObjBDesc". These are used in the sentence line instead of  
> "sntcObjA" and  "sntcObjB" respectively.
> 
> In the case of actors, the "desc" is set to the actor object, and
> the normal "obj" is set to the actor. In the case of normal objects,
> the "obj" and "desc" are the same.
> 
> Thus everything else works as before (including ScummVM too), except  
> you get a name for an actor instead of a blank. :)

Nice, I'm going to apply it. I also have some changes to prevent the
game from treating all actors as persons. Some actors are used for
objects and they have the alt verb on Talk to.

> Note though that currently actor objects have funny names, e.g.  
> "OfficeRoom::commanderZifObj".

The object names must be set.

> -                vrb = selVerb ? selVerb : WalkTo;                    
> +                vrb = selVerb ? selVerb : WalkTo;

Please, clean that out when doing a patch. Getting rid of trailling
spaces would be a good idea, but then the whole file at once :)

        Albeu


_______________________________________________
ScummC-general mailing list
[email protected]
https://mail.gna.org/listinfo/scummc-general

Reply via email to