[Opensim-dev] Two sets of LSL function implementation files.

Mike Mazur mmazur at gmail.com
Mon Jun 9 21:11:38 UTC 2008


Hi,

On Tue, Jun 10, 2008 at 2:42 AM, Charles Krinke <cfk at pacbell.net> wrote:
> We now have two sets of the implementation of the LSL scripting functions
> themselves.
>
> -- SNIP -- Keep common logic common
>
> Certainly, I am not advocating a fire-drill, but rather an evolution back to
> our original mission. This is not to preclude any functional of Xengine or
> dotnetengine, but rather to concentrating on resolve the current duplication
> of code from our Common\ directory.

One approach XEngine and future engines could take is to subclass
LSL_BuiltIn_Commands and override any methods which are different.

This is actually already occurring, as LSL_BuiltIn_Commands is the
base class for OS_BuiltIn_Commands which is then a base class for
BuilIn_Commands (yes, it's misspelled). BuilIn_Commands is then
instantiated, from which the built in functions are called.

Anyway, +1 from me as well.

Mike



More information about the Opensim-dev mailing list