(svn r11139) -Codechange: add support for persistent storage for NewGRFs.

This commit is contained in:
rubidium
2007-09-22 13:56:38 +00:00
parent c68c83dffa
commit 60f1eb21fa
9 changed files with 39 additions and 15 deletions

View File

@@ -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;