Commit Graph

10 Commits (5a2e4981824cf30f13dde50a4a518a71d00ad000)

Author SHA1 Message Date
PeterN 3bbd7ea2c1
Fix: Industry coverage area is no longer rectangular. (#7464)
AIs test station catchment in reverse to how players see station catchment.
This did not take account of non-rectangular station catchment areas, so AIs
could end up placing stations in locations that did not accept/deliver cargo.
6 years ago
PeterN 7fb77ff35a
Fix: Incorrect display of industry production around tiles. (#7426)
Display of industry production around tiles (as shown when placing a station)
did not take account of the station catchment changes, so still showed production
from an industry even if it was not covered by a tile.

This is fixed by making a set of nearby industries that are covered, instead of
looping over all possible industries.
6 years ago
glx f8e6cd10ef Add: script API functions for build with refit feature 6 years ago
Peter Nelson 5a5944867d Add: Add parent_group_id parameter to CreateGroup() 6 years ago
SamuXarick 1e5a6765d9 Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type (#6988) 6 years ago
Johannes E. Krause 662dcc3c31 Fix #6920: Make 9.8m/s^2 a common constant for TE-calculation 6 years ago
Jonathan G Rennison df92a056df Fix #6875: Depot building cost does not include foundation build cost (#6883) 6 years ago
Jonathan G Rennison d839526365 Fix bf8d7df: Script/AI construction of rail track and waypoints (#6881) 6 years ago
fonsinchen 57d758f73e (svn r26896) -Codechange: Move AIStationList* tests to separate test case 10 years ago
fonsinchen d92c95b29c (svn r26895) -Change: Allow for multiple independent test cases for AI API regression 10 years ago