summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-06-21 17:09:10 +0000
committerbelugas <belugas@openttd.org>2007-06-21 17:09:10 +0000
commit240bba540ecf708dd91b0cef3608ca661fb2f22c (patch)
treea326890bbd423a6826dfbcdb9b4536761258caa7 /src/newgrf_commons.h
parentaf8a234db03d075167a3bd50251905b40c6998c2 (diff)
downloadopenttd-240bba540ecf708dd91b0cef3608ca661fb2f22c.tar.xz
(svn r10256) -Add: Addition of IndustryTileOverrideManager
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);