MinchinWeb's MetaLibrary v.11
Library functions for OpenTTD AI (and GS) writers.
Loading...
Searching...
No Matches
library.nut
Go to the documentation of this file.
1/* Minchinweb's MetaLibrary v.11 [2015-09-30],
2 * originally part of WmDOT v.10
3 * Copyright © 2011-15, 2025 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
21class 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.10, 2025-07-11)"; }
26 function GetVersion() { return 11; }
27 function GetDate() { return "2025-09-30"; }
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
35RegisterLibrary(MinchinWeb());
36
37// requires AyStar v6
38// requires Fibonacci Heap v3
MinchinWeb extends AILibrary so that it is registered as a library by OpenTTD.
Definition library.nut:21
function GetVersion()
Definition library.nut:26
function MinVersionToLoad()
Definition library.nut:32
function CreateInstance()
Definition library.nut:28
function GetDescription()
Definition library.nut:25
function GetAuthor()
Definition library.nut:22
function GetShortName()
Definition library.nut:24
function GetCategory()
Definition library.nut:29
function GetDate()
Definition library.nut:27
function GetName()
Definition library.nut:23
class MinchinWeb extends AILibrary RegisterLibrary(MinchinWeb())