Adding AWACS graphical mode

This commit is contained in:
Davide Passoni
2024-11-27 11:28:30 +01:00
parent 7813f8335a
commit 8cd18eb921
124 changed files with 1863 additions and 72 deletions

View File

@@ -69,6 +69,15 @@ export function AWACSMenu(props: { open: boolean; onClose: () => void; children?
/>
</div>
<div className="flex flex-col gap-2">
<div className="flex gap-2">
<OlToggle
onClick={() => {
getApp().getMap().setOption("AWACSMode", !mapOptions.AWACSMode);
}}
toggled={mapOptions.AWACSMode}
/>{" "}
Enable AWACS map mode
</div>
<div className="flex gap-2">
<OlToggle
onClick={() => {

View File

@@ -72,7 +72,7 @@ export function SideBar() {
checked={appState === OlympusState.JTAC}
icon={faJ}
tooltip="Hide/show JTAC menu"
></OlStateButton>
></OlStateButton>{*/}
<OlStateButton
onClick={() => {
getApp().setState(appState !== OlympusState.AWACS ? OlympusState.AWACS : OlympusState.IDLE);
@@ -80,7 +80,7 @@ export function SideBar() {
checked={appState === OlympusState.AWACS}
icon={faA}
tooltip="Hide/show AWACS menu"
></OlStateButton>{*/}
></OlStateButton>
<OlStateButton
onClick={() => {
getApp().setState(appState !== OlympusState.GAME_MASTER ? OlympusState.GAME_MASTER : OlympusState.IDLE);