[Scummvm-devel] SCI script error detection

Willem Jan Palenstijn wjp at usecode.org
Wed Oct 6 23:50:34 CEST 2010


Hi,

We currently detect the use uninitialized variables by SCI scripts
automatically at run-time ("sci_valgrind"), and error out when we find any.
The proper workaround/initialization is then added for each specific case
manually.

I think we should maybe change this to warnings for the release version, to
prevent ones that were missed during testing from seemingly "crashing" ScummVM.
(We could defaulting to init-to-zero behaviour maybe.)

We talked about this a few times on IRC in the past, but I don't know if there
was any consensus then.

Any thoughts?

-Willem Jan




More information about the Scummvm-devel mailing list