Skip to content

Commit

Permalink
Merge branch 'master' into feature/gsx-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
frankkopp committed Jan 9, 2023
2 parents 76f1882 + 5140532 commit 0ae61a9
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/CHANGELOG.md
Expand Up @@ -19,9 +19,9 @@
1. [EFB] Fix and improve pushback system and add API documentation - @frankkopp (Frank Kopp)
1. [RMP] RMPs navigation backup - Julian Sebline (Julian Sebline#8476 on Discord)
1. [SEC] Fix GND SPLR logic, add missing GND SPLR partial extension condition - @lukecologne (luke)
1. [FMGC] Improved importing flight plans from MSFS World Map - @frankkopp (Frank Kopp)
1. [FMGC] Improved importing flight plans from MSFS World Map - @frankkopp (Frank Kopp)
1. [EFB] Added boarding time indication to Payload page - @ChristianLutzCL (Christian Lutz) @frankkopp (Frank Kopp)

1. [EFB] Show correct runway numbers in landing calculator's runway widget when heading is between 0-5 degrees - @2hwk (2Cas#1022)
## 0.9.0

1. [MODEL] Add Wheel Chocks and GSE Safety Cones - @bouveng (Johan Bouveng)
Expand Down Expand Up @@ -1156,4 +1156,4 @@
1. [DCDU] Fixed MSG- and MSG+ button labels - @tyler58546 (tyler58546)
1. [ISIS] Fixed issue where ISIS was allowing a bug to be set while in the OFF state - Patrick Macken (@Pat M on
Discord)
1. [EFB] Added estimated boarding time to Payload screen - @ChristianLutzCL (Christian Lutz)
1. [EFB] Added estimated boarding time to Payload screen - @ChristianLutzCL (Christian Lutz)
Expand Up @@ -530,7 +530,7 @@
<FREQUENCY>10</FREQUENCY>
<UPDATE_CODE>
(A:SURFACE RELATIVE GROUND SPEED, feet per second) 0.1 &gt; ! (&gt;L:A32NX_IS_STATIONARY, bool)
(A:SIM ON GROUND, bool) (L:A32NX_ENGINE_N1:1, Number) 3.5 &lt; and (L:A32NX_ENGINE_N1:2, Number) 3.5 &lt; and (L:A32NX_HYD_NW_STRG_DISC_ECAM_MEMO, bool) 0 == and (A:LIGHT BEACON ON, bool) 0 == and (&gt;L:A32NX_GND_EQP_IS_VISIBLE, bool)
(A:SIM ON GROUND, bool) (L:A32NX_ENGINE_N1:1, Number) 3.5 &lt; and (L:A32NX_ENGINE_N1:2, Number) 3.5 &lt; and (L:A32NX_HYD_NW_STRG_DISC_ECAM_MEMO, bool) 0 == and (A:LIGHT BEACON, bool) 0 == and (&gt;L:A32NX_GND_EQP_IS_VISIBLE, bool)
</UPDATE_CODE>
</UseTemplate>

Expand Down
Expand Up @@ -2263,14 +2263,14 @@

<Sound WwiseEvent="welcomeonboard" WwiseData="true" NodeName="SOUND_FWD_GALLEY" ConeHeading="180" CancelConeHeadingWhenInside="false" Continuous="false" LocalVar="A32NX_SOUND_BOARDING_COMPLETE">
<Range LowerBound="1" />
<Requires SimVar="LIGHT BEACON" Index="0" Units="Bool">
<Requires SimVar="LIGHT BEACON ON" Index="0" Units="Bool">
<Range UpperBound="0" />
</Requires>
<WwiseRTPC LocalVar="A32NX_COCKPIT_DOOR_LOCKED" RTPCAttackTime="0.5" RTPCReleaseTime="0.5" Units="bool" Index="1" RTPCName="LOCALVAR_A32NX_COCKPIT_DOOR_LOCKED" />
<WwiseRTPC LocalVar="A32NX_SOUND_ANNOUNCEMENTS_ENABLED" Units="number" Index="0" RTPCName="LOCALVAR_A32NX_ANNOUNCEMENT_TOGGLE" />
</Sound>

<Sound WwiseEvent="armdoors" WwiseData="true" NodeName="SOUND_FWD_GALLEY" ConeHeading="180" CancelConeHeadingWhenInside="false" Continuous="true" SimVar="LIGHT BEACON" Index="0" Units="Bool">
<Sound WwiseEvent="armdoors" WwiseData="true" NodeName="SOUND_FWD_GALLEY" ConeHeading="180" CancelConeHeadingWhenInside="false" Continuous="true" SimVar="LIGHT BEACON ON" Index="0" Units="Bool">
<Range LowerBound="1" />
<WwiseRTPC LocalVar="A32NX_COCKPIT_DOOR_LOCKED" RTPCAttackTime="0.5" RTPCReleaseTime="0.5" Units="bool" Index="1" RTPCName="LOCALVAR_A32NX_COCKPIT_DOOR_LOCKED" />
<WwiseRTPC LocalVar="A32NX_SOUND_ANNOUNCEMENTS_ENABLED" Units="number" Index="0" RTPCName="LOCALVAR_A32NX_ANNOUNCEMENT_TOGGLE" />
Expand All @@ -2279,7 +2279,7 @@
</Requires>
</Sound>

<Sound WwiseEvent="safetydemo" WwiseData="true" NodeName="SOUND_FWD_GALLEY" ConeHeading="180" CancelConeHeadingWhenInside="false" Continuous="true" SimVar="LIGHT BEACON" Index="0" Units="Bool">
<Sound WwiseEvent="safetydemo" WwiseData="true" NodeName="SOUND_FWD_GALLEY" ConeHeading="180" CancelConeHeadingWhenInside="false" Continuous="true" SimVar="LIGHT BEACON ON" Index="0" Units="Bool">
<Range LowerBound="1" />
<WwiseRTPC LocalVar="A32NX_COCKPIT_DOOR_LOCKED" RTPCAttackTime="0.5" RTPCReleaseTime="0.5" Units="bool" Index="1" RTPCName="LOCALVAR_A32NX_COCKPIT_DOOR_LOCKED" />
<WwiseRTPC LocalVar="A32NX_SOUND_ANNOUNCEMENTS_ENABLED" Units="number" Index="0" RTPCName="LOCALVAR_A32NX_ANNOUNCEMENT_TOGGLE" />
Expand Down
2 changes: 1 addition & 1 deletion src/behavior/src/A32NX_Exterior.xml
Expand Up @@ -211,7 +211,7 @@
<DefaultTemplateParameters>
<GND_ENABLE_OVRD></GND_ENABLE_OVRD>
<GND_EQUIPMENT_LOGIC>
(A:SIM ON GROUND, bool) (L:A32NX_ENGINE_N1:1, Number) 3.5 &lt; and (L:A32NX_ENGINE_N1:2, Number) 3.5 &lt; and (L:A32NX_HYD_NW_STRG_DISC_ECAM_MEMO, bool) 0 == and (A:LIGHT BEACON ON, bool) 0 == and
(A:SIM ON GROUND, bool) (L:A32NX_ENGINE_N1:1, Number) 3.5 &lt; and (L:A32NX_ENGINE_N1:2, Number) 3.5 &lt; and (L:A32NX_HYD_NW_STRG_DISC_ECAM_MEMO, bool) 0 == and (A:LIGHT BEACON, bool) 0 == and
</GND_EQUIPMENT_LOGIC>
</DefaultTemplateParameters>
<Component ID="#NODE_ID#" Node="#NODE_ID#">
Expand Down
2 changes: 1 addition & 1 deletion src/behavior/src/A32NX_Interior_Handling.xml
Expand Up @@ -104,7 +104,7 @@
<DRAG_SPEED>30</DRAG_SPEED>
<POSITION_TYPE>O</POSITION_TYPE>
<POSITION_VAR>Position</POSITION_VAR>
<EVENT_SPEED Process="True">16383 10 /</EVENT_SPEED>
<EVENT_SPEED Process="Float">16383 10 /</EVENT_SPEED>
<TOOLTIPID>TT:COCKPIT.TOOLTIPS.SPEEDBRAKE_LEVER</TOOLTIPID>
</DefaultTemplateParameters>
<OverrideTemplateParameters>
Expand Down
Expand Up @@ -46,7 +46,7 @@ interface RunwayNumberProps {
}

const RunwayNumber = ({ heading }: RunwayNumberProps) => {
const displayedHeading = heading === 360 || heading === 0 ? 360 : heading! % 360;
const displayedHeading = (heading! % 360 < 5) ? 360 : heading! % 360;

return (
<div className="mx-auto w-min text-4xl font-bold text-white">
Expand Down
2 changes: 1 addition & 1 deletion src/systems/a320_systems/src/hydraulic/mod.rs
Expand Up @@ -3847,7 +3847,7 @@ impl A320BrakingForce {
.get_identifier("RIGHT_FLAPS_POSITION_PERCENT".to_owned()),

enabled_chocks_id: context.get_identifier("MODEL_WHEELCHOCKS_ENABLED".to_owned()),
light_beacon_on_id: context.get_identifier("LIGHT BEACON ON".to_owned()),
light_beacon_on_id: context.get_identifier("LIGHT BEACON".to_owned()),

left_braking_force: 0.,
right_braking_force: 0.,
Expand Down
1 change: 1 addition & 0 deletions src/systems/a320_systems_wasm/src/lib.rs
Expand Up @@ -207,6 +207,7 @@ async fn systems(mut gauge: msfs::Gauge) -> Result<(), Box<dyn Error>> {
.provides_aircraft_variable("INDICATED ALTITUDE", "Feet", 0)?
.provides_aircraft_variable("INTERACTIVE POINT OPEN:0", "Percent", 0)?
.provides_aircraft_variable("INTERACTIVE POINT OPEN:3", "Percent", 0)?
.provides_aircraft_variable("LIGHT BEACON", "Bool", 0)?
.provides_aircraft_variable("LIGHT BEACON ON", "Bool", 0)?
.provides_aircraft_variable("PLANE ALT ABOVE GROUND", "Feet", 0)?
.provides_aircraft_variable("PLANE PITCH DEGREES", "Degrees", 0)?
Expand Down
2 changes: 1 addition & 1 deletion src/systems/a380_systems/src/hydraulic/mod.rs
Expand Up @@ -3906,7 +3906,7 @@ impl A380BrakingForce {
.get_identifier("RIGHT_FLAPS_POSITION_PERCENT".to_owned()),

enabled_chocks_id: context.get_identifier("MODEL_WHEELCHOCKS_ENABLED".to_owned()),
light_beacon_on_id: context.get_identifier("LIGHT BEACON ON".to_owned()),
light_beacon_on_id: context.get_identifier("LIGHT BEACON".to_owned()),

left_braking_force: 0.,
right_braking_force: 0.,
Expand Down
1 change: 1 addition & 0 deletions src/systems/a380_systems_wasm/src/lib.rs
Expand Up @@ -191,6 +191,7 @@ async fn systems(mut gauge: msfs::Gauge) -> Result<(), Box<dyn Error>> {
.provides_aircraft_variable("INDICATED ALTITUDE", "Feet", 0)?
.provides_aircraft_variable("INTERACTIVE POINT OPEN:0", "Percent", 0)?
.provides_aircraft_variable("INTERACTIVE POINT OPEN:3", "Percent", 0)?
.provides_aircraft_variable("LIGHT BEACON", "Bool", 0)?
.provides_aircraft_variable("LIGHT BEACON ON", "Bool", 0)?
.provides_aircraft_variable("PLANE ALT ABOVE GROUND", "Feet", 0)?
.provides_aircraft_variable("PLANE PITCH DEGREES", "Degrees", 0)?
Expand Down

0 comments on commit 0ae61a9

Please sign in to comment.