summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r--src/newgrf_industrytiles.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h
index 838dcc533..e5494ea30 100644
--- a/src/newgrf_industrytiles.h
+++ b/src/newgrf_industrytiles.h
@@ -39,6 +39,7 @@ struct IndustryTileScopeResolver : public ScopeResolver {
struct IndustryTileResolverObject : public ResolverObject {
IndustryTileScopeResolver indtile_scope; ///< Scope resolver for the industry tile.
IndustriesScopeResolver ind_scope; ///< Scope resolver for the industry owning the tile.
+ IndustryGfx gfx;
IndustryTileResolverObject(IndustryGfx gfx, TileIndex tile, Industry *indus,
CallbackID callback = CBID_NO_CALLBACK, uint32 callback_param1 = 0, uint32 callback_param2 = 0);
@@ -51,6 +52,9 @@ struct IndustryTileResolverObject : public ResolverObject {
default: return ResolverObject::GetScope(scope, relative);
}
}
+
+ GrfSpecFeature GetFeature() const override;
+ uint32 GetDebugID() const override;
};
bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds);