SamuXarick
SamuXarick
## Motivation / Problem There is no method to get how much a certain amount of cargo weight in tonnes. ## Description Add ScriptCargo::GetWeight(cargo_type, amount). It gets how much the...
## Motivation / Problem ScriptRoad::HasRoadType was only checking if the tile had the same RoadTramType as that of the RoadType provided. ## Description Now it really checks RoadType against RoadType....
This ensures that the value '-1' always refer to an invalid result, while values '>= 0' as valid values. ## Motivation / Problem GetQuarterlyExpenses could return '-1' for invalid and...
## Motivation / Problem AI Collect Garbage is not measured by Frame Rate Performance Measurer ## Description Move CollectGarbage inside the scope of PerformanceMeasurer ## Limitations CollectGarbage no longer executes...
## Motivation / Problem When a company closes, shares are sold. To get the value of these shares, company value calculations are issued. But the way it's currently implemented, it...
## Motivation / Problem There is a story behind all this, before I started working on the PR. It all began when I was interested in knowing why travelling vertically/horizontally...
## Motivation / Problem Tiles at the edges of the map only start to be flooded if they are of type Clear. If they are of any other type, there...
Fix: Also add the cost of clearing objects on water ## Motivation / Problem NewGRF objects, like Rocks on water prever docks from being built.  But other water...
## Motivation / Problem  During world generation, town growth algorithm is speed up, allowing the town to perform multiple sequential growth actions, like building houses, roads,...
## Motivation / Problem Players that make use of rivers for their ships can have another player come in and easily destroy the river just to lay their rail tracks...