diff options
author | frosch <frosch@openttd.org> | 2009-11-24 22:15:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-11-24 22:15:42 +0000 |
commit | 830231e2bda3a2a68d3e8cc466059d8b5fcadb63 (patch) | |
tree | 24750800d52789ced0c719b59afa832fbc5a91cc /src/economy_type.h | |
parent | 8da21d58a9e50d1e08a94bb7cba83fec040f741b (diff) | |
download | openttd-830231e2bda3a2a68d3e8cc466059d8b5fcadb63.tar.xz |
(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
Diffstat (limited to 'src/economy_type.h')
-rw-r--r-- | src/economy_type.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/economy_type.h b/src/economy_type.h index ed4d457a2..24c8ca575 100644 --- a/src/economy_type.h +++ b/src/economy_type.h @@ -114,6 +114,17 @@ enum Price { PR_RUNNING_ROADVEH, PR_RUNNING_SHIP, PR_BUILD_INDUSTRY, + PR_CLEAR_INDUSTRY, + PR_BUILD_UNMOVABLE, + PR_CLEAR_UNMOVABLE, + PR_BUILD_WAYPOINT_RAIL, + PR_CLEAR_WAYPOINT_RAIL, + PR_BUILD_WAYPOINT_BUOY, + PR_CLEAR_WAYPOINT_BUOY, + PR_TOWN_ACTION, + PR_BUILD_FOUNDATION, + PR_BUILD_INDUSTRY_RAW, + PR_BUILD_TOWN, PR_END, INVALID_PRICE = 0xFF @@ -157,6 +168,7 @@ struct PriceBaseSpec { Money start_price; ///< Default value at game start, before adding multipliers. PriceCategory category; ///< Price is affected by certain difficulty settings. uint grf_feature; ///< GRF Feature, that decides whether price multipliers apply locally or globally. GSF_END if none. + Price fallback_price; ///< Fallback price multiplier for new prices but old grfs. }; /** The "steps" in loan size, in British Pounds! */ |