# ai_changelog.hpp File Reference

Lists all changes / additions to the API. More...

Go to the source code of this file.

## Detailed Description

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.

0.7.3

API additions:

- AIAbstractList::SORT_ASCENDING
- AIAbstractList::SORT_DESCENDING
- AIAirport::IsAirportInformationAvailable
- AICompany::GetPresidentGender
- AICompany::SetPresidentGender
- AIEngine::GetDesignDate
- AIStation::GetConstructionDate

Other changes:

- AIs are now killed when they execute a DoCommand or Sleep at a time they are not allowed to do so.
- When the API requests a string as parameter you can give every squirrel type and it'll be converted to a string
- AIs can create subclasses of API classes and use API constants as part of their own constants

0.7.2

API additions:

- AIVehicle::GetReliability

Other changes:

- DoCommands and sleeps in call, acall, pcall and valuators are disallowed

0.7.1

API additions:

- AIAirport::GetPrice
- AIController::GetVersion
- AIOrder::AIOF_DEPOT_FLAGS
- AIOrder::AIOF_STOP_IN_DEPOT
- AIOrder::IsCurrentOrderPartOfOrderList
- AIOrder::IsGotoDepotOrder
- AIOrder::IsGotoStationOrder
- AIOrder::IsGotoWaypointOrder
- AISignList
- AITile::CORNER_[WSEN]
- AITile::ERR_AREA_ALREADY_FLAT
- AITile::ERR_EXCAVATION_WOULD_DAMAGE
- AITile::GetCornerHeight
- AITile::GetMaxHeight
- AITile::GetMinHeight
- AIVehicle::SendVehicleToDepotForServicing

Other changes:

- GetURL() was added as optional function to info.nut
- UseAsRandomAI() was added as optional function to info.nut
- A limit was introduced on the time the AI spends in the constructor and Load function

0.7.0

- First stable release with the NoAI framework.

Definition in file ai_changelog.hpp.