(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions

This commit is contained in:
truebrain
2011-11-29 23:27:26 +00:00
parent 2c877b074e
commit 4d91f645c1
52 changed files with 240 additions and 57 deletions

View File

@@ -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 {