Age | Commit message (Collapse) | Author |
|
companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
|
|
|
|
GetIndustryByTile()
|
|
ERR_PRECONDITION_ERROR for road/rail-crossings
|
|
AIIndustry::GetLastMonthTransportedPercentage
|
|
documented at all, make it return what AITown::GetLastMonthProduction did
-Change [NoAI]: mark AITown::GetMaxProduction as deprecated, AITown::GetLastMonthProduction returns now the value GetMaxProduction did
|
|
numbers to percents
|
|
|
|
|
|
incorrectly but crash the AI instead
|
|
|
|
/ Sleep instead of just printing an error message in the AI Debug Window
|
|
parameter allow every squirrel type and convert to a string
|
|
fixes) in the exporter
|
|
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
|
|
as precondition for several AIRoad::* functions
|
|
actually building a station (API docs typo)
|
|
modifications of the valuated list which could cause it to go into an infinite loop.
|
|
|
|
|
|
AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management
-Change [NoAI]: mark AISubsidy::SourceIsTown, AISubsidy::GetSource, AISubsidy::GetDestinationType, AISubsidy::GetDestination as deprecated
|
|
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
|
|
|
|
|
|
deprecated function is used
|
|
|
|
the Subsidy struct instead of determining it every time it's needed
|
|
|
|
relatives
|
|
|
|
|
|
changelog
|
|
|
|
|
|
|
|
|
|
AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
|
|
|
|
|
|
|
|
rectangle on the map
|
|
|
|
|
|
favour of their Station variants
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
|
|
trainst_h.
|
|
it's written.
|
|
is either a rail station or rail waypoint tile
|
|
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|