Age | Commit message (Collapse) | Author |
|
GetIndustryByTile()
|
|
ERR_PRECONDITION_ERROR for road/rail-crossings
|
|
available company slot causing other AIs to be started
|
|
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
|
|
|
|
|
|
3rdparty directory.
|
|
|
|
|
|
DoCommand during Save() instead of failing to save
|
|
as they should
|
|
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.
|
|
|
|
not fit entirely.
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
AIs can subclass API classes and use API constants as part of their own constants
|
|
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
|