- rewrote the condition nodes from SBARINFO in ZScript. This compiles but hasn't been tested yet.
This commit is contained in:
parent
3744c2eee7
commit
31ea33bfc4
9 changed files with 694 additions and 29 deletions
|
|
@ -565,6 +565,14 @@ void ThrowAbortException(EVMAbortException reason, const char *moreinfo, ...)
|
|||
va_end(ap);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DObject, ThrowAbortException)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
FString s = FStringFormat(param, defaultparam, numparam, ret, numret);
|
||||
ThrowAbortException(X_OTHER, s.GetChars());
|
||||
return 0;
|
||||
}
|
||||
|
||||
void NullParam(const char *varname)
|
||||
{
|
||||
ThrowAbortException(X_READ_NIL, "In function parameter %s", varname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue