VarAction2: Add an ABS opcode

This commit is contained in:
Jonathan G Rennison
2022-06-11 02:33:09 +01:00
parent 3ca95a63d2
commit 6214d0d20d
3 changed files with 33 additions and 1 deletions

View File

@@ -198,6 +198,7 @@ enum DeterministicSpriteGroupAdjustOperation : uint8 {
DSGA_OP_SGT, ///< (signed) a > b ? 1 : 0,
DSGA_OP_RSUB, ///< b - a
DSGA_OP_STO_NC, ///< store b into temporary storage, indexed by c. return a
DSGA_OP_ABS, ///< abs(a)
DSGA_OP_SPECIAL_END,
};