Files
@ r28572:dd3e6f760743
Branch filter:
Location: cpp/openttd-patchpack/source/src/script/api/ai_changelog.hpp - annotation
r28572:dd3e6f760743
15.5 KiB
text/x-c++hdr
Update: nlohmann/json to 3.11.3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 | r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r26708:fcfe8e5e499a r23397:3e09f9e42e43 r23397:3e09f9e42e43 r23397:3e09f9e42e43 r26846:5efa43584c79 r28558:9d9a6cccb728 r26846:5efa43584c79 r26892:ee3bfeee4cdf r26846:5efa43584c79 r26890:e661e1f3708a r26890:e661e1f3708a r26890:e661e1f3708a r28374:799fec80d8df r28420:d7244101c0d9 r28420:d7244101c0d9 r28420:d7244101c0d9 r28420:d7244101c0d9 r28420:d7244101c0d9 r28374:799fec80d8df r28374:799fec80d8df r26708:fcfe8e5e499a r26708:fcfe8e5e499a r26439:70e80b807b7d r26439:70e80b807b7d r26161:98df3643a152 r26160:04b069238def r26160:04b069238def r26435:b03b1a6191cb r26435:b03b1a6191cb r26435:b03b1a6191cb r25988:ad2fd577c934 r25988:ad2fd577c934 r25871:df053d6fe8cb r25871:df053d6fe8cb r25871:df053d6fe8cb r25879:24d05d83ae3e r25961:cdb060badef0 r25961:cdb060badef0 r25961:cdb060badef0 r25961:cdb060badef0 r25961:cdb060badef0 r25987:b9d33db7c49f r25987:b9d33db7c49f r25871:df053d6fe8cb r25054:fc5b19a7cb0f r25054:fc5b19a7cb0f r24232:b45b40cc7d16 r24625:34b88aded3ce r24232:b45b40cc7d16 r24232:b45b40cc7d16 r24947:b72fd5d77add r24947:b72fd5d77add r24947:b72fd5d77add r24096:cb8e221271af r24096:cb8e221271af r23419:6b552b72acc7 r23419:6b552b72acc7 r23419:6b552b72acc7 r23419:6b552b72acc7 r23419:6b552b72acc7 r23572:dc2917dc6ef5 r23572:dc2917dc6ef5 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23699:dd8e59969b49 r23699:dd8e59969b49 r23699:dd8e59969b49 r23877:800799329701 r23419:6b552b72acc7 r23821:1c36ff7872a7 r23821:1c36ff7872a7 r23821:1c36ff7872a7 r22764:564422d7281f r22764:564422d7281f r23036:932cf9d10a19 r23036:932cf9d10a19 r23383:0b1bc007be6a r23383:0b1bc007be6a r23385:8b5c5d818774 r23385:8b5c5d818774 r23385:8b5c5d818774 r23385:8b5c5d818774 r22764:564422d7281f r23249:0dd80ccaa0af r23249:0dd80ccaa0af r23387:5159426b3723 r23249:0dd80ccaa0af r22572:c2cb47123468 r22572:c2cb47123468 r23044:56400666cad4 r22572:c2cb47123468 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r22722:8790a73aa324 r22327:f5aaceaaa775 r22572:c2cb47123468 r22327:f5aaceaaa775 r22569:a493dc0f1c55 r21316:52334f119e4d r22327:f5aaceaaa775 r22034:c244a8f7264f r22569:a493dc0f1c55 r22273:03cb0045b240 r22273:03cb0045b240 r22273:03cb0045b240 r22034:c244a8f7264f r21316:52334f119e4d r21451:0bf2db89be68 r21751:e74313e4c9dd r21749:eb934cabf63b r21749:eb934cabf63b r21749:eb934cabf63b r21749:eb934cabf63b r21451:0bf2db89be68 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21451:0bf2db89be68 r22569:a493dc0f1c55 r21616:b509fd2ae3b3 r21616:b509fd2ae3b3 r20043:6b528c4aa319 r20043:6b528c4aa319 r20172:3f30c8c6ef61 r21307:0fc34c69be2d r21219:7180bb39d4d9 r21219:7180bb39d4d9 r20571:85c710859649 r21307:0fc34c69be2d r21307:0fc34c69be2d r20213:7373bc0402e8 r20742:35845025ed4c r20922:151662ea5510 r20921:36ca42247c3a r20172:3f30c8c6ef61 r20172:3f30c8c6ef61 r20571:85c710859649 r20172:3f30c8c6ef61 r20172:3f30c8c6ef61 r22569:a493dc0f1c55 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r19100:7fe59f0fb0d4 r19100:7fe59f0fb0d4 r19224:da5678df5fbc r19375:5e05c9787ff3 r19376:dd573f88a83f r19582:dc0eafc8298f r19224:da5678df5fbc r19224:da5678df5fbc r19639:4c858d9638a6 r19224:da5678df5fbc r22569:a493dc0f1c55 r19546:9d2e6fd6132b r19546:9d2e6fd6132b r19546:9d2e6fd6132b r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18561:e19e8462f369 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18648:265efc219d1e r18648:265efc219d1e r18520:b948d53210e6 r18561:e19e8462f369 r18648:265efc219d1e r18648:265efc219d1e r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18561:e19e8462f369 r18561:e19e8462f369 r20571:85c710859649 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18648:265efc219d1e r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18543:f76d4cf0daee r18543:f76d4cf0daee r19132:6e96c7e6f523 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r20571:85c710859649 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r19218:78b50494da25 r19218:78b50494da25 r19218:78b50494da25 r19218:78b50494da25 r19218:78b50494da25 r19218:78b50494da25 r19218:78b50494da25 r19218:78b50494da25 r19218:78b50494da25 r22569:a493dc0f1c55 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r22569:a493dc0f1c55 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r19944:25a78576fb5e r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r23838:bfeaabaa7b1d r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18668:b656d614c4fd r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r22569:a493dc0f1c55 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 r18520:b948d53210e6 | /*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @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 14.0
*
* This version is not yet released. The following changes are not set in stone yet.
*
* API additions:
* \li AITimeMode
* \li AITown::ROAD_LAYOUT_RANDOM
* \li AIVehicle::IsPrimaryVehicle
*
* API removals:
* \li AIError::ERR_PRECONDITION_TOO_MANY_PARAMETERS, that error is never returned anymore.
*
* Other changes:
* \li AIGroupList accepts an optional filter function
* \li AIIndustryList accepts an optional filter function
* \li AISignList accepts an optional filter function
* \li AISubsidyList accepts an optional filter function
* \li AITownList accepts an optional filter function
* \li AIVehicleList accepts an optional filter function
*
* \b 13.0
*
* API additions:
* \li AICargo::GetWeight
* \li AIIndustryType::ResolveNewGRFID
* \li AIObjectType::ResolveNewGRFID
*
* Other changes:
* \li AIRoad::HasRoadType now correctly checks RoadType against RoadType
*
* \b 12.0
*
* API additions:
* \li AINewGRF
* \li AINewGRFList
* \li AIGroup::GetNumVehicles
* \li AIMarine::BT_LOCK
* \li AIMarine::BT_CANAL
* \li AITile::IsSeaTile
* \li AITile::IsRiverTile
* \li AITile::BT_CLEAR_WATER
* \li AIObjectTypeList
* \li AIObjectType
*
* \b 1.11.0
*
* API additions:
* \li AICargo::GetName
* \li AIPriorityQueue
*
* Other changes:
* \li AIVehicle::CloneVehicle now correctly returns estimate when short on cash
*
* \b 1.10.0
*
* API additions:
* \li AIGroup::SetPrimaryColour
* \li AIGroup::SetSecondaryColour
* \li AIGroup::GetPrimaryColour
* \li AIGroup::GetSecondaryColour
* \li AIVehicle::BuildVehicleWithRefit
* \li AIVehicle::GetBuildWithRefitCapacity
* \li AIRoad::GetName
* \li AIRoad::RoadVehCanRunOnRoad
* \li AIRoad::RoadVehHasPowerOnRoad
* \li AIRoad::ConvertRoadType
* \li AIRoad::GetMaxSpeed
* \li AIEngine::CanRunOnRoad
* \li AIEngine::HasPowerOnRoad
* \li AIRoadTypeList::RoadTypeList
* \li AIEventVehicleAutoReplaced
*
* Other changes:
* \li AITile::DemolishTile works without a selected company
*
* \b 1.9.0
*
* API additions:
* \li AIAirport::GetMonthlyMaintenanceCost
* \li AIGroup::SetParent
* \li AIGroup::GetParent
* \li AICompany::SetPrimaryLiveryColour
* \li AICompany::SetSecondaryLiveryColour
* \li AICompany::GetPrimaryLiveryColour
* \li AICompany::GetSecondaryLiveryColour
*
* Other changes:
* \li AIBridge::GetName takes one extra parameter to refer the vehicle type
* \li AIGroup::CreateGroup gains parent_group_id parameter
*
* \b 1.8.0
*
* No changes
*
* API additions:
* \li AIRoad::ERR_ROADTYPE_DISALLOWS_CROSSING
*
* \b 1.7.0 - 1.7.2
*
* No changes
*
* \b 1.6.1 - 1.6.0
*
* No changes
*
* \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 - 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 - 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 - 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
* \li AICompany::GetQuarterlyIncome
* \li AICompany::GetQuarterlyExpenses
* \li AICompany::GetQuarterlyCargoDelivered
* \li AICompany::GetQuarterlyPerformanceRating
* \li AICompany::GetQuarterlyCompanyValue
* \li AIController::GetOpsTillSuspend
* \li AIEngine::GetMaximumOrderDistance
* \li AIEventAircraftDestTooFar
* \li AIInfo::CONFIG_DEVELOPER
* \li AIInfrastructure
* \li AIOrder::ERR_ORDER_AIRCRAFT_NOT_ENOUGH_RANGE
* \li AIOrder::GetOrderDistance
* \li AIOrder::GetOrderRefit
* \li AIOrder::IsRefitOrder
* \li AIOrder::SetOrderRefit
* \li AIRail::GetMaintenanceCostFactor
* \li AIRoad::GetMaintenanceCostFactor
* \li AITile::GetTownAuthority
* \li AITown::GetCargoGoal
* \li AITown::GetGrowthRate
* \li AITown::GetLastMonthReceived
* \li AITownEffectList (to walk over all available town effects)
* \li AIVehicle::ERR_VEHICLE_TOO_LONG in case vehicle length limit is reached
* \li AIVehicle::GetMaximumOrderDistance
*
* API renames:
* \li AITown::GetLastMonthTransported to AITown::GetLastMonthSupplied to better
* reflect what it does.
* \li AIInfo has all its configure settings renamed from AICONFIG to just CONFIG
* like CONFIG_RANDOM.
* \li AIEvent has all its types renamed from AI_ET_ prefix to just ET_ prefix,
* like ET_SUBSIDY_OFFER.
* \li AIOrder has all its types renamed from AIOF_ prefix to just OF_ prefix.
*
* API removals:
* \li AICompany::GetCompanyValue, use AICompany::GetQuarterlyCompanyValue instead.
*
* Other changes:
* \li AITown::GetLastMonthProduction no longer has prerequisites based on town
* effects.
* \li AITown::GetLastMonthTransported resp. AITown::GetLastMonthSupplied no longer has prerequisites based on
* town effects.
* \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 - 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
* \li AIRail::GetName
* \li AITown::IsCity
*
* API removals:
* \li HasNext for all lists.
* \li AIAbstractList, use AIList instead.
* \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 - 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.
*
* \b 1.0.1
*
* API additions:
* \li AIRail::GetMaxSpeed
*
* \b 1.0.0
*
* API additions:
* \li AIBaseStation
* \li AIEngine::IsBuildable
* \li AIEventCompanyAskMerger
* \li AIIndustry::GetLastMonthTransportedPercentage
* \li AIInfo::AICONFIG_INGAME
* \li AIMarine::GetBuildCost
* \li AIOrder::AIOF_GOTO_NEAREST_DEPOT
* \li AIOrder::GetStopLocation
* \li AIOrder::SetStopLocation
* \li AIRail::RemoveRailStationTileRectangle
* \li AIRail::RemoveRailWaypointTileRectangle
* \li AIRail::GetBuildCost
* \li AIRoad::GetBuildCost
* \li AISubsidy::SubsidyParticipantType
* \li AISubsidy::GetSourceType
* \li AISubsidy::GetSourceIndex
* \li AISubsidy::GetDestinationType
* \li AISubsidy::GetDestinationIndex
* \li AITile::GetBuildCost
* \li AITown::GetLastMonthTransportedPercentage
* \li AIVehicleList_Depot
* \li AIWaypoint::WaypointType
* \li AIWaypoint::HasWaypointType
* \li Some error messages to AIWaypoint
*
* API removals:
* \li AIOrder::ChangeOrder, use AIOrder::SetOrderFlags instead
* \li AIRail::RemoveRailStationTileRect, use AIRail::RemoveRailStationTileRectangle instead
* \li AIRail::RemoveRailWaypoint, use AIRail::RemoveRailWaypointTileRectangle instead
* \li AISign::GetMaxSignID, use AISignList instead
* \li AIStation::ERR_STATION_TOO_LARGE, use AIError::ERR_STATION_TOO_SPREAD_OUT instead
* \li AISubsidy::SourceIsTown, use AISubsidy::GetSourceType instead
* \li AISubsidy::GetSource, use AISubsidy::GetSourceIndex instead
* \li AISubsidy::DestinationIsTown, use AISubsidy::GetDestinationType instead
* \li AISubsidy::GetDestination, use AISubsidy::GetDestinationIndex instead
* \li AITile::GetHeight, use AITile::GetMinHeight/GetMaxHeight/GetCornerHeight instead
* \li AITown::GetMaxProduction, use AITown::GetLastMonthProduction instead
* \li AIVehicle::SkipToVehicleOrder, use AIOrder::SkipToOrder instead
* \li AIWaypoint::WAYPOINT_INVALID, use AIBaseStation::STATION_INVALID instead
*
* 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
* \li The GetConstructionDate function was moved from AIStation to
* AIBaseStation, but can still be used as AIStation.GetConstructionDate
* \li WaypointID was replaced by StationID. All WaypointIDs from previous
* savegames are invalid. Use STATION_INVALID instead of WAYPOINT_INVALID
* \li AIWaypointList constructor now needs a WaypointType similar to AIStationList,
* it can also handle buoys.
* \li AIVehicleList_Station now also works for waypoints
* \li Stations can be build over rail without signals that is in the right
* direction for the to-be built station. It will also convert the rail if
* the station's rail type supports the old type.
* \li GetAPIVersion() was added as function to info.nut. If it does not exist
* API version 0.7 is assumed. This function should return the major and
* minor number of the stable version of the API the AI is written against.
* For 0.7.2 that would be 0.7, for 1.1.3 it would be 1.1, etc.
* \li The subsidy logic has changed. Subsidy is now awarded when cargo
* originating from subsidy source is delivered to station that has subsidy
* destination it its catchment area. One industry tile or one town house
* is enough as long as station accepts the cargo. Awarded subsidies are no
* longer bound to stations used for first delivery, any station can be
* used for loading and unloading as long as cargo is transferred from
* source to destination.
* \li Make AIEngine:CanRefitCargo() not report refittability to mail by
* default for aircraft. It is not necessarily true. This means that even
* if the aircraft can carry mail (as secondary cargo) it does not return
* true if the aircraft cannot carry it as its only cargo.
* \li Improve behaviour of AIEngine::GetCargoType(), AIEventEnginePreview::GetCargoType()
* and AIEngine::CanRefitCargo() for articulated vehicles. For
* CanRefitCargo true is returned if at least one part can be refitted.
* For GetCargoType the first most used cargo type is returned.
* \li AIIndustryType::GetConstructionCost() now returns -1 if the industry is
* neither buildable nor prospectable.
* \li AIEngine::IsValidEngine will now return true if you have at least one
* vehicle of that type in your company, regardless if it's still buildable
* or not. AIEngine::IsBuildable returns only true when you can actually
* build an engine.
* \li AITile::GetCargoProduction will now return the number of producers,
* 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 - 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
* \li AIStation::GetConstructionDate
*
* 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 every squirrel
* type and it will be converted to a string
* \li AIs can create subclasses of API classes and use API constants as part
* of their own constants
*
* \b 0.7.2
*
* API additions:
* \li AIVehicle::GetReliability
*
* Other changes:
* \li DoCommands and sleeps in call, acall, pcall and valuators are disallowed
*
* \b 0.7.1
*
* API additions:
* \li AIAirport::GetPrice
* \li AIController::GetVersion
* \li AIOrder::AIOF_DEPOT_FLAGS
* \li AIOrder::AIOF_STOP_IN_DEPOT
* \li AIOrder::IsCurrentOrderPartOfOrderList
* \li AIOrder::IsGotoDepotOrder
* \li AIOrder::IsGotoStationOrder
* \li AIOrder::IsGotoWaypointOrder
* \li AISignList
* \li AITile::CORNER_[WSEN]
* \li AITile::ERR_AREA_ALREADY_FLAT
* \li AITile::ERR_EXCAVATION_WOULD_DAMAGE
* \li AITile::GetCornerHeight
* \li AITile::GetMaxHeight
* \li AITile::GetMinHeight
* \li AIVehicle::SendVehicleToDepotForServicing
*
* 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.
*/
|