equal
deleted
inserted
replaced
74 |
74 |
75 virtual uint16 AddEntityID(byte grf_local_id, uint32 grfid, byte substitute_id); |
75 virtual uint16 AddEntityID(byte grf_local_id, uint32 grfid, byte substitute_id); |
76 void SetEntitySpec(const IndustrySpec *inds); |
76 void SetEntitySpec(const IndustrySpec *inds); |
77 }; |
77 }; |
78 |
78 |
|
79 |
|
80 struct IndustryTileSpec; |
|
81 class IndustryTileOverrideManager : public OverrideManagerBase |
|
82 { |
|
83 public: |
|
84 IndustryTileOverrideManager(uint16 offset, uint16 maximum, uint16 invalid) : |
|
85 OverrideManagerBase(offset, maximum, invalid) {}; |
|
86 void SetEntitySpec(const IndustryTileSpec *indts); |
|
87 }; |
|
88 |
79 extern HouseOverrideManager _house_mngr; |
89 extern HouseOverrideManager _house_mngr; |
80 extern IndustryOverrideManager _industry_mngr; |
90 extern IndustryOverrideManager _industry_mngr; |
|
91 extern IndustryTileOverrideManager _industile_mngr; |
81 |
92 |
82 uint32 GetTerrainType(TileIndex tile); |
93 uint32 GetTerrainType(TileIndex tile); |
83 TileIndex GetNearbyTile(byte parameter, TileIndex tile); |
94 TileIndex GetNearbyTile(byte parameter, TileIndex tile); |
84 |
95 |
85 #endif /* NEWGRF_COMMONS_H */ |
96 #endif /* NEWGRF_COMMONS_H */ |