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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index 5721b7eb2..a5cedf429 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -228,6 +228,7 @@ class HouseOverrideManager : public OverrideManagerBase {
public:
HouseOverrideManager(uint16 offset, uint16 maximum, uint16 invalid) :
OverrideManagerBase(offset, maximum, invalid) {}
+
void SetEntitySpec(const HouseSpec *hs);
};
@@ -238,8 +239,9 @@ public:
IndustryOverrideManager(uint16 offset, uint16 maximum, uint16 invalid) :
OverrideManagerBase(offset, maximum, invalid) {}
- virtual uint16 AddEntityID(byte grf_local_id, uint32 grfid, byte substitute_id);
- virtual uint16 GetID(uint8 grf_local_id, uint32 grfid) const;
+ uint16 AddEntityID(byte grf_local_id, uint32 grfid, byte substitute_id) override;
+ uint16 GetID(uint8 grf_local_id, uint32 grfid) const override;
+
void SetEntitySpec(IndustrySpec *inds);
};