diff options
author | rubidium <rubidium@openttd.org> | 2007-09-22 13:56:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-22 13:56:38 +0000 |
commit | 60f1eb21fa31d64c9b2651a09193a62472174a20 (patch) | |
tree | 1f92395e697eada656f8d47222f9f227028ec271 /src/newgrf_spritegroup.h | |
parent | c68c83dffa2edbf854935effedeac0c4697d5db7 (diff) | |
download | openttd-60f1eb21fa31d64c9b2651a09193a62472174a20.tar.xz |
(svn r11139) -Codechange: add support for persistent storage for NewGRFs.
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 50b75b849..ebe07cd63 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -76,6 +76,7 @@ enum DeterministicSpriteGroupAdjustOperation { DSGA_OP_XOR, ///< a ^ b 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 }; @@ -199,6 +200,8 @@ struct ResolverObject { bool info_view; ///< Indicates if the item is being drawn in an info window + BaseStorageArray *psa; ///< The persistent storage array of this resolved object. + union { struct { const struct Vehicle *self; |