1
0
Fork 0

Merge branch 'newPFD' into dev

This commit is contained in:
legoboyvdlp R 2021-09-16 12:40:52 +01:00
commit cc10dc1fda
6 changed files with 1922 additions and 2731 deletions

View file

@ -1854,6 +1854,11 @@
<pfd n="0">
<hundred-above type="int">99999</hundred-above>
<minimums type="int">99999</minimums>
<heading-deg type="double">0</heading-deg>
<heading-scale type="double">0</heading-scale>
<horizon-ground type="double">0</horizon-ground>
<horizon-pitch type="double">0</horizon-pitch>
<track-deg type="double">0</track-deg>
</pfd>
<radar-altimeter n="0">

View file

@ -60,11 +60,7 @@ setprop("/systems/acconfig/options/welcome-skip", 0);
setprop("/systems/acconfig/options/no-rendering-warn", 0);
setprop("/systems/acconfig/options/save-state", 0);
setprop("/systems/acconfig/options/seperate-tiller-axis", 0);
setprop("/systems/acconfig/options/pfd-rate", 1);
setprop("/systems/acconfig/options/nd-rate", 1);
setprop("/systems/acconfig/options/uecam-rate", 1);
setprop("/systems/acconfig/options/lecam-rate", 1);
setprop("/systems/acconfig/options/iesi-rate", 1);
setprop("/systems/acconfig/options/autopush/show-route", 1);
setprop("/systems/acconfig/options/autopush/show-wingtip", 1);
var main_dlg = gui.Dialog.new("/sim/gui/dialogs/acconfig/main/dialog", "Aircraft/A320-family/AircraftConfig/main.xml");

View file

@ -25,9 +25,7 @@
<command>nasal</command>
<script>
acconfig.writeSettings();
canvas_pfd.rateApply();
canvas_nd.rateApply();
canvas_ecam.l_rateApply();
</script>
</binding>
<binding>
@ -221,9 +219,7 @@
<command>nasal</command>
<script>
acconfig.writeSettings();
canvas_pfd.rateApply();
canvas_nd.rateApply();
canvas_ecam.l_rateApply();
</script>
</binding>
</button>
@ -235,9 +231,7 @@
<command>nasal</command>
<script>
acconfig.writeSettings();
canvas_pfd.rateApply();
canvas_nd.rateApply();
canvas_ecam.l_rateApply();
</script>
</binding>
<binding>

File diff suppressed because it is too large Load diff

View file

@ -462,8 +462,8 @@ var FCUController = {
},
MetricAlt: func() {
if (me.FCUworking) {
canvas_pfd.PFD_1.showMetricAlt = !canvas_pfd.PFD_1.showMetricAlt;
canvas_pfd.PFD_2.showMetricAlt = !canvas_pfd.PFD_2.showMetricAlt;
canvas_pfd.A320PFD1.MainScreen.showMetricAlt = !canvas_pfd.A320PFD1.MainScreen.showMetricAlt;
canvas_pfd.A320PFD2.MainScreen.showMetricAlt = !canvas_pfd.A320PFD2.MainScreen.showMetricAlt;
}
},
};

View file

@ -30,7 +30,7 @@ var execLoop = func
emesary.GlobalTransmitter.NotifyAll(notifications.frameNotification);
notifications.frameNotification.FrameCount = notifications.frameNotification.FrameCount + 1;
frame_inc = 0.0333; #30 Hz
frame_inc = 0.02; #50 Hz
if (frame_inc != cur_frame_inc) {
cur_frame_inc = frame_inc;
}