summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-06 07:24:10 +0000
committerrubidium <rubidium@openttd.org>2007-07-06 07:24:10 +0000
commitb8f658db9497b3a0532d0efc58e23ad2e6dd5824 (patch)
treeb968dc7033dc02846b7d649f91e6effd2ae181e5 /src/industry.h
parent191a479e8d5ded987b04ef65b4d3aaea4eba366b (diff)
downloadopenttd-b8f658db9497b3a0532d0efc58e23ad2e6dd5824.tar.xz
(svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/industry.h b/src/industry.h
index 08117cbd7..505c14096 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -118,7 +118,9 @@ struct GRFFileProps {
struct IndustrySpec {
const IndustryTileTable *const *table;///< List of the tiles composing the industry
byte num_table; ///< Number of elements in the table
- uint16 cost_multiplier; ///< Base cost multiplier.
+ uint8 cost_multiplier; ///< Base cost multiplier.
+ uint16 raw_industry_cost_multiplier; ///< Multiplier for the raw industries cost
+ uint32 prospecting_chance; ///< Chance prospecting succeeds
IndustryType conflicting[3]; ///< Industries this industry cannot be close to
byte check_proc; ///< Index to a procedure to check for conflicting circumstances
CargoID produced_cargo[2];