teeemcee 2009-10-19 08:21:18 -0700 (Mon, 19 Oct 2009) 694 Rewrote scripterr. Each error now has an errorlevel on which they can be filtered. I replaced all the debug calls from inside the interpreter with scripterr instead. However, except for slices, nothing throws a visible error message which did not before. Will want to add a way to unsuppress them (see the plan). Some errors ask the user to report them; but I wasn't totally sure which slice errors are engine bugs.
Also, you get a callstack and can choose what to do, including entering the debugger, which has been improved with a help screen (and could not be called from such contexts before). I'll also make scriptstate read and use command names (from commands.bin) instead of 'cmd###'. --- U wip/IMPORTANT-nightly.txt U wip/common.bas U wip/common.bi U wip/game.bas U wip/gglobals.bi U wip/moresubs.bas U wip/moresubs.bi A wip/ohrhelp/script_debugger.txt U wip/util.bas U wip/yetmore.bas U wip/yetmore.bi U wip/yetmore2.bas _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
