(svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
This commit is contained in:
@@ -41,7 +41,7 @@ uint MoveGoodsToStation(CargoID type, uint amount, SourceType source_type, Sourc
|
||||
void PrepareUnload(Vehicle *front_v);
|
||||
void LoadUnloadStation(Station *st);
|
||||
|
||||
Money GetPriceByIndex(Price index);
|
||||
Money GetPrice(Price index, uint cost_factor, int shift = 0);
|
||||
|
||||
void InitializeEconomy();
|
||||
void RecomputePrices();
|
||||
|
||||
Reference in New Issue
Block a user