Optimizations

This commit is contained in:
FlightControl
2017-07-08 09:20:42 +02:00
parent 3fe573926b
commit 85975c01a4
19 changed files with 1577 additions and 482 deletions

View File

@@ -146,6 +146,54 @@
<h2><a id="#(POSITIONABLE)">Type <code>POSITIONABLE</code></a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).AddCargo">POSITIONABLE:AddCargo(Cargo)</a></td>
<td class="summary">
<p>Add cargo.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).CargoItemCount">POSITIONABLE:CargoItemCount()</a></td>
<td class="summary">
<p>Get cargo item count.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).ClearCargo">POSITIONABLE:ClearCargo()</a></td>
<td class="summary">
<p>Clear all cargo.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).Flare">POSITIONABLE:Flare(FlareColor)</a></td>
<td class="summary">
<p>Signal a flare at the position of the POSITIONABLE.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).FlareGreen">POSITIONABLE:FlareGreen()</a></td>
<td class="summary">
<p>Signal a green flare at the position of the POSITIONABLE.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).FlareRed">POSITIONABLE:FlareRed()</a></td>
<td class="summary">
<p>Signal a red flare at the position of the POSITIONABLE.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).FlareWhite">POSITIONABLE:FlareWhite()</a></td>
<td class="summary">
<p>Signal a white flare at the position of the POSITIONABLE.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).FlareYellow">POSITIONABLE:FlareYellow()</a></td>
<td class="summary">
<p>Signal a yellow flare at the position of the POSITIONABLE.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).GetAltitude">POSITIONABLE:GetAltitude()</a></td>
<td class="summary">
<p>Returns the altitude of the POSITIONABLE.</p>
@@ -263,6 +311,12 @@
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).GetVelocityMPS">POSITIONABLE:GetVelocityMPS()</a></td>
<td class="summary">
<p>Returns the POSITIONABLE velocity in meters per second.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).HasCargo">POSITIONABLE:HasCargo(Cargo)</a></td>
<td class="summary">
<p>Returns if carrier has given cargo.</p>
</td>
</tr>
<tr>
@@ -298,7 +352,7 @@
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).LaserCode">POSITIONABLE.LaserCode</a></td>
<td class="summary">
<p>The last assigned laser code.</p>
</td>
</tr>
<tr>
@@ -356,15 +410,67 @@
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).PositionableName">POSITIONABLE.PositionableName</a></td>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).RemoveCargo">POSITIONABLE:RemoveCargo(Cargo)</a></td>
<td class="summary">
<p>The name of the measurable.</p>
<p>Remove cargo.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).Smoke">POSITIONABLE:Smoke(SmokeColor, Range)</a></td>
<td class="summary">
<p>Smoke the POSITIONABLE.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).SmokeBlue">POSITIONABLE:SmokeBlue()</a></td>
<td class="summary">
<p>Smoke the POSITIONABLE Blue.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).SmokeGreen">POSITIONABLE:SmokeGreen()</a></td>
<td class="summary">
<p>Smoke the POSITIONABLE Green.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).SmokeOrange">POSITIONABLE:SmokeOrange()</a></td>
<td class="summary">
<p>Smoke the POSITIONABLE Orange.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).SmokeRed">POSITIONABLE:SmokeRed()</a></td>
<td class="summary">
<p>Smoke the POSITIONABLE Red.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).SmokeWhite">POSITIONABLE:SmokeWhite()</a></td>
<td class="summary">
<p>Smoke the POSITIONABLE White.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).Spot">POSITIONABLE.Spot</a></td>
<td class="summary">
<p>The laser Spot.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE).__">POSITIONABLE.__</a></td>
<td class="summary">
</td>
</tr>
</table>
<h2><a id="#(POSITIONABLE.__)">Type <code>POSITIONABLE.__</code></a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap="nowrap"><a href="##(POSITIONABLE.__).Cargo">POSITIONABLE.__.Cargo</a></td>
<td class="summary">
</td>
</tr>
</table>
@@ -438,10 +544,137 @@ The method <a href="##(POSITIONABLE).GetVelocity">POSITIONABLE.GetVelocity</a>()
</dl>
<h2><a id="#(POSITIONABLE)" >Type <code>POSITIONABLE</code></a></h2>
<p>The POSITIONABLE class</p>
<h3>Field(s)</h3>
<dl class="function">
<dt>
<h3>Field(s)</h3>
<a id="#(POSITIONABLE).AddCargo" >
<strong>POSITIONABLE:AddCargo(Cargo)</strong>
</a>
</dt>
<dd>
<p>Add cargo.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Core.Cargo.html##(CARGO)">Core.Cargo#CARGO</a> Cargo </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="##(POSITIONABLE)">#POSITIONABLE</a>:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).CargoItemCount" >
<strong>POSITIONABLE:CargoItemCount()</strong>
</a>
</dt>
<dd>
<p>Get cargo item count.</p>
<h3>Return value</h3>
<p><em><a href="Core.Cargo.html##(CARGO)">Core.Cargo#CARGO</a>:</em>
Cargo</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).ClearCargo" >
<strong>POSITIONABLE:ClearCargo()</strong>
</a>
</dt>
<dd>
<p>Clear all cargo.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).Flare" >
<strong>POSITIONABLE:Flare(FlareColor)</strong>
</a>
</dt>
<dd>
<p>Signal a flare at the position of the POSITIONABLE.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Utilities.Utils.html##(FLARECOLOR)">Utilities.Utils#FLARECOLOR</a> FlareColor </em></code>: </p>
</li>
</ul>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).FlareGreen" >
<strong>POSITIONABLE:FlareGreen()</strong>
</a>
</dt>
<dd>
<p>Signal a green flare at the position of the POSITIONABLE.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).FlareRed" >
<strong>POSITIONABLE:FlareRed()</strong>
</a>
</dt>
<dd>
<p>Signal a red flare at the position of the POSITIONABLE.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).FlareWhite" >
<strong>POSITIONABLE:FlareWhite()</strong>
</a>
</dt>
<dd>
<p>Signal a white flare at the position of the POSITIONABLE.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).FlareYellow" >
<strong>POSITIONABLE:FlareYellow()</strong>
</a>
</dt>
<dd>
<p>Signal a yellow flare at the position of the POSITIONABLE.</p>
</dd>
</dl>
<dl class="function">
<dt>
@@ -976,6 +1209,32 @@ The velocity in meters per second.</p>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).HasCargo" >
<strong>POSITIONABLE:HasCargo(Cargo)</strong>
</a>
</dt>
<dd>
<p>Returns if carrier has given cargo.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em> Cargo </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="Core.Cargo.html##(CARGO)">Core.Cargo#CARGO</a>:</em>
Cargo</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).InAir" >
<strong>POSITIONABLE:InAir()</strong>
</a>
@@ -1107,14 +1366,14 @@ true if it is lasing a target</p>
<dl class="function">
<dt>
<em>#number</em>
<em></em>
<a id="#(POSITIONABLE).LaserCode" >
<strong>POSITIONABLE.LaserCode</strong>
</a>
</dt>
<dd>
<p>The last assigned laser code.</p>
</dd>
</dl>
@@ -1462,14 +1721,117 @@ self</p>
<dl class="function">
<dt>
<em>#string</em>
<a id="#(POSITIONABLE).PositionableName" >
<strong>POSITIONABLE.PositionableName</strong>
<a id="#(POSITIONABLE).RemoveCargo" >
<strong>POSITIONABLE:RemoveCargo(Cargo)</strong>
</a>
</dt>
<dd>
<p>The name of the measurable.</p>
<p>Remove cargo.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Core.Cargo.html##(CARGO)">Core.Cargo#CARGO</a> Cargo </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="##(POSITIONABLE)">#POSITIONABLE</a>:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).Smoke" >
<strong>POSITIONABLE:Smoke(SmokeColor, Range)</strong>
</a>
</dt>
<dd>
<p>Smoke the POSITIONABLE.</p>
<h3>Parameters</h3>
<ul>
<li>
<p><code><em> SmokeColor </em></code>: </p>
</li>
<li>
<p><code><em> Range </em></code>: </p>
</li>
</ul>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).SmokeBlue" >
<strong>POSITIONABLE:SmokeBlue()</strong>
</a>
</dt>
<dd>
<p>Smoke the POSITIONABLE Blue.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).SmokeGreen" >
<strong>POSITIONABLE:SmokeGreen()</strong>
</a>
</dt>
<dd>
<p>Smoke the POSITIONABLE Green.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).SmokeOrange" >
<strong>POSITIONABLE:SmokeOrange()</strong>
</a>
</dt>
<dd>
<p>Smoke the POSITIONABLE Orange.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).SmokeRed" >
<strong>POSITIONABLE:SmokeRed()</strong>
</a>
</dt>
<dd>
<p>Smoke the POSITIONABLE Red.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(POSITIONABLE).SmokeWhite" >
<strong>POSITIONABLE:SmokeWhite()</strong>
</a>
</dt>
<dd>
<p>Smoke the POSITIONABLE White.</p>
</dd>
</dl>
@@ -1483,11 +1845,44 @@ self</p>
</dt>
<dd>
<p>The laser Spot.</p>
</dd>
</dl>
<dl class="function">
<dt>
<em><a href="##(POSITIONABLE.__)">#POSITIONABLE.__</a></em>
<a id="#(POSITIONABLE).__" >
<strong>POSITIONABLE.__</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<h2><a id="#(POSITIONABLE.__)" >Type <code>POSITIONABLE.__</code></a></h2>
<h3>Field(s)</h3>
<dl class="function">
<dt>
<em><a href="##(POSITIONABLE.__.Cargo)">#POSITIONABLE.__.Cargo</a></em>
<a id="#(POSITIONABLE.__).Cargo" >
<strong>POSITIONABLE.__.Cargo</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<h2><a id="#(POSITIONABLE.__.Cargo)" >Type <code>POSITIONABLE.__.Cargo</code></a></h2>
<h2><a id="#(RADIO)" >Type <code>RADIO</code></a></h2>
</div>