summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-26 16:47:31 +0000
committerrubidium <rubidium@openttd.org>2009-11-26 16:47:31 +0000
commit9a87c35cd0fe24c65ac56580343260f94e5504bd (patch)
treed4543f018526d932a8cd424ee018f10f137a50f9 /src/ai
parent25a15c79ae081a19e47a53dab765082c5fe0ada5 (diff)
downloadopenttd-9a87c35cd0fe24c65ac56580343260f94e5504bd.tar.xz
(svn r18299) -Update: the ai changelog document
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/api/ai_changelog.hpp16
1 files changed, 15 insertions, 1 deletions
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
*