(svn r23416) -Add: [NoAI] API for querying infrastructure costs.

This commit is contained in:
michi_cc
2011-12-03 23:40:57 +00:00
parent fc8633e1ac
commit 351da038eb
20 changed files with 362 additions and 0 deletions

View File

@@ -471,6 +471,14 @@ public:
*/
static Money GetBuildCost(RoadType roadtype, BuildType build_type);
/**
* Get the maintenance cost factor of a roadtype.
* @param railtype The roadtype to get the maintenance factor of.
* @pre IsRoadTypeAvailable(roadtype)
* @return Maintenance cost factor of the roadtype.
*/
static uint16 GetMaintenanceCostFactor(RoadType roadtype);
private:
/**