MinchinWeb's MetaLibrary
v.9
Library functions of OpenTTD AI writers.
Main Page
Related Pages
Classes
Files
File List
File Members
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
35
RegisterLibrary
(
MinchinWeb
());
36
37
// requires AyStar v6
38
// requires Fibonacci Heap v3
AILibrary::GetName
function GetName()
Definition:
library.nut:23
RegisterLibrary
class MinchinWeb extends AILibrary RegisterLibrary(MinchinWeb())
AILibrary::GetShortName
function GetShortName()
Definition:
library.nut:24
AILibrary
MinchinWeb extends AILibrary so that it is registered as a library by OpenTTD.
Definition:
library.nut:21
AILibrary::GetDescription
function GetDescription()
Definition:
library.nut:25
AILibrary::CreateInstance
function CreateInstance()
Definition:
library.nut:28
AILibrary::GetDate
function GetDate()
Definition:
library.nut:27
AILibrary::GetCategory
function GetCategory()
Definition:
library.nut:29
MinchinWeb
Main Library Class.
Definition:
main.nut:69
AILibrary::GetAuthor
function GetAuthor()
Definition:
library.nut:22
AILibrary::MinVersionToLoad
function MinVersionToLoad()
Definition:
library.nut:32
AILibrary::GetVersion
function GetVersion()
Definition:
library.nut:26
GitHub
openttd-metalibrary
library.nut
Generated on Sat Jan 10 2015 17:00:28 for MinchinWeb's MetaLibrary by
1.8.9.1