diff options
author | frosch <frosch@openttd.org> | 2010-08-02 23:12:43 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-02 23:12:43 +0000 |
commit | 0e5c562da491ef857700c76d59af5c75be2e7296 (patch) | |
tree | 29e34ef8b595a14cd7091caed12a3989cfd96989 /src/newgrf_spritegroup.h | |
parent | 689d4bef04462173335be7f7973d67d353910783 (diff) | |
download | openttd-0e5c562da491ef857700c76d59af5c75be2e7296.tar.xz |
(svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r-- | src/newgrf_spritegroup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index ed8eac529..b6dc71d62 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -151,6 +151,9 @@ enum DeterministicSpriteGroupAdjustOperation { 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) + DSGA_OP_SHL, ///< a << b + DSGA_OP_SHR, ///< (unsigned) a >> b + DSGA_OP_SAR, ///< (signed) a >> b }; |