src/newgrf_spritegroup.h
branchgamebalance
changeset 9911 0b8b245a2391
parent 9906 6f41b8713b65
child 9912 1ac8aac92385
equal deleted inserted replaced
9910:0b2aebc8283e 9911:0b8b245a2391
    58 	DSGA_OP_UMOD, ///< (unsigned) a & b
    58 	DSGA_OP_UMOD, ///< (unsigned) a & b
    59 	DSGA_OP_MUL,  ///< a * b
    59 	DSGA_OP_MUL,  ///< a * b
    60 	DSGA_OP_AND,  ///< a & b
    60 	DSGA_OP_AND,  ///< a & b
    61 	DSGA_OP_OR,   ///< a | b
    61 	DSGA_OP_OR,   ///< a | b
    62 	DSGA_OP_XOR,  ///< a ^ b
    62 	DSGA_OP_XOR,  ///< a ^ b
       
    63 	DSGA_OP_STO,  ///< store a into temporary storage, indexed by b. return a
       
    64 	DSGA_OP_RST,  ///< return b
    63 };
    65 };
    64 
    66 
    65 
    67 
    66 struct DeterministicSpriteGroupAdjust {
    68 struct DeterministicSpriteGroupAdjust {
    67 	DeterministicSpriteGroupAdjustOperation operation;
    69 	DeterministicSpriteGroupAdjustOperation operation;
   180 			const struct Vehicle *parent;
   182 			const struct Vehicle *parent;
   181 			EngineID self_type;
   183 			EngineID self_type;
   182 		} vehicle;
   184 		} vehicle;
   183 		struct {
   185 		struct {
   184 			TileIndex tile;
   186 			TileIndex tile;
       
   187 		} canal;
       
   188 		struct {
       
   189 			TileIndex tile;
   185 			const struct Station *st;
   190 			const struct Station *st;
   186 			const struct StationSpec *statspec;
   191 			const struct StationSpec *statspec;
   187 			CargoID cargo_type;
   192 			CargoID cargo_type;
   188 		} station;
   193 		} station;
   189 		struct {
   194 		struct {