File diff r22568:df7ef8916103 → r22569:a493dc0f1c55
src/script/api/ai_changelog.hpp
Show inline comments
 
@@ -10,124 +10,91 @@
 
/**
 
 * @file ai_changelog.hpp Lists all changes / additions to the API.
 
 *
 
 * Only new / renamed / deleted api functions will be listed here. A list of
 
 * bug fixes can be found in the normal changelog. Note that removed API
 
 * functions may still be available if you return an older API version
 
 * in GetAPIVersion() in info.nut.
 
 *
 
 * \b 1.7.0
 
 *
 
 * 1.7.0 is not yet released. The following changes are not set in stone yet.
 
 *
 
 * \b 1.6.0
 
 * \b 1.6.1 - 1.6.0
 
 *
 
 * No changes
 
 *
 
 * \b 1.5.3
 
 *
 
 * No changes
 
 *
 
 * \b 1.5.2
 
 *
 
 * No changes
 
 *
 
 * \b 1.5.1
 
 * \b 1.5.3 - 1.5.1
 
 *
 
 * No changes
 
 *
 
 * \b 1.5.0
 
 *
 
 * API additions:
 
 * \li AIList::SwapList
 
 * \li AIStation::GetCargoPlanned
 
 * \li AIStation::GetCargoPlannedFrom
 
 * \li AIStation::GetCargoPlannedFromVia
 
 * \li AIStation::GetCargoPlannedVia
 
 * \li AIStation::GetCargoWaitingFromVia
 
 * \li AIStationList_CargoPlannedByFrom
 
 * \li AIStationList_CargoPlannedByVia
 
 * \li AIStationList_CargoPlannedFromByVia
 
 * \li AIStationList_CargoPlannedViaByFrom
 
 * \li AIStationList_CargoWaitingByFrom
 
 * \li AIStationList_CargoWaitingByVia
 
 * \li AIStationList_CargoWaitingFromByVia
 
 * \li AIStationList_CargoWaitingViaByFrom
 
 *
 
 * \b 1.4.4
 
 *
 
 * No changes
 
 *
 
 * \b 1.4.3
 
 *
 
 * No changes
 
 *
 
 * \b 1.4.2
 
 *
 
 * No changes
 
 *
 
 * \b 1.4.1
 
 *
 
 * \b 1.4.4 - 1.4.1
 
 * No changes
 
 *
 
 * \b 1.4.0
 
 *
 
 * API additions:
 
 * \li AICargo::GetDistributionType
 
 * \li AIDate::DATE_INVALID
 
 * \li AIDate::IsValidDate
 
 * \li AIStation::HasCargoRating
 
 * \li AIStation::GetCargoWaitingFrom
 
 * \li AIStation::GetCargoWaitingVia
 
 * \li AITile::GetTerrainType
 
 * \li AITown::FoundTown
 
 * \li AITown::GetFundBuildingsDuration
 
 * \li AITown::TOWN_GROWTH_NONE
 
 *
 
 * Other changes:
 
 * \li AIStation::GetCargoRating does return -1 for cargo-station combinations that
 
 *     do not have a rating yet instead of returning 69.
 
 *
 
 * \b 1.3.3
 
 *
 
 * No changes
 
 *
 
 * \b 1.3.2
 
 * \b 1.3.3 - 1.3.2
 
 *
 
 * No changes
 
 *
 
 * \b 1.3.1
 
 *
 
 * API additions:
 
 * \li AITile::GetTerrainType
 
 *
 
 * \b 1.3.0
 
 *
 
 * API additions:
 
 * \li AIEventExclusiveTransportRights
 
 * \li AIEventRoadReconstruction
 
 * \li AIIndustryType::IsProcessingIndustry
 
 * \li AIStation::IsAirportClosed
 
 * \li AIStation::OpenCloseAirport
 
 * \li AIController::Break
 
 *
 
 * \b 1.2.3
 
 *
 
 * No changes
 
 *
 
 * \b 1.2.2
 
 *
 
 * No changes
 
 *
 
 * \b 1.2.1
 
 * \b 1.2.3 - 1.2.1
 
 *
 
 * No changes
 
 *
 
 * \b 1.2.0
 
 *
 
 * API additions:
 
 *
 
 * \li AIAirport::GetMaintenanceCostFactor
 
 * \li AICargo::CT_AUTO_REFIT
 
 * \li AICargo::CT_NO_REFIT
 
 * \li AICargo::IsValidTownEffect
 
 * \li AICargoList_StationAccepting
 
@@ -176,33 +143,25 @@
 
 * \li AITown::GetLastMonthTransportedPercentage no longer has prerequisites
 
 *     based on town effects.
 
 *
 
 * \b 1.1.5
 
 *
 
 * No changes
 
 *
 
 * \b 1.1.4
 
 *
 
 * API additions:
 
 * \li AIVehicle::ERR_VEHICLE_TOO_LONG in case vehicle length limit is reached.
 
 *
 
 * \b 1.1.3
 
 *
 
 * No changes
 
 *
 
 * \b 1.1.2
 
 *
 
 * No changes
 
 *
 
 * \b 1.1.1
 
 * \b 1.1.3 - 1.1.1
 
 *
 
 * No changes
 
 *
 
 * \b 1.1.0
 
 *
 
 * API additions:
 
 * \li IsEnd for all lists.
 
 * \li AIEventTownFounded
 
 * \li AIIndustry::GetIndustryID
 
 * \li AIIndustryType::INDUSTRYTYPE_TOWN
 
 * \li AIIndustryType::INDUSTRYTYPE_UNKNOWN
 
 * \li AIOrder::IsVoidOrder
 
@@ -215,29 +174,25 @@
 
 * \li AIList::ChangeItem, use AIList::SetValue instead.
 
 * \li AIRail::ERR_NONUNIFORM_STATIONS_DISABLED, that error is never returned anymore.
 
 *
 
 * Other changes:
 
 * \li AIEngine::GetMaxTractiveEffort can be used for road vehicles.
 
 * \li AIEngine::GetPower can be used for road vehicles.
 
 * \li AIEngine::GetWeight can be used for road vehicles.
 
 * \li AIIndustry::IsCargoAccepted now returns CargoAcceptState instead of a boolean.
 
 * \li AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders as well.
 
 * \li AIRoad::BuildDriveThroughRoadStation now allows overbuilding.
 
 * \li AIRoad::BuildRoadStation now allows overbuilding.
 
 *
 
 * \b 1.0.5
 
 *
 
 * No changes
 
 *
 
 * \b 1.0.4
 
 * \b 1.0.5 - 1.0.4
 
 *
 
 * No changes
 
 *
 
 * \b 1.0.3
 
 *
 
 * API additions:
 
 * \li AIRail::ERR_RAILTYPE_DISALLOWS_CROSSING
 
 *
 
 * \b 1.0.2
 
 *
 
 * Other changes:
 
 * \li AIBridge::GetPrice now returns the price of the bridge without the cost for the rail or road.
 
@@ -333,29 +288,25 @@
 
 *     including houses instead the number of producing tiles. This means that
 
 *     also industries that do not have a tile within the radius, but where
 
 *     the search bounding box and the industry's bounding box intersect, are
 
 *     counted. Previously these industries (and their cargoes), although they
 
 *     produced cargo for a station at the given location, were not returned.
 
 * \li AIRail::BuildRail will now fail completely if there is an obstacle
 
 *     between the begin and end, instead of building up to the obstacle and
 
 *     returning that everything went okay.
 
 * \li Orders for buoys are now waypoint orders, i.e. instead of using the
 
 *     station orders for buoys one has to use waypoint orders.
 
 * \li Autoreplaces can now also be set for the default group via AIGroup.
 
 *
 
 * \b 0.7.5
 
 *
 
 * No changes
 
 *
 
 * \b 0.7.4
 
 * \b 0.7.5 - 0.7.4
 
 *
 
 * No changes
 
 *
 
 * \b 0.7.3
 
 *
 
 * API additions:
 
 * \li AIAbstractList::SORT_ASCENDING
 
 * \li AIAbstractList::SORT_DESCENDING
 
 * \li AIAirport::IsAirportInformationAvailable
 
 * \li AICompany::GetPresidentGender
 
 * \li AICompany::SetPresidentGender
 
 * \li AIEngine::GetDesignDate