Age | Commit message (Collapse) | Author |
|
|
|
including of newgrf_cargo.h
|
|
(AIEngine|AIEventEnginePreview)::GetCargoType() and AIEngine::CanRefitCargo() wrt. articulated vehicles.
|
|
|
|
refittability to Mail by default for aircraft. It is not necessarily true, and the special case of carrying both passenger&mail is better handled by AIs themself than by the API.
|
|
EngineInfo::refit_mask during initialisation.
|
|
squirrel wrapper code
|
|
|
|
|
|
|
|
|
|
in their instantiation of AIInfo.
|
|
|
|
AIAirport::IsAirportInformationAvailable. Also update several preconditions so it's now possible to get information on airports types that can no longer be build (small airport after 1960)
|
|
which were sometimes missing and sometimes just typos
|
|
work though
|
|
|
|
SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions
|
|
with GetDepotIndex(tile)
|
|
a specific depot
|
|
|
|
|
|
unless Ctrl is pressed. This makes the behaviour consistent between the two.
|
|
deprecation (yet), but make it clear that the wrapper is running and what (slight) changes there are w.r.t. to 0.7.
|
|
building (in the future buying) vehicles.
|
|
actually useful when building industries
|
|
|
|
false for stations with OWNER_NONE
|
|
their parameters were valid
|
|
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
|