1
0
Fork 0

Merge commit 'refs/merge-requests/107' of git://gitorious.org/fg/fgdata

This commit is contained in:
Martin Spott 2011-07-15 23:56:03 +02:00
commit 9a71b2d234

View file

@ -15,21 +15,21 @@
### This class specifies the offsets used when converting static jetways using the STG converter ###
var Static_jetway =
[
# Models/Airport/jetway-movable.ac
# Models/Airport/jetway-movable.xml
# Models/Airport/jetway-movable-2.ac
# Models/Airport/jetway-movable-2.xml
# Models/Airport/jetway-movable-3.ac
# Models/Airport/jetway-movable-3.xml
# Models/Airport/Jetway/jetway-movable.ac
# Models/Airport/Jetway/jetway-movable.xml
# Models/Airport/Jetway/jetway-movable-2.ac
# Models/Airport/Jetway/jetway-movable-2.xml
# Models/Airport/Jetway/jetway-movable-3.ac
# Models/Airport/Jetway/jetway-movable-3.xml
{
models:
[
"Models/Airport/jetway-movable.ac",
"Models/Airport/jetway-movable.xml",
"Models/Airport/jetway-movable-2.ac",
"Models/Airport/jetway-movable-2.xml",
"Models/Airport/jetway-movable-3.ac",
"Models/Airport/jetway-movable-3.xml"
"Models/Airport/Jetway/jetway-movable.ac",
"Models/Airport/Jetway/jetway-movable.xml",
"Models/Airport/Jetway/jetway-movable-2.ac",
"Models/Airport/Jetway/jetway-movable-2.xml",
"Models/Airport/Jetway/jetway-movable-3.ac",
"Models/Airport/Jetway/jetway-movable-3.xml"
],
offsets:
{
@ -48,15 +48,15 @@ var Static_jetway =
model: "generic",
airline: "None"
},
# Models/Airport/jetway.xml
# Models/Airport/jetway-ba.ac
# Models/Airport/jetway-ba.xml
# Models/Airport/Jetway/jetway.xml
# Models/Airport/Jetway/jetway-ba.ac
# Models/Airport/Jetway/jetway-ba.xml
{
models:
[
"Models/Airport/jetway.xml",
"Models/Airport/jetway-ba.ac",
"Models/Airport/jetway-ba.xml"
"Models/Airport/Jetway/jetway.xml",
"Models/Airport/Jetway/jetway-ba.ac",
"Models/Airport/Jetway/jetway-ba.xml"
],
offsets:
{
@ -75,13 +75,13 @@ var Static_jetway =
model: "generic",
airline: "None"
},
# Models/Airport/jetway-737-ba.ac
# Models/Airport/jetway-737-ba.xml
# Models/Airport/Jetway/jetway-737-ba.ac
# Models/Airport/Jetway/jetway-737-ba.xml
{
models:
[
"Models/Airport/jetway-737-ba.ac",
"Models/Airport/jetway-737-ba.xml"
"Models/Airport/Jetway/jetway-737-ba.ac",
"Models/Airport/Jetway/jetway-737-ba.xml"
],
offsets:
{
@ -100,13 +100,13 @@ var Static_jetway =
model: "generic",
airline: "None"
},
# Models/Airport/jetway-747-ba.ac
# Models/Airport/jetway-747-ba.xml
# Models/Airport/Jetway/jetway-747-ba.ac
# Models/Airport/Jetway/jetway-747-ba.xml
{
models:
[
"Models/Airport/jetway-747-ba.ac",
"Models/Airport/jetway-747-ba.xml"
"Models/Airport/Jetway/jetway-747-ba.ac",
"Models/Airport/Jetway/jetway-747-ba.xml"
],
offsets:
{
@ -125,13 +125,13 @@ var Static_jetway =
model: "generic",
airline: "None"
},
# Models/Airport/jetway-a320-ba.ac
# Models/Airport/jetway-a320-ba.xml
# Models/Airport/Jetway/jetway-a320-ba.ac
# Models/Airport/Jetway/jetway-a320-ba.xml
{
models:
[
"Models/Airport/jetway-a320-ba.ac",
"Models/Airport/jetway-a320-ba.xml"
"Models/Airport/Jetway/jetway-a320-ba.ac",
"Models/Airport/Jetway/jetway-a320-ba.xml"
],
offsets:
{
@ -150,13 +150,13 @@ var Static_jetway =
model: "generic",
airline: "None"
},
# Models/Airport/AutoGate-ba.ac
# Models/Airport/AutoGate.xml
# Models/Airport/Jetway/AutoGate-ba.ac
# Models/Airport/Jetway/AutoGate.xml
{
models:
[
"Models/Airport/AutoGate-ba.ac",
"Models/Airport/AutoGate.xml"
"Models/Airport/Jetway/AutoGate-ba.ac",
"Models/Airport/Jetway/AutoGate.xml"
],
offsets:
{
@ -175,13 +175,13 @@ var Static_jetway =
model: "generic",
airline: "None"
},
# Models/Airport/DockingGate-ba.ac
# Models/Airport/DockingGate.xml
# Models/Airport/Jetway/DockingGate-ba.ac
# Models/Airport/Jetway/DockingGate.xml
{
models:
[
"Models/Airport/DockingGate-ba.ac",
"Models/Airport/DockingGate.xml"
"Models/Airport/Jetway/DockingGate-ba.ac",
"Models/Airport/Jetway/DockingGate.xml"
],
offsets:
{
@ -224,6 +224,7 @@ var click = func(pos)
}
elsif (kbd_shift.getBoolValue())
{
if (selected_jetway != nil) selected_jetway._edit = 0;
selected_jetway = nil;
}
elsif (kbd_ctrl.getBoolValue())
@ -466,7 +467,7 @@ var convert_stg = func
append(jetway_array, hash);
}
var airport = getprop("/sim/jetways/closest-airport-id");
var airport = getprop("/sim/airport/closest-airport-id");
if (airport == "") return;
var i = 0;
var loop = func