Skip to content

Commit

Permalink
v0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Pax1601 committed Sep 10, 2023
1 parent 7af2162 commit bd89470
Show file tree
Hide file tree
Showing 223 changed files with 2,916 additions and 33,894 deletions.
2 changes: 1 addition & 1 deletion client/src/panels/unitcontrolpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export class UnitControlPanel extends Panel {

const unit = units[0];
const roles = aircraftDatabase.getByName(unit.getName())?.loadouts?.map((loadout) => {return loadout.roles})
const tanker = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("Tanker");
const tanker = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("Refueling");
const AWACS = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("AWACS");
const radioMHz = Math.floor(unit.getRadio().frequency / 1000000);
const radioDecimals = (unit.getRadio().frequency / 1000000 - radioMHz) * 1000;
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

46 changes: 16 additions & 30 deletions docs/classes/contextmenus_contextmenu.ContextMenu.html

Large diffs are not rendered by default.

72 changes: 29 additions & 43 deletions docs/classes/contextmenus_mapcontextmenu.MapContextMenu.html

Large diffs are not rendered by default.

48 changes: 17 additions & 31 deletions docs/classes/contextmenus_unitcontextmenu.UnitContextMenu.html

Large diffs are not rendered by default.

36 changes: 11 additions & 25 deletions docs/classes/controls_control.Control.html

Large diffs are not rendered by default.

72 changes: 29 additions & 43 deletions docs/classes/controls_dropdown.Dropdown.html

Large diffs are not rendered by default.

78 changes: 32 additions & 46 deletions docs/classes/controls_slider.Slider.html

Large diffs are not rendered by default.

46 changes: 16 additions & 30 deletions docs/classes/controls_switch.Switch.html

Large diffs are not rendered by default.

104 changes: 45 additions & 59 deletions docs/classes/controls_unitspawnmenu.AircraftSpawnMenu.html

Large diffs are not rendered by default.

104 changes: 45 additions & 59 deletions docs/classes/controls_unitspawnmenu.GroundUnitSpawnMenu.html

Large diffs are not rendered by default.

104 changes: 45 additions & 59 deletions docs/classes/controls_unitspawnmenu.HelicopterSpawnMenu.html

Large diffs are not rendered by default.

104 changes: 45 additions & 59 deletions docs/classes/controls_unitspawnmenu.NavyUnitSpawnMenu.html

Large diffs are not rendered by default.

106 changes: 46 additions & 60 deletions docs/classes/controls_unitspawnmenu.UnitSpawnMenu.html

Large diffs are not rendered by default.

20 changes: 3 additions & 17 deletions docs/classes/map_clickableminimap.ClickableMiniMap.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">ClickableMiniMap</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/744adee/client/src/map/clickableminimap.ts#L3">src/map/clickableminimap.ts:3</a></li></ul></aside>
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/c735d10/client/src/map/clickableminimap.ts#L3">src/map/clickableminimap.ts:3</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -76,7 +76,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<h4 class="tsd-returns-title">Returns <a href="map_clickableminimap.ClickableMiniMap.html" class="tsd-signature-type tsd-kind-class">ClickableMiniMap</a></h4><aside class="tsd-sources">
<p>Overrides MiniMap.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/744adee/client/src/map/clickableminimap.ts#L4">src/map/clickableminimap.ts:4</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/c735d10/client/src/map/clickableminimap.ts#L4">src/map/clickableminimap.ts:4</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="options" class="tsd-anchor"></a>
Expand Down Expand Up @@ -140,7 +140,7 @@ <h3 class="tsd-anchor-link"><span>get<wbr/>Map</span><a href="#getMap" aria-labe
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/744adee/client/src/map/clickableminimap.ts#L8">src/map/clickableminimap.ts:8</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/c735d10/client/src/map/clickableminimap.ts#L8">src/map/clickableminimap.ts:8</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getPosition" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Position</span><a href="#getPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
Expand Down Expand Up @@ -387,16 +387,7 @@ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon
<div class="tsd-accordion-details">
<ul class="tsd-nested-navigation">
<li><a href="map_clickableminimap.ClickableMiniMap.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Clickable<wbr/>Mini<wbr/>Map</span></a></li></ul></div></details></li>
<li><a href="../modules/map_coalitionarea.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/coalitionarea</span></a></li>
<li><a href="../modules/map_coalitionareahandle.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/coalitionareahandle</span></a></li>
<li><a href="../modules/map_coalitionareamiddlehandle.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/coalitionareamiddlehandle</span></a></li>
<li><a href="../modules/map_custommarker.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/custommarker</span></a></li>
<li><a href="../modules/map_destinationpreviewmarker.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/destinationpreviewmarker</span></a></li>
<li><a href="../modules/map_drawingcursor.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/drawingcursor</span></a></li>
<li><a href="../modules/map_map.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/map</span></a></li>
<li><a href="../modules/map_smokemarker.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/smokemarker</span></a></li>
<li><a href="../modules/map_targetmarker.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/targetmarker</span></a></li>
<li><a href="../modules/map_temporaryunitmarker.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/temporaryunitmarker</span></a></li>
<li><a href="../modules/mission_airbase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>mission/airbase</span></a></li>
<li><a href="../modules/mission_bullseye.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>mission/bullseye</span></a></li>
<li><a href="../modules/mission_missionhandler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>mission/missionhandler</span></a></li>
Expand All @@ -412,13 +403,8 @@ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon
<li><a href="../modules/popups_popup.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>popups/popup</span></a></li>
<li><a href="../modules/server_dataextractor.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>server/dataextractor</span></a></li>
<li><a href="../modules/server_server.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>server/server</span></a></li>
<li><a href="../modules/unit_aircraftdatabase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/aircraftdatabase</span></a></li>
<li><a href="../modules/unit_citiesDatabase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/cities<wbr/>Database</span></a></li>
<li><a href="../modules/unit_groundunitdatabase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/groundunitdatabase</span></a></li>
<li><a href="../modules/unit_helicopterdatabase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/helicopterdatabase</span></a></li>
<li><a href="../modules/unit_navyunitdatabase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/navyunitdatabase</span></a></li>
<li><a href="../modules/unit_unit.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/unit</span></a></li>
<li><a href="../modules/unit_unitdatabase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/unitdatabase</span></a></li>
<li><a href="../modules/unit_unitsmanager.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/unitsmanager</span></a></li>
<li><a href="../modules/weapon_weapon.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>weapon/weapon</span></a></li>
<li><a href="../modules/weapon_weaponsmanager.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>weapon/weaponsmanager</span></a></li></ul></nav></div></div></div>
Expand Down
Loading

0 comments on commit bd89470

Please sign in to comment.