(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges

This commit is contained in:
rubidium
2010-05-22 14:12:48 +00:00
parent 934f0861ee
commit b4d4e5722a
4 changed files with 26 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ public:
static int32 GetMaxSpeed(BridgeID bridge_id);
/**
* Get the new cost of a bridge.
* Get the new cost of a bridge, excluding the road and/or rail.
* @param bridge_id The bridge to get the new cost of.
* @param length The length of the bridge.
* @pre IsValidBridge(bridge_id).

View File

@@ -27,8 +27,9 @@
* \li HasNext for all lists.
*
* Other changes:
* \li AIRoad::BuildRoadStation now allows overbuilding
* \li AIRoad::BuildDriveThroughRoadStation now allows overbuilding
* \li AIBridge::GetPrice now returns the price of the bridge without the cost for the rail or road.
* \li AIRoad::BuildRoadStation now allows overbuilding.
* \li AIRoad::BuildDriveThroughRoadStation now allows overbuilding.
* \li AIEngine::GetPower can be used for road vehicles.
* \li AIEngine::GetWeight can be used for road vehicles.
* \li AIEngine::GetMaxTractiveEffort can be used for road vehicles.