diff options
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r-- | src/newgrf_object.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h index 416b87a21..081a19781 100644 --- a/src/newgrf_object.h +++ b/src/newgrf_object.h @@ -73,12 +73,6 @@ struct ObjectSpec { bool enabled; ///< Is this spec enabled? /** - * Check whether the object is available at this time. - * @return true if it is available. - */ - bool IsAvailable() const; - - /** * Get the cost for building a structure of this type. * @return The cost for building. */ @@ -90,24 +84,10 @@ struct ObjectSpec { */ Money GetClearCost() const { return (_price[PR_CLEAR_OBJECT] * this->clear_cost_multiplier); } - /** - * Gets the index of this spec. - * @return The index. - */ + bool IsAvailable() const; uint Index() const; - /** - * Get the specification associated with a specific ObjectType. - * @param index The object type to fetch. - * @return The specification. - */ static const ObjectSpec *Get(ObjectType index); - - /** - * Get the specification associated with a tile. - * @param tile The tile to fetch the data for. - * @return The specification. - */ static const ObjectSpec *GetByTile(TileIndex tile); }; |