(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:
@@ -16,6 +16,7 @@ const SQChar dummy_script_info[] = _SC("
|
||||
class DummyAI extends AIInfo { \n\
|
||||
function GetAuthor() { return \"OpenTTD NoAI Developers Team\"; } \n\
|
||||
function GetName() { return \"DummyAI\"; } \n\
|
||||
function GetShortName() { return \"DUMM\"; } \n\
|
||||
function GetDescription() { return \"A Dummy AI that is loaded when your ai/ dir is empty\"; }\n\
|
||||
function GetVersion() { return 1; } \n\
|
||||
function GetDate() { return \"2008-07-26\"; } \n\
|
||||
|
Reference in New Issue
Block a user