Age | Commit message (Collapse) | Author |
|
|
|
|
|
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
|
|
operations for the current tick
|
|
100.000 opcodes for free
|
|
performance information (Morloth)
|
|
|
|
|
|
|
|
|
|
the regression test comparison
|
|
|
|
grow faster than others (Lord Aro)
|
|
|
|
|
|
|
|
"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.
|
|
|
|
|
|
-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.
|
|
become bankrupt.
|
|
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
|