MinchinWeb's MetaLibrary  v.9
Library functions of OpenTTD AI writers.
library.nut
Go to the documentation of this file.
1 /* Minchinweb's MetaLibrary v.9 [2015-01-04],
2  * originally part of WmDOT v.10
3  * Copyright © 2011-15 by W. Minchin. For more info,
4  * please visit https://github.com/MinchinWeb/openttd-metalibrary
5  *
6  * Permission is granted to you to use, copy, modify, merge, publish,
7  * distribute, sublicense, and/or sell this software, and provide these
8  * rights to others, provided:
9  *
10  * + The above copyright notice and this permission notice shall be included
11  * in all copies or substantial portions of the software.
12  * + Attribution is provided in the normal place for recognition of 3rd party
13  * contributions.
14  * + You accept that this software is provided to you "as is", without warranty.
15  */
16 
21 class MinchinWeb extends AILibrary {
22  function GetAuthor() { return "W. Minchin"; }
23  function GetName() { return "MinchinWeb"; }
24  function GetShortName() { return "LMmW"; } // William's MetaLibrary
25  function GetDescription() { return "Minchinweb's MetaLibrary for AI development. See the minchin.ca/openttd-metalibrary/ for included functions. (v.9, 2015-01-04)"; }
26  function GetVersion() { return 9; }
27  function GetDate() { return "2015-01-04"; }
28  function CreateInstance() { return "MinchinWeb"; }
29  function GetCategory() { return "Util"; }
30 // function GetURL() { return "http://www.tt-forums.net/viewtopic.php?f=65&t=57903"; }
31 // function GetAPIVersion() { return "1.2"; }
32  function MinVersionToLoad() { return 1; }
33 }
34 
36 
37 // requires AyStar v6
38 // requires Fibonacci Heap v3
function GetName()
Definition: library.nut:23
class MinchinWeb extends AILibrary RegisterLibrary(MinchinWeb())
function GetShortName()
Definition: library.nut:24
MinchinWeb extends AILibrary so that it is registered as a library by OpenTTD.
Definition: library.nut:21
function GetDescription()
Definition: library.nut:25
function CreateInstance()
Definition: library.nut:28
function GetDate()
Definition: library.nut:27
function GetCategory()
Definition: library.nut:29
Main Library Class.
Definition: main.nut:69
function GetAuthor()
Definition: library.nut:22
function MinVersionToLoad()
Definition: library.nut:32
function GetVersion()
Definition: library.nut:26