diff options
author | truebrain <truebrain@openttd.org> | 2009-01-15 14:37:44 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2009-01-15 14:37:44 +0000 |
commit | e84138af22abc40d3ebd993eba4103ccf3b2997f (patch) | |
tree | 43e5c2a5d42119477518b73b0e303f4b881c8a17 /bin/ai/library/pathfinder/rail | |
parent | 97a835f95fb9026da63f0d212d959ec44fd86796 (diff) | |
download | openttd-e84138af22abc40d3ebd993eba4103ccf3b2997f.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/library/pathfinder/rail')
-rw-r--r-- | bin/ai/library/pathfinder/rail/library.nut | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ai/library/pathfinder/rail/library.nut b/bin/ai/library/pathfinder/rail/library.nut index 2d50557e2..155adaad1 100644 --- a/bin/ai/library/pathfinder/rail/library.nut +++ b/bin/ai/library/pathfinder/rail/library.nut @@ -3,6 +3,7 @@ class Rail extends AILibrary { function GetAuthor() { return "OpenTTD NoAI Developers Team"; } function GetName() { return "Rail"; } + function GetShortName() { return "PFRL"; } function GetDescription() { return "An implementation of a rail pathfinder"; } function GetVersion() { return 1; } function GetDate() { return "2008-09-22"; } |