MinchinWeb's MetaLibrary
v.9
Library functions of OpenTTD AI writers.
|
Main Library Class. More...
Public Member Functions | |
function | GetVersion () |
function | GetRevision () |
function | GetDate () |
function | GetName () |
Static Public Attributes | |
static | RoadPathfinder = _MinchinWeb_RoadPathfinder_ |
static | ShipPathfinder = _MinchinWeb_ShipPathfinder_ |
static | Array = _MinchinWeb_Array_ |
static | Extras = _MinchinWeb_Extras_ |
static | WaterbodyCheck = _MinchinWeb_WBC_ |
static | LineWalker = _MinchinWeb_LW_ |
static | SpiralWalker = _MinchinWeb_SW_ |
static | Constants = _MinchinWeb_C_ |
static | Atlas = _MinchinWeb_Atlas_ |
static | Marine = _MinchinWeb_Marine_ |
static | Industry = _MinchinWeb_Industry_ |
static | Station = _MinchinWeb_Station_ |
static | Log = _MinchinWeb_Log_ |
static | DLS = _MinchinWeb_DLS_ |
static | Lakes = _MinchinWeb_Lakes_ |
Main Library Class.
This is the main class of the Library. It will be renamed on importing the library into your AI.
Import("util.MinchinWeb", "[your_access_name]", 8);
(Don't really use [your_access_name]
, use something that is easy enough to type and will remind you of where the functions are coming from. I like to use MinchinWeb
.)
Using imported name for the library, you can then access the various sublibraries. For example:
MinchinWeb.Atlas
<- _MinchinWeb_Atlas_MinchinWeb.Array
<- _MinchinWeb_Array_MinchinWeb.Constants
<- _MinchinWeb_C_MinchinWeb.DLS
<- _MinchinWeb_DLS_MinchinWeb.Extras
<- _MinchinWeb_Extras_MinchinWeb.Lakes
<- _MinchinWeb_Lakes_MinchinWeb.LineWalker
<- _MinchinWeb_LW_MinchinWeb.Log
<- _MinchinWeb_Log_MinchinWeb.Industry
<- _MinchinWeb_Industry_MinchinWeb.Marine
<- _MinchinWeb_Marine_MinchinWeb.ShipPathfinder
<- _MinchinWeb_ShipPathfinder_MinchinWeb.SpiralWalker
<- _MinchinWeb_SW_MinchinWeb.Station
<- _MinchinWeb_Station_MinchinWeb.RoadPathfinder
<- _MinchinWeb_RoadPathfinder_MinchinWeb.WaterbodyCheck
<- _MinchinWeb_WBC_
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |