- deconstruct A_Jump with multiple labels into A_Jump(chance, RandomPick(label1, label2, label3,...)) to remove this ugly special case from the VM calling convention.
This also adds the number of available choices to OP_IJMP.
This commit is contained in:
parent
68afc419af
commit
adde0510fe
4 changed files with 52 additions and 10 deletions
|
|
@ -1764,6 +1764,7 @@ class FxVMFunctionCall : public FxExpression
|
|||
PFunction *CallingFunction;
|
||||
|
||||
bool CheckAccessibility(const VersionInfo &ver);
|
||||
bool UnravelVarArgAJump(FCompileContext&);
|
||||
|
||||
public:
|
||||
FxVMFunctionCall(FxExpression *self, PFunction *func, FArgumentList &args, const FScriptPosition &pos, bool novirtual);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue