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