summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-22 20:29:17 +0000
committerrubidium <rubidium@openttd.org>2007-09-22 20:29:17 +0000
commited2b6f4f7283087ff429f1009df90d353da188b6 (patch)
tree4d1949562532f258e28f0d2f4aeeba12c38c3028 /src/newgrf_spritegroup.h
parent726ea01d6c1f01871300d09e8f1f546be58983c2 (diff)
downloadopenttd-ed2b6f4f7283087ff429f1009df90d353da188b6.tar.xz
(svn r11141) -Codechange: add support for NewGRF's varaction2 operators 11, 12 and 13.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h
index ebe07cd63..3f84b9af9 100644
--- a/src/newgrf_spritegroup.h
+++ b/src/newgrf_spritegroup.h
@@ -77,6 +77,9 @@ enum DeterministicSpriteGroupAdjustOperation {
DSGA_OP_STO, ///< store a into temporary storage, indexed by b. return a
DSGA_OP_RST, ///< return b
DSGA_OP_STOP, ///< store a into persistent storage, indexed by b, return a
+ DSGA_OP_ROR, ///< rotate a b positions to the right
+ DSGA_OP_SCMP, ///< (signed) comparision (a < b -> 0, a == b = 1, a > b = 2)
+ DSGA_OP_UCMP, ///< (unsigned) comparision (a < b -> 0, a == b = 1, a > b = 2)
};