(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 industries that are currently on the map.
* @api ai
* @ingroup ScriptList
*/
class ScriptIndustryList : public ScriptList {
@@ -25,6 +26,7 @@ public:
/**
* Creates a list of industries that accepts a given cargo.
* @api ai
* @ingroup ScriptList
*/
class ScriptIndustryList_CargoAccepting : public ScriptList {
@@ -38,6 +40,7 @@ public:
/**
* Creates a list of industries that can produce a given cargo.
* @note It also contains industries that currently produces 0 units of the cargo.
* @api ai
* @ingroup ScriptList
*/
class ScriptIndustryList_CargoProducing : public ScriptList {