Mercurial > hg > openttd
annotate src/script/api/ai_changelog.hpp @ 18530:9b6f5e29506d draft
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
author | truebrain <truebrain@openttd.org> |
---|---|
date | Tue, 29 Nov 2011 23:31:55 +0000 |
parents | |
children | ad8b29abd4d7 |
rev | line source |
---|---|
18530
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
1 /* $Id$ */ |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
2 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
3 /* |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
4 * This file is part of OpenTTD. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
5 * 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. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
6 * 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. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
7 * 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/>. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
8 */ |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
9 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
10 /** |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
11 * @file ai_changelog.hpp Lists all changes / additions to the API. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
12 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
13 * Only new / renamed / deleted api functions will be listed here. A list of |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
14 * bug fixes can be found in the normal changelog. Note that removed API |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
15 * functions may still be available if you return an older API version |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
16 * in GetAPIVersion() in info.nut. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
17 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
18 * \b 1.2.0 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
19 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
20 * 1.2.0 is not yet released. The following changes are not set in stone yet. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
21 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
22 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
23 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
24 * \li AICargo::CT_AUTO_REFIT |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
25 * \li AICargo::CT_NO_REFIT |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
26 * \li AICargo::IsValidTownEffect |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
27 * \li AICargoList_StationAccepting |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
28 * \li AICompany::GetQuarterlyIncome |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
29 * \li AICompany::GetQuarterlyExpenses |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
30 * \li AICompany::GetQuarterlyCargoDelivered |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
31 * \li AICompany::GetQuarterlyPerformanceRating |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
32 * \li AICompany::GetQuarterlyCompanyValue |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
33 * \li AIController::GetOpsTillSuspend |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
34 * \li AIInfo::CONFIG_DEVELOPER |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
35 * \li AIOrder::GetOrderRefit |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
36 * \li AIOrder::IsRefitOrder |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
37 * \li AIOrder::SetOrderRefit |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
38 * \li AITown::GetCargoGoal |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
39 * \li AITown::GetGrowthRate |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
40 * \li AITown::GetLastMonthReceived |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
41 * \li AITown::GetTownAuthority |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
42 * \li AITownEffectList (to walk over all available town effects) |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
43 * \li AIVehicle::ERR_VEHICLE_TOO_LONG in case vehicle length limit is reached |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
44 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
45 * API renames: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
46 * \li AITown::GetLastMonthTransported to AITown::GetLastMonthSupplied to better |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
47 * reflect what it does. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
48 * \li AIInfo has all its configure settings renamed from AICONFIG to just CONFIG |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
49 * like CONFIG_RANDOM. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
50 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
51 * API removals: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
52 * \li AICompany::GetCompanyValue, use AICompany::GetQuarterlyCompanyValue instead. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
53 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
54 * Other changes: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
55 * \li AITown::GetLastMonthProduction no longer has prerequisites based on town |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
56 * effects. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
57 * \li AITown::GetLastMonthTransported no longer has prerequisites based on |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
58 * town effects. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
59 * \li AITown::GetLastMonthTransportedPercentage no longer has prerequisites |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
60 * based on town effects. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
61 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
62 * \b 1.1.2 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
63 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
64 * No changes |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
65 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
66 * \b 1.1.1 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
67 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
68 * No changes |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
69 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
70 * \b 1.1.0 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
71 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
72 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
73 * \li IsEnd for all lists. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
74 * \li AIEventTownFounded |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
75 * \li AIIndustry::GetIndustryID |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
76 * \li AIIndustryType::INDUSTRYTYPE_TOWN |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
77 * \li AIIndustryType::INDUSTRYTYPE_UNKNOWN |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
78 * \li AIOrder::IsVoidOrder |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
79 * \li AIRail::GetName |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
80 * \li AITown::IsCity |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
81 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
82 * API removals: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
83 * \li HasNext for all lists. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
84 * \li AIAbstractList, use AIList instead. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
85 * \li AIList::ChangeItem, use AIList::SetValue instead. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
86 * \li AIRail::ERR_NONUNIFORM_STATIONS_DISABLED, that error is never returned anymore. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
87 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
88 * Other changes: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
89 * \li AIEngine::GetMaxTractiveEffort can be used for road vehicles. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
90 * \li AIEngine::GetPower can be used for road vehicles. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
91 * \li AIEngine::GetWeight can be used for road vehicles. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
92 * \li AIIndustry::IsCargoAccepted now returns CargoAcceptState instead of a boolean. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
93 * \li AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders as well. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
94 * \li AIRoad::BuildDriveThroughRoadStation now allows overbuilding. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
95 * \li AIRoad::BuildRoadStation now allows overbuilding. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
96 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
97 * \b 1.0.5 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
98 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
99 * No changes |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
100 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
101 * \b 1.0.4 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
102 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
103 * No changes |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
104 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
105 * \b 1.0.3 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
106 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
107 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
108 * \li AIRail::ERR_RAILTYPE_DISALLOWS_CROSSING |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
109 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
110 * \b 1.0.2 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
111 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
112 * Other changes: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
113 * \li AIBridge::GetPrice now returns the price of the bridge without the cost for the rail or road. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
114 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
115 * \b 1.0.1 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
116 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
117 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
118 * \li AIRail::GetMaxSpeed |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
119 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
120 * \b 1.0.0 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
121 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
122 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
123 * \li AIBaseStation |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
124 * \li AIEngine::IsBuildable |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
125 * \li AIEventCompanyAskMerger |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
126 * \li AIIndustry::GetLastMonthTransportedPercentage |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
127 * \li AIInfo::AICONFIG_INGAME |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
128 * \li AIMarine::GetBuildCost |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
129 * \li AIOrder::AIOF_GOTO_NEAREST_DEPOT |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
130 * \li AIOrder::GetStopLocation |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
131 * \li AIOrder::SetStopLocation |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
132 * \li AIRail::RemoveRailStationTileRectangle |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
133 * \li AIRail::RemoveRailWaypointTileRectangle |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
134 * \li AIRail::GetBuildCost |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
135 * \li AIRoad::GetBuildCost |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
136 * \li AISubsidy::SubsidyParticipantType |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
137 * \li AISubsidy::GetSourceType |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
138 * \li AISubsidy::GetSourceIndex |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
139 * \li AISubsidy::GetDestinationType |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
140 * \li AISubsidy::GetDestinationIndex |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
141 * \li AITile::GetBuildCost |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
142 * \li AITown::GetLastMonthTransportedPercentage |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
143 * \li AIVehicleList_Depot |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
144 * \li AIWaypoint::WaypointType |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
145 * \li AIWaypoint::HasWaypointType |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
146 * \li Some error messages to AIWaypoint |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
147 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
148 * API removals: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
149 * \li AIOrder::ChangeOrder, use AIOrder::SetOrderFlags instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
150 * \li AIRail::RemoveRailStationTileRect, use AIRail::RemoveRailStationTileRectangle instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
151 * \li AIRail::RemoveRailWaypoint, use AIRail::RemoveRailWaypointTileRectangle instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
152 * \li AISign::GetMaxSignID, use AISignList instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
153 * \li AIStation::ERR_STATION_TOO_LARGE, use AIError::ERR_STATION_TOO_SPREAD_OUT instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
154 * \li AISubsidy::SourceIsTown, use AISubsidy::GetSourceType instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
155 * \li AISubsidy::GetSource, use AISubsidy::GetSourceIndex instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
156 * \li AISubsidy::DestinationIsTown, use AISubsidy::GetDestinationType instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
157 * \li AISubsidy::GetDestination, use AISubsidy::GetDestinationIndex instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
158 * \li AITile::GetHeight, use AITile::GetMinHeight/GetMaxHeight/GetCornerHeight instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
159 * \li AITown::GetMaxProduction, use AITown::GetLastMonthProduction instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
160 * \li AIVehicle::SkipToVehicleOrder, use AIOrder::SkipToOrder instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
161 * \li AIWaypoint::WAYPOINT_INVALID, use AIBaseStation::STATION_INVALID instead |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
162 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
163 * Other changes: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
164 * \li The GetName / SetName / GetLocation functions were moved from AIStation |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
165 * and AIWaypoint to AIBaseStation, but you can still use AIStation.GetName |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
166 * as before |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
167 * \li The GetConstructionDate function was moved from AIStation to |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
168 * AIBaseStation, but can still be used as AIStation.GetConstructionDate |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
169 * \li WaypointID was replaced by StationID. All WaypointIDs from previous |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
170 * savegames are invalid. Use STATION_INVALID instead of WAYPOINT_INVALID |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
171 * \li AIWaypointList constructor now needs a WaypointType similiar to AIStationList, |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
172 * it can also handle buoys. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
173 * \li AIVehicleList_Station now also works for waypoints |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
174 * \li Stations can be build over rail without signals that is in the right |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
175 * direction for the to-be built station. It will also convert the rail if |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
176 * the station's rail type supports the old type. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
177 * \li GetAPIVersion() was added as function to info.nut. If it does not exist |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
178 * API version 0.7 is assumed. This function should return the major and |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
179 * minor number of the stable version of the API the AI is written against. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
180 * For 0.7.2 that would be 0.7, for 1.1.3 it would be 1.1, etc. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
181 * \li The subsidy logic has changed. Subsidy is now awarded when cargo |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
182 * originating from subsidy source is delivered to station that has subsidy |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
183 * destination it its catchment area. One industry tile or one town house |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
184 * is enough as long as station accepts the cargo. Awarded subsidies are no |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
185 * longer bound to stations used for first delivery, any station can be |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
186 * used for loading and unloading as long as cargo is transfered from |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
187 * source to destination. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
188 * \li Make AIEngine:CanRefitCargo() not report refittability to mail by |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
189 * default for aircraft. It is not necessarily true. This means that even |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
190 * if the aircraft can carry mail (as secondary cargo) it does not return |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
191 * true if the aircraft cannot carry it as its only cargo. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
192 * \li Improve behaviour of AIEngine::GetCargoType(), AIEventEnginePreview::GetCargoType() |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
193 * and AIEngine::CanRefitCargo() for articulated vehicles. For |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
194 * CanRefitCargo true is returned if at least one part can be refitted. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
195 * For GetCargoType the first most used cargo type is returned. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
196 * \li AIIndustryType::GetConstructionCost() now returns -1 if the industry is |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
197 * neither buildable nor prospectable. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
198 * \li AIEngine::IsValidEngine will now return true if you have at least one |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
199 * vehicle of that type in your company, regardless if it's still buildable |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
200 * or not. AIEngine::IsBuildable returns only true when you can actually |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
201 * build an engine. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
202 * \li AITile::GetCargoProduction will now return the number of producers, |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
203 * including houses instead the number of producing tiles. This means that |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
204 * also industries that do not have a tile within the radius, but where |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
205 * the search bounding box and the industry's bounding box intersect, are |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
206 * counted. Previously these industries (and their cargos), although they |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
207 * produced cargo for a station at the given location, were not returned. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
208 * \li AIRail::BuildRail will now fail completely if there is an obstacle |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
209 * between the begin and end, instead of building up to the obstacle and |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
210 * returning that everything went okay. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
211 * \li Orders for buoys are now waypoint orders, i.e. instead of using the |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
212 * station orders for buoys one has to use waypoint orders. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
213 * \li Autoreplaces can now also be set for the default group via AIGroup. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
214 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
215 * \b 0.7.5 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
216 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
217 * No changes |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
218 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
219 * \b 0.7.4 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
220 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
221 * No changes |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
222 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
223 * \b 0.7.3 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
224 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
225 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
226 * \li AIAbstractList::SORT_ASCENDING |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
227 * \li AIAbstractList::SORT_DESCENDING |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
228 * \li AIAirport::IsAirportInformationAvailable |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
229 * \li AICompany::GetPresidentGender |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
230 * \li AICompany::SetPresidentGender |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
231 * \li AIEngine::GetDesignDate |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
232 * \li AIStation::GetConstructionDate |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
233 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
234 * Other changes: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
235 * \li AIs are now killed when they execute a DoCommand or Sleep at a time |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
236 * they are not allowed to do so. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
237 * \li When the API requests a string as parameter you can give every squirrel |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
238 * type and it will be converted to a string |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
239 * \li AIs can create subclasses of API classes and use API constants as part |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
240 * of their own constants |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
241 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
242 * \b 0.7.2 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
243 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
244 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
245 * \li AIVehicle::GetReliability |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
246 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
247 * Other changes: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
248 * \li DoCommands and sleeps in call, acall, pcall and valuators are disallowed |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
249 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
250 * \b 0.7.1 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
251 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
252 * API additions: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
253 * \li AIAirport::GetPrice |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
254 * \li AIController::GetVersion |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
255 * \li AIOrder::AIOF_DEPOT_FLAGS |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
256 * \li AIOrder::AIOF_STOP_IN_DEPOT |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
257 * \li AIOrder::IsCurrentOrderPartOfOrderList |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
258 * \li AIOrder::IsGotoDepotOrder |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
259 * \li AIOrder::IsGotoStationOrder |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
260 * \li AIOrder::IsGotoWaypointOrder |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
261 * \li AISignList |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
262 * \li AITile::CORNER_[WSEN] |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
263 * \li AITile::ERR_AREA_ALREADY_FLAT |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
264 * \li AITile::ERR_EXCAVATION_WOULD_DAMAGE |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
265 * \li AITile::GetCornerHeight |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
266 * \li AITile::GetMaxHeight |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
267 * \li AITile::GetMinHeight |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
268 * \li AIVehicle::SendVehicleToDepotForServicing |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
269 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
270 * Other changes: |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
271 * \li GetURL() was added as optional function to info.nut |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
272 * \li UseAsRandomAI() was added as optional function to info.nut |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
273 * \li A limit was introduced on the time the AI spends in the constructor and Load function |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
274 * |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
275 * \b 0.7.0 |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
276 * \li First stable release with the NoAI framework. |
9b6f5e29506d
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
277 */ |