diff options
author | rubidium <rubidium@openttd.org> | 2011-01-18 22:31:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-18 22:31:06 +0000 |
commit | 7efd7e19ed046a4a0c03077f27930291ba5b9725 (patch) | |
tree | 9e08703cd992ede72e5165044b69750b1385510f /src/industrytype.h | |
parent | 6c9078fd30097b38537a60fbecb9828da69c3517 (diff) | |
download | openttd-7efd7e19ed046a4a0c03077f27930291ba5b9725.tar.xz |
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
Diffstat (limited to 'src/industrytype.h')
-rw-r--r-- | src/industrytype.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/industrytype.h b/src/industrytype.h index 32f3c2b51..b7b794a43 100644 --- a/src/industrytype.h +++ b/src/industrytype.h @@ -134,30 +134,9 @@ struct IndustrySpec { bool enabled; ///< entity still available (by default true).newgrf can disable it, though GRFFileProps grf_prop; ///< properties related to the grf file - /** - * Is an industry with the spec a raw industry? - * @return true if it should be handled as a raw industry - */ bool IsRawIndustry() const; - - /** - * Get the cost for constructing this industry - * @return the cost (inflation corrected etc) - */ Money GetConstructionCost() const; - - /** - * Get the cost for removing this industry - * Take note that the cost will always be zero for non-grf industries. - * Only if the grf author did specified a cost will it be applicable. - * @return the cost (inflation corrected etc) - */ Money GetRemovalCost() const; - - /** - * Determines whether this industrytype uses smooth economy or whether it uses standard/newgrf production changes. - * @return true if smooth economy is used. - */ bool UsesSmoothEconomy() const; }; |