src/newgrf_spritegroup.h
changeset 7610 13b7d9e247d2
parent 7609 b70ffc13652a
child 7612 798324cb4f0d
equal deleted inserted replaced
7609:b70ffc13652a 7610:13b7d9e247d2
    74 	DSGA_OP_AND,  ///< a & b
    74 	DSGA_OP_AND,  ///< a & b
    75 	DSGA_OP_OR,   ///< a | b
    75 	DSGA_OP_OR,   ///< a | b
    76 	DSGA_OP_XOR,  ///< a ^ b
    76 	DSGA_OP_XOR,  ///< a ^ b
    77 	DSGA_OP_STO,  ///< store a into temporary storage, indexed by b. return a
    77 	DSGA_OP_STO,  ///< store a into temporary storage, indexed by b. return a
    78 	DSGA_OP_RST,  ///< return b
    78 	DSGA_OP_RST,  ///< return b
       
    79 	DSGA_OP_STOP, ///< store a into persistent storage, indexed by b, return a
    79 };
    80 };
    80 
    81 
    81 
    82 
    82 struct DeterministicSpriteGroupAdjust {
    83 struct DeterministicSpriteGroupAdjust {
    83 	DeterministicSpriteGroupAdjustOperation operation;
    84 	DeterministicSpriteGroupAdjustOperation operation;
   197 	uint32 reseed;
   198 	uint32 reseed;
   198 	VarSpriteGroupScope scope;
   199 	VarSpriteGroupScope scope;
   199 
   200 
   200 	bool info_view; ///< Indicates if the item is being drawn in an info window
   201 	bool info_view; ///< Indicates if the item is being drawn in an info window
   201 
   202 
       
   203 	BaseStorageArray *psa; ///< The persistent storage array of this resolved object.
       
   204 
   202 	union {
   205 	union {
   203 		struct {
   206 		struct {
   204 			const struct Vehicle *self;
   207 			const struct Vehicle *self;
   205 			const struct Vehicle *parent;
   208 			const struct Vehicle *parent;
   206 			EngineID self_type;
   209 			EngineID self_type;