fix logo, add toga to help menu

This commit is contained in:
Jonathan Redpath 2017-09-29 10:09:12 +01:00
parent 567757be4a
commit 7f246f013d
5 changed files with 8 additions and 20 deletions

View file

@ -84,6 +84,10 @@
<halign>left</halign> <halign>left</halign>
<label>E - Set Idle Thrust</label> <label>E - Set Idle Thrust</label>
</text> </text>
<text>
<halign>left</halign>
<label>F - Set TOGA Thrust</label>
</text>
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>DEL - Toggle Reverse Thrust</label> <label>DEL - Toggle Reverse Thrust</label>

View file

@ -3,7 +3,7 @@
<model> <model>
<livery> <livery>
<name type="string">EasyJet</name> <name type="string">EasyJet</name>
<texture>Liveries/A320/CFM/EZY.png</texture> <texture>Liveries/A320/IAE/EZY.png</texture>
</livery> </livery>
</model> </model>
</sim> </sim>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 KiB

View file

@ -1,16 +0,0 @@
<PropertyList>
<sim>
<model>
<livery>
<name type="string">EasyJet</name>
<texture>Liveries/A320/IAE/EZY.png</texture>
</livery>
</model>
</sim>
<options>
<EIS2 type="bool">1</EIS2>
</options>
<sharklet type="bool">0</sharklet>
</PropertyList>

View file

@ -213,6 +213,7 @@ setlistener("/sim/signals/fdm-initialized", func {
var autopilot = gui.Dialog.new("sim/gui/dialogs/autopilot/dialog", "Aircraft/IDG-A32X/Systems/autopilot-dlg.xml"); var autopilot = gui.Dialog.new("sim/gui/dialogs/autopilot/dialog", "Aircraft/IDG-A32X/Systems/autopilot-dlg.xml");
setprop("/it-autoflight/input/fd1", 1); setprop("/it-autoflight/input/fd1", 1);
setprop("/it-autoflight/input/fd2", 1); setprop("/it-autoflight/input/fd2", 1);
setprop("/sim/model/lights/floor-light", 0);
libraries.ECAMinit(); libraries.ECAMinit();
libraries.variousReset(); libraries.variousReset();
logoTimer.start(); logoTimer.start();
@ -398,13 +399,12 @@ var logoTimer = maketimer(0.1, func {
if (setting == 0 and logo_lights == 1) { if (setting == 0 and logo_lights == 1) {
setprop("/sim/model/lights/logo-lights", 0); setprop("/sim/model/lights/logo-lights", 0);
} else if (setting == 1 or setting == 2) { } else if (setting == 1 or setting == 2) {
if (wow or slats == 1) { if (wow) {
setprop("/sim/model/lights/logo-lights", 1); setprop("/sim/model/lights/logo-lights", 1);
} else if (!wow and slats < 1) { } else if (!wow and slats > 1) {
setprop("/sim/model/lights/logo-lights", 1); setprop("/sim/model/lights/logo-lights", 1);
} else { } else {
setprop("/sim/model/lights/logo-lights", 0); setprop("/sim/model/lights/logo-lights", 0);
print("Logo Lights: Unknown Condition on line 390"); # this is important for debugging
} }
} else { } else {
# do nothing # do nothing