v0.4.11-alpha-rc3

This commit is contained in:
Pax1601
2023-12-06 09:15:44 +01:00
parent fa04e5f8bb
commit dcff462b32
14 changed files with 48 additions and 37 deletions

View File

@@ -2031,6 +2031,19 @@ declare module "unit/unitsmanager" {
* @param category Either "Aircraft", "Helicopter", "GroundUnit", or "NavyUnit". Determines what class will be used to create the new unit accordingly.
*/
addUnit(ID: number, category: string): void;
/** Sort units segregated groups based on controlling type and protection, if DCS-controlled
*
* @param units <Unit[]>
* @returns Object
*/
segregateUnits(units: Unit[]): {
[key: string]: [];
};
/**
*
* @param numOfProtectedUnits number
*/
showProtectedUnitsPopup(numOfProtectedUnits: number): void;
/** Update the data of all the units. The data is directly decoded from the binary buffer received from the REST Server. This is necessary for performance and bandwidth reasons.
*
* @param buffer The arraybuffer, encoded according to the ICD defined in: TODO Add reference to ICD

View File

@@ -112,5 +112,5 @@ function onListening() {
debug('Listening on ' + bind);
}
console.log("DCS Olympus server v0.4.10-alpha-rc2 started correctly!")
console.log("DCS Olympus server v0.4.11-alpha-rc3 started correctly!")
console.log("Waiting for connections...")

View File

@@ -1,12 +1,12 @@
{
"name": "DCSOlympus",
"version": "v0.4.10-alpha-rc2",
"version": "v0.4.11-alpha-rc3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "DCSOlympus",
"version": "v0.4.10-alpha-rc2",
"version": "v0.4.11-alpha-rc3",
"dependencies": {
"@turf/turf": "^6.5.0",
"body-parser": "^1.20.2",

View File

@@ -2,7 +2,7 @@
"name": "DCSOlympus",
"node-main": "./bin/www",
"main": "http://localhost:3000",
"version": "v0.4.10-alpha-rc2",
"version": "v0.4.11-alpha-rc3",
"private": true,
"scripts": {
"build": "browserify .\\src\\index.ts --debug -o .\\public\\javascripts\\bundle.js -t [ babelify --global true --presets [ @babel/preset-env ] --extensions '.js'] -p [ tsify --noImplicitAny ] && copy.bat",

View File

@@ -29,7 +29,7 @@ import { UnitListPanel } from "./panels/unitlistpanel";
import { ContextManager } from "./context/contextmanager";
import { Context } from "./context/context";
var VERSION = "v0.4.10-alpha-rc2";
var VERSION = "v0.4.11-alpha-rc3";
var DEBUG = false;
export class OlympusApp {
@@ -262,9 +262,7 @@ export class OlympusApp {
const latestVersionSpan = document.getElementById("latest-version") as HTMLElement;
if (latestVersionSpan) {
latestVersionSpan.innerHTML = this.#latestVersion ?? "Unknown";
if (this.#latestVersion !== VERSION) {
latestVersionSpan.classList.add("new-version");
}
latestVersionSpan.classList.toggle("new-version", this.#latestVersion !== VERSION);
}
})
}

View File

@@ -3,7 +3,7 @@
<div id="app-summary">
<h2>DCS Olympus</h2>
<h4>Dynamic Unit Command</h4>
<div class="app-version">Version <span class="app-version-number">v0.4.10-alpha-rc2</span></div>
<div class="app-version">Version <span class="app-version-number">v0.4.11-alpha-rc3</span></div>
<div class="app-version">Latest version <span id="latest-version" class="app-version-number"></span></div>
</div>

View File

@@ -6,7 +6,7 @@
<div class="ol-select-options">
<div id="toolbar-summary">
<h3>DCS Olympus</h3>
<div class="accent-green app-version-number">version v0.4.10-alpha-rc2</div>
<div class="accent-green app-version-number">version v0.4.11-alpha-rc3</div>
</div>
<div>
<a href="https://discord.gg/wWXyVVBZT7" target="_blank">Discord</a>