2009-08-01 10:48:22 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/** @file ai_changelog.hpp Lists all changes / additions to the API.
|
|
|
|
*
|
|
|
|
* Only new / renamed / deleted api functions will be listed here. A list of
|
2009-08-20 13:36:48 +00:00
|
|
|
* 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.
|
2009-08-01 10:48:22 +00:00
|
|
|
*
|
|
|
|
* \b 0.8.0
|
|
|
|
*
|
|
|
|
* API additions:
|
|
|
|
* \li AIBaseStation
|
2009-08-01 16:59:53 +00:00
|
|
|
* \li AIBuoyList
|
|
|
|
* \li AIRail::RemoveRailWaypointTileRect
|
2009-08-08 16:53:22 +00:00
|
|
|
* \li AISubsidy::SubsidyParticipantType
|
|
|
|
* \li AISubsidy::GetSourceType
|
|
|
|
* \li AISubsidy::GetSourceIndex
|
|
|
|
* \li AISubsidy::GetDestinationType
|
|
|
|
* \li AISubsidy::GetDestinationIndex
|
2009-08-01 10:48:22 +00:00
|
|
|
*
|
2009-08-20 13:36:48 +00:00
|
|
|
* API removals:
|
|
|
|
* \li AIOrder::ChangeOrder
|
|
|
|
* \li AISign::GetMaxSignID
|
|
|
|
* \li AITile::GetHeight
|
|
|
|
* \li AIBaseStation::WAYPOINT_INVALID
|
|
|
|
* \li AISubsidy::SourceIsTown
|
|
|
|
* \li AISubsidy::GetSource
|
|
|
|
* \li AISubsidy::DestinationIsTown
|
|
|
|
* \li AISubsidy::GetDestination
|
|
|
|
* \li AIWaypoint::WAYPOINT_INVALID
|
|
|
|
*
|
2009-08-01 10:48:22 +00:00
|
|
|
* Other changes:
|
|
|
|
* \li The GetName / SetName / GetLocation functions were moved from AIStation
|
|
|
|
* and AIWaypoint to AIBaseStation, but you can still use AIStation.GetName
|
|
|
|
* as before
|
2009-08-06 19:35:58 +00:00
|
|
|
* \li The GetConstructionDate function was moved from AIStation to
|
|
|
|
* AIBaseStation, but can still be used as AIStation.GetConstructionDate
|
2009-08-01 10:48:22 +00:00
|
|
|
* \li WaypointID was replaced by StationID. All WaypointIDs from previous
|
2009-08-20 13:36:48 +00:00
|
|
|
* savegames are invalid. Use STATION_INVALID instead of WAYPOINT_INVALID
|
2009-08-08 16:36:06 +00:00
|
|
|
* \li AIVehicleList_Station now also works for waypoints
|
2009-08-06 19:35:58 +00:00
|
|
|
*
|
|
|
|
* \b 0.7.3
|
|
|
|
*
|
|
|
|
* API additions:
|
|
|
|
* \li AIAbstractList::SORT_ASCENDING
|
|
|
|
* \li AIAbstractList::SORT_DESCENDING
|
|
|
|
* \li AICompany::GetPresidentGender
|
|
|
|
* \li AICompany::SetPresidentGender
|
|
|
|
* \li AIEngine::GetDesignDate
|
|
|
|
* \li AIStation::GetConstructionDate
|
2009-08-01 10:48:22 +00:00
|
|
|
*
|
2009-08-20 13:36:48 +00:00
|
|
|
* Other changes:
|
|
|
|
* \li AIs are now killed when they execute a DoCommand or Sleep at a time
|
|
|
|
* they are not allowed to do so.
|
|
|
|
* \li When the API requests a string as parameter you can give ever squirrel
|
|
|
|
* type and it'll be converted to a string
|
|
|
|
* \li AIs can create subclasses of API classes and use API constants as part
|
|
|
|
* of their own constants
|
|
|
|
*
|
2009-08-01 10:48:22 +00:00
|
|
|
* \b 0.7.2
|
|
|
|
*
|
|
|
|
* API additions:
|
|
|
|
* \li AIVehicle::GetReliability
|
|
|
|
*
|
2009-08-06 19:35:58 +00:00
|
|
|
* Other changes:
|
|
|
|
* \li DoCommands and sleeps in call, acall, pcall and valuators are disallowed
|
|
|
|
*
|
2009-08-01 10:48:22 +00:00
|
|
|
* \b 0.7.1
|
|
|
|
*
|
|
|
|
* API additions:
|
|
|
|
* \li AIAirport::GetPrice
|
|
|
|
* \li AIController::GetVersion
|
2009-08-06 19:35:58 +00:00
|
|
|
* \li AIOrder::AIOF_DEPOT_FLAGS
|
2009-08-01 10:48:22 +00:00
|
|
|
* \li AIOrder::AIOF_STOP_IN_DEPOT
|
|
|
|
* \li AIOrder::IsCurrentOrderPartOfOrderList
|
|
|
|
* \li AIOrder::IsGotoDepotOrder
|
|
|
|
* \li AIOrder::IsGotoStationOrder
|
|
|
|
* \li AIOrder::IsGotoWaypointOrder
|
|
|
|
* \li AISignList
|
2009-08-06 19:35:58 +00:00
|
|
|
* \li AITile::CORNER_[WSEN]
|
2009-08-01 10:48:22 +00:00
|
|
|
* \li AITile::ERR_AREA_ALREADY_FLAT
|
|
|
|
* \li AITile::ERR_EXCAVATION_WOULD_DAMAGE
|
|
|
|
* \li AITile::GetCornerHeight
|
|
|
|
* \li AITile::GetMaxHeight
|
|
|
|
* \li AITile::GetMinHeight
|
2009-08-06 19:35:58 +00:00
|
|
|
* \li AIVehicle::SendVehicleToDepotForServicing
|
2009-08-01 10:48:22 +00:00
|
|
|
*
|
|
|
|
* Other changes:
|
|
|
|
* \li GetURL() was added as optional function to info.nut
|
|
|
|
* \li UseAsRandomAI() was added as optional function to info.nut
|
|
|
|
* \li A limit was introduced on the time the AI spends in the constructor and Load function
|
|
|
|
*
|
|
|
|
* \b 0.7.0
|
|
|
|
* \li First stable release with the NoAI framework.
|
|
|
|
*/
|