summaryrefslogtreecommitdiff
path: root/src/script/api/script_cargolist.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-29 23:27:26 +0000
committertruebrain <truebrain@openttd.org>2011-11-29 23:27:26 +0000
commit4d91f645c15bb3128adf969afcf7f15bd0f14fa0 (patch)
tree8ccc602deda6aa29bedcd19f697558348e7af3d6 /src/script/api/script_cargolist.hpp
parent2c877b074ed656a6cf1d4d4e415cce407980add5 (diff)
downloadopenttd-4d91f645c15bb3128adf969afcf7f15bd0f14fa0.tar.xz
(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions
Diffstat (limited to 'src/script/api/script_cargolist.hpp')
-rw-r--r--src/script/api/script_cargolist.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/api/script_cargolist.hpp b/src/script/api/script_cargolist.hpp
index 964d46fca..ea82de139 100644
--- a/src/script/api/script_cargolist.hpp
+++ b/src/script/api/script_cargolist.hpp
@@ -16,6 +16,7 @@
/**
* Creates a list of cargos that can be produced in the current game.
+ * @api ai
* @ingroup ScriptList
*/
class ScriptCargoList : public ScriptList {
@@ -27,6 +28,7 @@ public:
* Creates a list of cargos that the given industry accepts.
* @note This list also includes cargos that are temporarily not accepted
* by this industry, @see ScriptIndustry::IsCargoAccepted.
+ * @api ai
* @ingroup ScriptList
*/
class ScriptCargoList_IndustryAccepting : public ScriptList {
@@ -39,6 +41,7 @@ public:
/**
* Creates a list of cargos that the given industry can produce.
+ * @api ai
* @ingroup ScriptList
*/
class ScriptCargoList_IndustryProducing : public ScriptList {
@@ -51,6 +54,7 @@ public:
/**
* Creates a list of cargos that the given station accepts.
+ * @api ai
* @ingroup ScriptList
*/
class ScriptCargoList_StationAccepting : public ScriptList {