(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.
This commit is contained in:
@@ -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"; }
|
||||
|
||||
@@ -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"; }
|
||||
|
||||
Reference in New Issue
Block a user