From 9a87c35cd0fe24c65ac56580343260f94e5504bd Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 26 Nov 2009 16:47:31 +0000 Subject: (svn r18299) -Update: the ai changelog document --- src/ai/api/ai_changelog.hpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/ai/api') diff --git a/src/ai/api/ai_changelog.hpp b/src/ai/api/ai_changelog.hpp index e2c02158e..61ce3d5a8 100644 --- a/src/ai/api/ai_changelog.hpp +++ b/src/ai/api/ai_changelog.hpp @@ -69,6 +69,20 @@ * longer bound to stations used for first delivery, any station can be * used for loading and unloading as long as cargo is transfered 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|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. + * + * \b 0.7.4 + * + * No changes * * \b 0.7.3 * @@ -85,7 +99,7 @@ * \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'll be converted to a string + * 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 * -- cgit v1.2.3-70-g09d2