|
@@ -21,13 +21,13 @@
|
|
|
/** Scope resolver for handling the tiles of an airport. */
|
|
|
struct AirportTileScopeResolver : public ScopeResolver {
|
|
|
struct Station *st; ///< %Station of the airport for which the callback is run, or \c NULL for build gui.
|
|
|
byte airport_id; ///< Type of airport for which the callback is run.
|
|
|
TileIndex tile; ///< Tile for the callback, only valid for airporttile callbacks.
|
|
|
|
|
|
AirportTileScopeResolver(ResolverObject *ro, const AirportTileSpec *ats, TileIndex tile, Station *st);
|
|
|
AirportTileScopeResolver(ResolverObject &ro, const AirportTileSpec *ats, TileIndex tile, Station *st);
|
|
|
|
|
|
/* virtual */ uint32 GetRandomBits() const;
|
|
|
/* virtual */ uint32 GetVariable(byte variable, uint32 parameter, bool *available) const;
|
|
|
};
|
|
|
|
|
|
/** Resolver for tiles of an airport. */
|