Age | Commit message (Collapse) | Author |
|
|
|
API and using AIList::ChangeItem
|
|
|
|
|
|
possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type
|
|
"base" unit for aircraft speeds
|
|
difference was more than "MAX_UINT"/2
|
|
(Morloth)
|
|
|
|
AIEngine::IsBuildable() returned false positives. Especially wagons of unavailable railtypes were reported available.
|
|
|
|
costs.
|
|
generally extent it to handle 32 bits.
|
|
limit of railtypes
|
|
of a road vehicle.
|
|
add IsEnd() instead.
|
|
iterators.
|
|
|
|
|
|
location of trains in a rail station
|
|
classes to get easier cost estimations before you start building
|
|
are valid
|
|
when building a station could be incorrect (missing a cargo)
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
|
|
AIWaypoint::HasWaypointType().
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
|
|
certain engine.
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
|
|
|
|
|
|
duplicate or AIOrder.SkipToOrder
|
|
-1, if the industry is neither buildable nor prospectable.
|
|
|
|
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)
|
|
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.
|
|
become bankrupt.
|
|
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
|
|
|
|
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.
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
valid signs. This makes AISign::GetMaxSignID obsolete.
|
|
companies to the default values, not to 0 or the local settings
|
|
|
|
of an airport
|
|
|