summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-04-17 19:50:27 +0000
committerfrosch <frosch@openttd.org>2016-04-17 19:50:27 +0000
commit7e29551ae08757c389d9e195f4eb5b14786afafa (patch)
tree07bebd94b6ac909e380c20afdafc764104cceaea /src/script
parent31bd5a09b6383c83898844d4550b7b38931ed859 (diff)
downloadopenttd-7e29551ae08757c389d9e195f4eb5b14786afafa.tar.xz
(svn r27544) -Fix-ish: Mark ScriptText::GetEncodedText as not part of any API, instead of relying on the export script to break on '/*'.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_text.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/script/api/script_text.hpp b/src/script/api/script_text.hpp
index 21bf3929f..ed14e391d 100644
--- a/src/script/api/script_text.hpp
+++ b/src/script/api/script_text.hpp
@@ -124,7 +124,10 @@ public:
ScriptText *AddParam(Object value);
#endif /* DOXYGEN_API */
- /* virtual */ const char *GetEncodedText();
+ /**
+ * @api -all
+ */
+ virtual const char *GetEncodedText();
private:
StringID string;