Age | Commit message (Collapse) | Author |
|
The tst_stationlist savegame had to be changed to start the correct
AI. In the old setup, all regression AIs had the same name, which
made it impossible to run both regressions in parallel. With the new
setup this is possible.
Although all files are available to run the regression, it won't
really work till CMake is introduced (which will happen in a few
commits from here)
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
type (#6988)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
regression
|
|
|
|
waiting cargo
|
|
|
|
|
|
|
|
|
|
regression result...
|
|
compatability settings
|
|
between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating
|
|
regression test, which subsequently failed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
shown
|
|
API when they refer to the in-game values in the cases where that is possible and sensible
|
|
ScriptTile::GetTownAuthority() (tnx to Torrasque for reporting)
|
|
|
|
|
|
reusable by other script API instances
|
|
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
|
operations for the current tick
|
|
100.000 opcodes for free
|