Skip to content

Commit

Permalink
Merge pull request #183 from photonle/release/v76
Browse files Browse the repository at this point in the history
Johnstown
  • Loading branch information
JoshPiper authored Dec 1, 2021
2 parents 343f49e + 2a4f3ba commit e36cd2c
Show file tree
Hide file tree
Showing 90 changed files with 1,153 additions and 1,624 deletions.
11 changes: 8 additions & 3 deletions .github/builder/gma/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,18 @@ protected function transform($v){
}
}

$description = [
'description' => "Photon is a lua based lighting engine, based around emergency vehicles.",
'type' => 'tool',
'tags' => ['realism', 'roleplay']
];
$description = json_encode($description);

$meta = new AddonMeta();
$meta->setSteamID(76561198033238057);
$meta->setTimestamp((new DateTime())->getTimestamp());
$meta->setName('Photon Lighting Engine');
$meta->setDescription('ze best lighting engine in all ze vurld');
$meta->setDescription($description);
$meta->setAuthor('The Photon Team.');
$meta->setVersion(1);

Expand All @@ -65,5 +72,3 @@ protected function transform($v){
$writer->setFiles(new FileIterator($files));
$writer->write();
fclose($stream);

// $reader = new AddonReader(fopen)
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h2>Modules</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2020-02-11 17:37:57 </i>
<i style="float:right;">Last updated 2020-12-31 20:26:24 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
50 changes: 25 additions & 25 deletions docs/modules/EMVU.AutoLivery.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ <h2 class="section-header "><a name="Functions"></a>Functions</h2>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">car</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle Material key for the generator.
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
<li><span class="parameter">val</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unit ID.
</li>
<li><span class="parameter">ent</span>
Expand Down Expand Up @@ -173,23 +173,23 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">car</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle ID
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID
</li>
<li><span class="parameter">val</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unit ID
</li>
</ul>

<h3>Returns:</h3>
<ol>

<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Formatted name.
</ol>

Expand All @@ -208,15 +208,15 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">car</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle ID
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
<li><span class="parameter">val</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unit ID.
</li>
<li><span class="parameter">ent</span>
Expand All @@ -241,15 +241,15 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">car</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle ID
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
<li><span class="parameter">val</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unit ID.
</li>
<li><span class="parameter">ent</span>
Expand Down Expand Up @@ -278,11 +278,11 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">name</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle name.
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
</ul>
Expand All @@ -307,7 +307,7 @@ <h3>Parameters:</h3>
Entity to apply to.
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
</ul>
Expand Down Expand Up @@ -336,15 +336,15 @@ <h3>Parameters:</h3>
Vehicle to apply to.
</li>
<li><span class="parameter">car</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle ID.
</li>
<li><span class="parameter">val</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unit ID.
</li>
</ul>
Expand All @@ -365,15 +365,15 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">car</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle ID.
</li>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
<li><span class="parameter">val</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unit ID.
</li>
</ul>
Expand All @@ -394,11 +394,11 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Livery ID.
</li>
<li><span class="parameter">val</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unit ID.
</li>
<li><span class="parameter">ent</span>
Expand Down Expand Up @@ -451,7 +451,7 @@ <h2 class="section-header "><a name="Tables"></a>Tables</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2020-02-11 17:37:57 </i>
<i style="float:right;">Last updated 2020-12-31 20:26:24 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
40 changes: 20 additions & 20 deletions docs/modules/EMVU.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h3>Parameters:</h3>
<h3>Returns:</h3>
<ol>

<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the generated configuration.
</ol>

Expand All @@ -193,15 +193,15 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">name</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The name of the config.
</li>
<li><span class="parameter">category</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The configuration category.
</li>
<li><span class="parameter">author</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unused.
</li>
<li><span class="parameter">data</span>
Expand All @@ -213,7 +213,7 @@ <h3>Parameters:</h3>
<h3>Returns:</h3>
<ol>

<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Serialized data.
</ol>

Expand All @@ -232,15 +232,15 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">name</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The name of the config.
</li>
<li><span class="parameter">category</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The configuration category.
</li>
<li><span class="parameter">author</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unused.
</li>
<li><span class="parameter">data</span>
Expand Down Expand Up @@ -271,15 +271,15 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">name</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The name of the config.
</li>
<li><span class="parameter">category</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The configuration category.
</li>
<li><span class="parameter">author</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Unused.
</li>
<li><span class="parameter">data</span>
Expand All @@ -291,7 +291,7 @@ <h3>Parameters:</h3>
<h3>Returns:</h3>
<ol>

<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The generated lua string.
</ol>

Expand All @@ -310,18 +310,18 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Auto Skin ID of the vehicle.
</li>
</ul>

<h3>Returns:</h3>
<ol>
<li>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.6">table</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.5">table</a></span>
Found skins.</li>
<li>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Base material directory.</li>
</ol>

Expand All @@ -341,15 +341,15 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">id</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Vehicle ID.
</li>
</ul>

<h3>Returns:</h3>
<ol>

<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.6">table</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.5">table</a></span>
Parsed results.
</ol>

Expand Down Expand Up @@ -442,7 +442,7 @@ <h3>Parameters:</h3>
Player pushing the key.
</li>
<li><span class="parameter">bind</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
The bind being pressed.
</li>
<li><span class="parameter">press</span>
Expand All @@ -467,7 +467,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">arg</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
New state.
</li>
</ul>
Expand Down Expand Up @@ -516,7 +516,7 @@ <h2 class="section-header "><a name="Tables"></a>Tables</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2020-02-11 17:37:57 </i>
<i style="float:right;">Last updated 2020-12-31 20:26:24 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
Loading

0 comments on commit e36cd2c

Please sign in to comment.