summaryrefslogtreecommitdiff
path: root/src/script/api/script_industrytype.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:57:23 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:57:23 +0000
commit436cf09923d881f3c11c8a4b6262c0a89ad1ee73 (patch)
tree8c96fbae532958e5cecfd0370387f26fcb837037 /src/script/api/script_industrytype.hpp
parent1616961ea2c1fa84c41d7df9af535fbb190d2c41 (diff)
downloadopenttd-436cf09923d881f3c11c8a4b6262c0a89ad1ee73.tar.xz
(svn r23614) -Add: more API functions exposed to NoGo (part 1)
Diffstat (limited to 'src/script/api/script_industrytype.hpp')
-rw-r--r--src/script/api/script_industrytype.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/api/script_industrytype.hpp b/src/script/api/script_industrytype.hpp
index bbc6bcc64..9e205df96 100644
--- a/src/script/api/script_industrytype.hpp
+++ b/src/script/api/script_industrytype.hpp
@@ -16,7 +16,7 @@
/**
* Class that handles all industry-type related functions.
- * @api ai
+ * @api ai game
*/
class ScriptIndustryType : public ScriptObject {
public:
@@ -112,6 +112,7 @@ public:
* @param tile The tile to build the industry on.
* @pre CanBuildIndustry(industry_type).
* @return True if the industry was successfully build.
+ * @api -game
*/
static bool BuildIndustry(IndustryType industry_type, TileIndex tile);
@@ -123,6 +124,7 @@ public:
* @return True if no error occurred while trying to prospect.
* @note Even if true is returned there is no guarantee a new industry is build.
* @note If true is returned the money is paid, whether a new industry was build or not.
+ * @api -game
*/
static bool ProspectIndustry(IndustryType industry_type);