|
@@ -18,13 +18,13 @@
|
|
|
struct IndustriesScopeResolver : public ScopeResolver {
|
|
|
TileIndex tile; ///< Tile owned by the industry.
|
|
|
Industry *industry; ///< %Industry being resolved.
|
|
|
IndustryType type; ///< Type of the industry.
|
|
|
uint32 random_bits; ///< Random bits of the new industry.
|
|
|
|
|
|
IndustriesScopeResolver(ResolverObject *ro, TileIndex tile, Industry *industry, IndustryType type, uint32 random_bits = 0);
|
|
|
IndustriesScopeResolver(ResolverObject &ro, TileIndex tile, Industry *industry, IndustryType type, uint32 random_bits = 0);
|
|
|
|
|
|
/* virtual */ uint32 GetRandomBits() const;
|
|
|
/* virtual */ uint32 GetVariable(byte variable, uint32 parameter, bool *available) const;
|
|
|
/* virtual */ uint32 GetTriggers() const;
|
|
|
/* virtual */ void SetTriggers(int triggers) const;
|
|
|
/* virtual */ void StorePSA(uint pos, int32 value);
|