summaryrefslogtreecommitdiff
path: root/bin/ai/wrightai
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-15 14:37:44 +0000
committertruebrain <truebrain@openttd.org>2009-01-15 14:37:44 +0000
commitd62a85f2ce2dd7f366b8d3a6610ee70046ee928a (patch)
tree43e5c2a5d42119477518b73b0e303f4b881c8a17 /bin/ai/wrightai
parent606ef3c1795b9fefe0e31d0f79a0a336dc3aa1db (diff)
downloadopenttd-d62a85f2ce2dd7f366b8d3a6610ee70046ee928a.tar.xz
(svn r15090) -Add [NoAI] [API CHANGE]: info.nut/library.nut now requires a function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid.
Diffstat (limited to 'bin/ai/wrightai')
-rw-r--r--bin/ai/wrightai/info.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ai/wrightai/info.nut b/bin/ai/wrightai/info.nut
index 3cd7cfa90..7a3feb8c5 100644
--- a/bin/ai/wrightai/info.nut
+++ b/bin/ai/wrightai/info.nut
@@ -3,6 +3,7 @@
class WrightAI extends AIInfo {
function GetAuthor() { return "OpenTTD NoAI Developers Team"; }
function GetName() { return "WrightAI"; }
+ function GetShortName() { return "WRAI"; }
function GetDescription() { return "A simple AI that tries to beat you with only aircrafts"; }
function GetVersion() { return 2; }
function GetDate() { return "2008-02-24"; }