diff options
author | rubidium <rubidium@openttd.org> | 2010-08-06 19:04:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-06 19:04:21 +0000 |
commit | 90a35d2e5b3728a8cd7fe1717d6c940b525cca9e (patch) | |
tree | c069c37fe0b72cad7b5c053f49ff13ea7213f702 /src/ai/api/ai_changelog.hpp | |
parent | d54f2ba21f2711d3ce8fe9f19fd7ab6645107c5b (diff) | |
download | openttd-90a35d2e5b3728a8cd7fe1717d6c940b525cca9e.tar.xz |
(svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid Order)" orders.
[NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
Diffstat (limited to 'src/ai/api/ai_changelog.hpp')
-rw-r--r-- | src/ai/api/ai_changelog.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_changelog.hpp b/src/ai/api/ai_changelog.hpp index 03ba5dca4..b767778d9 100644 --- a/src/ai/api/ai_changelog.hpp +++ b/src/ai/api/ai_changelog.hpp @@ -24,6 +24,7 @@ * \li AIIndustry::GetIndustryID * \li AIIndustryType::INDUSTRYTYPE_TOWN * \li AIIndustryType::INDUSTRYTYPE_UNKNOWN + * \li AIOrder::IsVoidOrder * * API removals: * \li HasNext for all lists. @@ -34,6 +35,7 @@ * \li AIEngine::GetPower can be used for road vehicles. * \li AIEngine::GetWeight can be used for road vehicles. * \li AIEngine::GetMaxTractiveEffort can be used for road vehicles. + * \li AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders as well. * * \b 1.0.3 * |