summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r--src/newgrf_commons.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index f45594f14..59283ab66 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -76,8 +76,19 @@ class IndustryOverrideManager : public OverrideManagerBase
void SetEntitySpec(const IndustrySpec *inds);
};
+
+struct IndustryTileSpec;
+class IndustryTileOverrideManager : public OverrideManagerBase
+{
+ public:
+ IndustryTileOverrideManager(uint16 offset, uint16 maximum, uint16 invalid) :
+ OverrideManagerBase(offset, maximum, invalid) {};
+ void SetEntitySpec(const IndustryTileSpec *indts);
+};
+
extern HouseOverrideManager _house_mngr;
extern IndustryOverrideManager _industry_mngr;
+extern IndustryTileOverrideManager _industile_mngr;
uint32 GetTerrainType(TileIndex tile);
TileIndex GetNearbyTile(byte parameter, TileIndex tile);