diff --git a/client/src/constants/constants.ts b/client/src/constants/constants.ts index 3c633a25..e0547d43 100644 --- a/client/src/constants/constants.ts +++ b/client/src/constants/constants.ts @@ -211,5 +211,5 @@ export const MGRS_PRECISION_100M = 4; export const MGRS_PRECISION_10M = 5; export const MGRS_PRECISION_1M = 6; -export const DELETE_CYCLE_TIME = 0.1; +export const DELETE_CYCLE_TIME = 0.05; export const DELETE_SLOW_THRESHOLD = 50; \ No newline at end of file diff --git a/client/src/controls/unitspawnmenu.ts b/client/src/controls/unitspawnmenu.ts index d23cf82a..0ed023d1 100644 --- a/client/src/controls/unitspawnmenu.ts +++ b/client/src/controls/unitspawnmenu.ts @@ -13,11 +13,8 @@ import { navyUnitDatabase } from "../unit/databases/navyunitdatabase"; import { UnitSpawnOptions, UnitSpawnTable } from "../interfaces"; export class UnitSpawnMenu { - #container: HTMLElement; - #unitDatabase: UnitDatabase; - #countryCodes: any; - #orderByRole: boolean; - spawnOptions: UnitSpawnOptions = { + protected showRangeCircles: boolean = false; + protected spawnOptions: UnitSpawnOptions = { roleType: "", name: "", latlng: new LatLng(0, 0), @@ -30,6 +27,11 @@ export class UnitSpawnMenu { altitude: undefined }; + #container: HTMLElement; + #unitDatabase: UnitDatabase; + #countryCodes: any; + #orderByRole: boolean; + /* Controls */ #unitRoleTypeDropdown: Dropdown; #unitLabelDropdown: Dropdown; @@ -50,7 +52,6 @@ export class UnitSpawnMenu { /* Range circle previews */ #engagementCircle: Circle; #acquisitionCircle: Circle; - protected showRangeCircles: boolean = false; constructor(ID: string, unitDatabase: UnitDatabase, orderByRole: boolean) { this.#container = document.getElementById(ID) as HTMLElement; diff --git a/client/views/other/dialogs.ejs b/client/views/other/dialogs.ejs index 55cee3f6..14296f1c 100644 --- a/client/views/other/dialogs.ejs +++ b/client/views/other/dialogs.ejs @@ -16,8 +16,35 @@
DCS Olympus (the "MATERIAL" or "Software") is provided completely free to users subject to the terms of the CC BY-NC-SA 4.0 Licence except where such terms conflict with this disclaimer, in which case, the terms of this disclaimer shall prevail. - The authors and/or copyright holders of the Software have not received any financial benefit in connection with the Software. In any event, the Software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors and/or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Software or the use or other dealings in the Software. Any party making use of the Software in any manner agrees to be bound by the terms set out in this disclaimer. THIS MATERIAL IS NOT MADE OR SUPPORTED BY EAGLE DYNAMICS SA. +
+ Copyright (C) 2023 Veltro & Gang +
++ DCS Olympus (the "MATERIAL" or "Software") is provided completely free + to users subject to the it under both the terms of version 3 of the GNU + General Public License as published by the Free Software Foundation, and + the additional terms set out below; except where such terms conflict with this + disclaimer, in which case, the terms of this disclaimer shall prevail. +
++ The authors and/or copyright holders of the Software have not received any + financial benefit in connection with the Software. In any event, the + Software is provided “as is”, without warranty of any kind, express or + implied, including but not limited to the warranties of merchantability, + fitness for a particular purpose and non-infringement. In no event shall + the authors and/or copyright holders be liable for any claim, damages or + other liability, whether in an action of contract, tort or otherwise, + arising from, out of or in connection with the Software or the use or o + ther dealings in the Software. +
++ Any party making use of the Software in any manner agrees to be + bound by the terms set out in this disclaimer, version 3 of the GNU + General Public Licence, and the Additional Terms below. +
++ THIS MATERIAL IS NOT MADE OR SUPPORTED BY EAGLE DYNAMICS SA. +