1
0
Fork 0

cosmetics (only to annoy everybode)

This commit is contained in:
mfranz 2005-06-19 18:25:57 +00:00
parent bc51a3df26
commit 6654497a78

View file

@ -170,16 +170,16 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
interpolate("/controls/gear/brake-left", 1, 0.075);
interpolate("/controls/gear/brake-right", 1, 0.075);
} elsif (mod == 1) {
} elsif (m == 1) {
setprop("/controls/gear/brake-left", 1);
setprop("/controls/gear/brake-right", 1);
} elsif (mod == 2) {
} elsif (m == 2) {
#
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -188,21 +188,21 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
interpolate("/controls/gear/brake-left", 0, 0.075);
interpolate("/controls/gear/brake-right", 0, 0.075);
} elsif (mod == 1) {
} elsif (m == 1) {
i = !getprop("/controls/gear/brake-parking");
setprop("/controls/gear/brake-parking", i);
gui.popupTip("Parking Brake " ~ ["OFF", "ON"][i]);
setprop("/controls/gear/brake-left", 0);
setprop("/controls/gear/brake-right", 0);
} elsif (mod == 2) {
} elsif (m == 2) {
i = !getprop("/controls/flight/speedbrake");
setprop("/controls/flight/speedbrake", i);
gui.popupTip("Speed Brake " ~ ["OFF", "ON"][i]);
} elsif (mod == 3) {
} elsif (m == 3) {
i = !getprop("/controls/engines/engine[0]/reverser");
props.setAll("/controls/engines/engine", "reverser", i);
gui.popupTip("Thrust Reverser " ~ ["OFF", "ON"][i]);
@ -218,14 +218,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
controls.stepFlaps(-1);
} elsif (mod == 1) {
} elsif (m == 1) {
controls.gearDown(0);
} elsif (mod == 2) {
} elsif (m == 2) {
view.stepView(-1);
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -238,17 +238,17 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
view.resetView();
} elsif (mod == 1) {
} elsif (m == 1) {
i = !getprop("/controls/gear/tailwheel-lock");
setprop("/controls/gear/tailwheel-lock", i);
gui.popupTip("Tail Wheel " ~ ["UNLOCKED", "LOCKED"][i]);
} elsif (mod == 2) {
} elsif (m == 2) {
setprop("/sim/current-view/view-number", 0);
view.resetView();
} elsif (mod == 3) {
} elsif (m == 3) {
setprop("/controls/flight/elevator-trim", 0);
setprop("/controls/flight/aileron-trim", 0);
setprop("/controls/flight/rudder-trim", 0);
@ -263,14 +263,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
controls.stepFlaps(1);
} elsif (mod == 1) {
} elsif (m == 1) {
controls.gearDown(1);
} elsif (mod == 2) {
} elsif (m == 2) {
view.stepView(1);
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -283,14 +283,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
interpolate("/controls/gear/brake-left", 1, 0.075);
} elsif (mod == 1) {
} elsif (m == 1) {
#
} elsif (mod == 2) {
} elsif (m == 2) {
view.increase();
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -299,14 +299,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
interpolate("/controls/gear/brake-left", 0, 0.075);
} elsif (mod == 1) {
} elsif (m == 1) {
#
} elsif (mod == 2) {
} elsif (m == 2) {
#
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -320,14 +320,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
interpolate("/controls/gear/brake-right", 1, 0.075);
} elsif (mod == 1) {
} elsif (m == 1) {
#
} elsif (mod == 2) {
} elsif (m == 2) {
view.decrease();
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -336,14 +336,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
interpolate("/controls/gear/brake-right", 0, 0.075);
} elsif (mod == 1) {
} elsif (m == 1) {
#
} elsif (mod == 2) {
} elsif (m == 2) {
#
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -437,14 +437,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
view.panViewPitch(1);
} elsif (mod == 1) {
} elsif (m == 1) {
controls.adjPropeller(1);
} elsif (mod == 2) {
} elsif (m == 2) {
controls.elevatorTrim(0.75);
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>
@ -457,16 +457,16 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
v = getprop("/sim/current-view/view-number");
view.panViewDir(v == 0 or v == 4 ? 1 : -1);
} elsif (mod == 1) {
} elsif (m == 1) {
controls.adjMixture(-1);
harrier();
} elsif (mod == 2) {
} elsif (m == 2) {
controls.aileronTrim(-0.75);
} elsif (mod == 3) {
} elsif (m == 3) {
controls.rudderTrim(-0.75);
}
</script>
@ -479,16 +479,16 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
v = getprop("/sim/current-view/view-number");
view.panViewDir(v == 0 or v == 4 ? -1 : 1);
} elsif (mod == 1) {
} elsif (m == 1) {
controls.adjMixture(1);
harrier();
} elsif (mod == 2) {
} elsif (m == 2) {
controls.aileronTrim(0.75);
} elsif (mod == 3) {
} elsif (m == 3) {
controls.rudderTrim(0.75);
}
</script>
@ -501,14 +501,14 @@ ________________________________________________________________________________
<binding>
<command>nasal</command>
<script>
mod = get_mode();
if (mod == 0) {
m = get_mode();
if (m == 0) {
view.panViewPitch(-1);
} elsif (mod == 1) {
} elsif (m == 1) {
controls.adjPropeller(-1);
} elsif (mod == 2) {
} elsif (m == 2) {
controls.elevatorTrim(-0.75);
} elsif (mod == 3) {
} elsif (m == 3) {
#
}
</script>