From d62a85f2ce2dd7f366b8d3a6610ee70046ee928a Mon Sep 17 00:00:00 2001 From: truebrain Date: Thu, 15 Jan 2009 14:37:44 +0000 Subject: (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. --- bin/ai/library/pathfinder/road/library.nut | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/ai/library/pathfinder/road') diff --git a/bin/ai/library/pathfinder/road/library.nut b/bin/ai/library/pathfinder/road/library.nut index b3c6f1f54..06c21f1de 100644 --- a/bin/ai/library/pathfinder/road/library.nut +++ b/bin/ai/library/pathfinder/road/library.nut @@ -3,6 +3,7 @@ class Road extends AILibrary { function GetAuthor() { return "OpenTTD NoAI Developers Team"; } function GetName() { return "Road"; } + function GetShortName() { return "PFRO"; } function GetDescription() { return "An implementation of a road pathfinder"; } function GetVersion() { return 3; } function GetDate() { return "2008-06-18"; } -- cgit v1.2.3-70-g09d2