VarAction2: Deduplicate loads from expensive uncached variables

Currently only some vehicle variables
This commit is contained in:
Jonathan G Rennison
2022-06-03 20:14:30 +01:00
parent 6a17f00a27
commit db7f29b07c
4 changed files with 171 additions and 4 deletions

View File

@@ -185,6 +185,7 @@ enum DeterministicSpriteGroupAdjustOperation {
DSGA_OP_SLE, ///< (signed) a <= b ? 1 : 0,
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_SPECIAL_END,
};