Re: minisphere v1.0-b1
Reply #129 –
So, a few new features:
GetExtensions() returns a list of strings representing the engine's capabilities. For example, calling this in minisphere currently returns:
[ "sphere-legacy", "minisphere" ]
I got the idea after skimming the Pegasus stuff on GitHub.
The other new feature is an optional stack offset passed to Abort(), like so:
Abort("ThisFunctionSucks(): This function sucks, why did you call it?", -1);
It allows you to blame the error on a script further up the call stack, useful in libraries to report invalid parameters or other such errors. If the stack offset is not provided, it defaults to 0, meaning "location of Abort call" - i.e. the normal behavior.