From 476c56be4ac227ccf2ac190804556a321925c5ed Mon Sep 17 00:00:00 2001 From: Holger Teutsch Date: Wed, 1 Jan 2025 12:03:18 +0100 Subject: [PATCH] feat: library.txt autoconfiguration --- openSAM-pkg/00_README.txt | 5 +- .../library-no_SAM_Library.txt | 256 ------------------ .../library-with_SAM_Library.txt | 177 ------------ openSAM-pkg/openSAM_Library/library.txt | 86 +++--- openSAM.cpp | 16 ++ 5 files changed, 67 insertions(+), 473 deletions(-) delete mode 100644 openSAM-pkg/openSAM_Library/library-no_SAM_Library.txt delete mode 100644 openSAM-pkg/openSAM_Library/library-with_SAM_Library.txt diff --git a/openSAM-pkg/00_README.txt b/openSAM-pkg/00_README.txt index a71bcb6..5ddd6bf 100644 --- a/openSAM-pkg/00_README.txt +++ b/openSAM-pkg/00_README.txt @@ -8,12 +8,9 @@ Installation "openSAM_Library" into "Custom Scenery" "openSAM" into "Resources/plugins" -If you must keep the SAM_Library (e.g. for Zero Dollar Payware freeware) +Some sceneries (e.g. for Zero Dollar Payware, Taimodels) require the original SAM_Library - If not already done link or copy the SAM_library into "Custom Scenery" - Make sure openSAM_Library is above SAM_Library in scenery_packs.ini -- Within openSAM_Library copy "library-with_SAM_Library.txt" to "library.txt" - I recommend to open a shell window in openSAM_Library and issue the - command "copy library-with_SAM_Library.txt library.txt" or "cp ..." ===== Usage diff --git a/openSAM-pkg/openSAM_Library/library-no_SAM_Library.txt b/openSAM-pkg/openSAM_Library/library-no_SAM_Library.txt deleted file mode 100644 index f5e0a77..0000000 --- a/openSAM-pkg/openSAM_Library/library-no_SAM_Library.txt +++ /dev/null @@ -1,256 +0,0 @@ -A -800 -LIBRARY - -########################################################## -#### Replacement for -#### Scenery Animation Manager - Library 3.0.0 #### -########################################################## - -### Without SAM_library, replace everything but dockings from SAM_Library - -# openSAM native -EXPORT openSAM/dgs/marshaller.agp dgs/marshaller.agp -EXPORT openSAM/dgs/marshaller_high.agp dgs/marshaller_high.agp -EXPORT openSAM/dgs/Safedock-T2_2.5m.obj dgs/SafedockT2_2.5m.obj -EXPORT openSAM/dgs/Safedock-T2_3.0m.obj dgs/SafedockT2_3.0m.obj -EXPORT openSAM/dgs/Safedock-T2_3.5m.obj dgs/SafedockT2_3.5m.obj -EXPORT openSAM/dgs/Safedock-T2_4.0m.obj dgs/SafedockT2_4.0m.obj -EXPORT openSAM/dgs/Safedock-T2_4.5m.obj dgs/SafedockT2_4.5m.obj -EXPORT openSAM/dgs/Safedock-T2_5.0m.obj dgs/SafedockT2_5.0m.obj -EXPORT openSAM/dgs/Safedock-T2_5.5m.obj dgs/SafedockT2_5.5m.obj -EXPORT openSAM/dgs/Safedock-T2_6.0m.obj dgs/SafedockT2_6.0m.obj -EXPORT openSAM/dgs/Safedock-T2_6.5m.obj dgs/SafedockT2_6.5m.obj -EXPORT openSAM/dgs/Safedock-T2_7.0m.obj dgs/SafedockT2_7.0m.obj -EXPORT openSAM/dgs/Safedock-T2_2.5m_pole.obj dgs/SafedockT2_2.5m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_3.0m_pole.obj dgs/SafedockT2_3.0m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_3.5m_pole.obj dgs/SafedockT2_3.5m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_4.0m_pole.obj dgs/SafedockT2_4.0m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_4.5m_pole.obj dgs/SafedockT2_4.5m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_5.0m_pole.obj dgs/SafedockT2_5.0m_pole.obj - -# stuff below should not show up in WED - -DEPRECATED - -# SAM3 - -# DOCKINGS -EXPORT SAM3_Library/marshaller/marshaller.agp dgs/marshaller.agp -EXPORT SAM3_Library/marshaller/marshaller_high.agp dgs/marshaller_high.agp -EXPORT SAM3_Library/VDGS/VDGS_marker.agp blank/blank.agp -EXPORT SAM3_Library/VDGS/Safedock-T2-24.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Safedock-T2-24-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/Safegate.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Safegate-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/FMT.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/FMT-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/Honeywell.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Honeywell-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/Honeywell_PA3.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Honeywell_PA3-Pole.obj dgs/SafedockT2-6m-pole.obj - -# JETWAYS -EXPORT SAM3_Library/jetways/Type01_solid_0.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_2.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_5.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_5.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_6.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_2.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_5.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_5.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_6.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_5.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_5.0m.obj blank/blank.obj - -# BRIDGES -EXPORT SAM3_Library/bridges/Type01_solid.fac blank/blank.fac -EXPORT SAM3_Library/bridges/Type02_solid.fac blank/blank.fac -EXPORT SAM3_Library/bridges/Type01_glas.fac blank/blank.fac - -# DOCKINGS SAM1 -EXPORT SAM_Library/dockings/FMT_2.5m.obj dgs/SafedockT2_2.5m_180.obj -EXPORT SAM_Library/dockings/FMT_3.0m.obj dgs/SafedockT2_3.0m_180.obj -EXPORT SAM_Library/dockings/FMT_3.5m.obj dgs/SafedockT2_3.5m_180.obj -EXPORT SAM_Library/dockings/FMT_4.0m.obj dgs/SafedockT2_4.0m_180.obj -EXPORT SAM_Library/dockings/FMT_4.5m.obj dgs/SafedockT2_4.5m_180.obj -EXPORT SAM_Library/dockings/FMT_5.0m.obj dgs/SafedockT2_5.0m_180.obj -EXPORT SAM_Library/dockings/FMT_2.5m_pole.obj dgs/SafedockT2_2.5m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_3.0m_pole.obj dgs/SafedockT2_3.0m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_3.5m_pole.obj dgs/SafedockT2_3.5m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_4.0m_pole.obj dgs/SafedockT2_4.0m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_4.5m_pole.obj dgs/SafedockT2_4.5m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_5.0m_pole.obj dgs/SafedockT2_5.0m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_2.5m.obj dgs/SafedockT2_2.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.0m.obj dgs/SafedockT2_3.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.5m.obj dgs/SafedockT2_3.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.0m.obj dgs/SafedockT2_4.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.5m.obj dgs/SafedockT2_4.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_5.0m.obj dgs/SafedockT2_5.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_5.5m.obj dgs/SafedockT2_5.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_6.0m.obj dgs/SafedockT2_6.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_6.5m.obj dgs/SafedockT2_6.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_7.0m.obj dgs/SafedockT2_7.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_2.5m_pole.obj dgs/SafedockT2_2.5m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.0m_pole.obj dgs/SafedockT2_3.0m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.5m_pole.obj dgs/SafedockT2_3.5m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.0m_pole.obj dgs/SafedockT2_4.0m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.5m_pole.obj dgs/SafedockT2_4.5m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_5.0m_pole.obj dgs/SafedockT2_5.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_2.5m_pole.obj dgs/SafedockT2_2.5m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_3.0m_pole.obj dgs/SafedockT2_3.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_3.5m_pole.obj dgs/SafedockT2_3.5m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_4.0m_pole.obj dgs/SafedockT2_4.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_4.5m_pole.obj dgs/SafedockT2_4.5m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_5.0m_pole.obj dgs/SafedockT2_5.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_2.5m.obj dgs/SafedockT2_2.5m_180.obj -EXPORT SAM_Library/dockings/Safegate_3.0m.obj dgs/SafedockT2_3.0m_180.obj -EXPORT SAM_Library/dockings/Safegate_3.5m.obj dgs/SafedockT2_3.5m_180.obj -EXPORT SAM_Library/dockings/Safegate_4.0m.obj dgs/SafedockT2_4.0m_180.obj -EXPORT SAM_Library/dockings/Safegate_4.5m.obj dgs/SafedockT2_4.5m_180.obj -EXPORT SAM_Library/dockings/Safegate_5.0m.obj dgs/SafedockT2_5.0m_180.obj -EXPORT SAM_Library/dockings/marshaller.obj dgs/Marshaller.obj -# DOCKINGS SAM2 -EXPORT SAM_Library/dockings/marshaller.agp dgs/marshaller.agp -EXPORT SAM_Library/dockings/marshaller_high.agp dgs/marshaller_high.agp -EXPORT SAM_Library/dockings/Safegate_2.5m.agp dgs/SafedockT2_2.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_3.0m.agp dgs/SafedockT2_3.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_3.5m.agp dgs/SafedockT2_3.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_4.0m.agp dgs/SafedockT2_4.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_4.5m.agp dgs/SafedockT2_4.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_5.0m.agp dgs/SafedockT2_5.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_5.5m.agp dgs/SafedockT2_5.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_6.0m.agp dgs/SafedockT2_6.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_6.5m.agp dgs/SafedockT2_6.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_7.0m.agp dgs/SafedockT2_7.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_2.5m_pole.agp dgs/SafedockT2_2.5m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_3.0m_pole.agp dgs/SafedockT2_3.0m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_3.5m_pole.agp dgs/SafedockT2_3.5m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_4.0m_pole.agp dgs/SafedockT2_4.0m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_4.5m_pole.agp dgs/SafedockT2_4.5m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_5.0m_pole.agp dgs/SafedockT2_5.0m_pole_180.agp -EXPORT SAM_Library/dockings/Honeywell_2.5m.agp dgs/SafedockT2_2.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_3.0m.agp dgs/SafedockT2_3.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_3.5m.agp dgs/SafedockT2_3.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_4.0m.agp dgs/SafedockT2_4.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_4.5m.agp dgs/SafedockT2_4.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_5.0m.agp dgs/SafedockT2_5.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_5.5m.agp dgs/SafedockT2_5.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_6.0m.agp dgs/SafedockT2_6.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_6.5m.agp dgs/SafedockT2_6.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_7.0m.agp dgs/SafedockT2_7.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_2.5m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_3.0m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_3.5m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_4.0m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_4.5m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_5.0m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/FMT_2.5m.agp dgs/SafedockT2_2.5m_180.agp -EXPORT SAM_Library/dockings/FMT_3.0m.agp dgs/SafedockT2_3.0m_180.agp -EXPORT SAM_Library/dockings/FMT_3.5m.agp dgs/SafedockT2_3.5m_180.agp -EXPORT SAM_Library/dockings/FMT_4.0m.agp dgs/SafedockT2_4.0m_180.agp -EXPORT SAM_Library/dockings/FMT_4.5m.agp dgs/SafedockT2_4.5m_180.agp -EXPORT SAM_Library/dockings/FMT_5.0m.agp dgs/SafedockT2_5.0m_180.agp -EXPORT SAM_Library/dockings/FMT_2.5m_pole.agp dgs/SafedockT2_2.5m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_3.0m_pole.agp dgs/SafedockT2_3.0m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_3.5m_pole.agp dgs/SafedockT2_3.5m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_4.0m_pole.agp dgs/SafedockT2_4.0m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_4.5m_pole.agp dgs/SafedockT2_4.5m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_5.0m_pole.agp dgs/SafedockT2_5.0m_pole_180.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_2.5m.agp dgs/SafedockT2_2.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.0m.agp dgs/SafedockT2_3.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.5m.agp dgs/SafedockT2_3.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.0m.agp dgs/SafedockT2_4.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.5m.agp dgs/SafedockT2_4.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_5.0m.agp dgs/SafedockT2_5.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_5.5m.agp dgs/SafedockT2_5.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_6.0m.agp dgs/SafedockT2_6.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_6.5m.agp dgs/SafedockT2_6.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_7.0m.agp dgs/SafedockT2_7.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_2.5m_pole.agp dgs/SafedockT2_2.5m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.0m_pole.agp dgs/SafedockT2_3.0m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.5m_pole.agp dgs/SafedockT2_3.5m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.0m_pole.agp dgs/SafedockT2_4.0m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.5m_pole.agp dgs/SafedockT2_4.5m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_5.0m_pole.agp dgs/SafedockT2_5.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_2.5m.agp dgs/SafedockT2_2.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.0m.agp dgs/SafedockT2_3.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.5m.agp dgs/SafedockT2_3.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.0m.agp dgs/SafedockT2_4.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.5m.agp dgs/SafedockT2_4.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.0m.agp dgs/SafedockT2_5.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.5m.agp dgs/SafedockT2_5.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.0m.agp dgs/SafedockT2_6.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.5m.agp dgs/SafedockT2_6.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_7.0m.agp dgs/SafedockT2_7.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_2.5m_pole.agp dgs/SafedockT2_2.5m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.0m_pole.agp dgs/SafedockT2_3.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.5m_pole.agp dgs/SafedockT2_3.5m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.0m_pole.agp dgs/SafedockT2_4.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.5m_pole.agp dgs/SafedockT2_4.5m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.0m_pole.agp dgs/SafedockT2_5.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.5m_pole.agp dgs/SafedockT2-6m-pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.0m_pole.agp dgs/SafedockT2-6m-pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.5m_pole.agp dgs/SafedockT2-6m-pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_7.0m_pole.agp dgs/SafedockT2-6m-pole.agp -# HANGARS -EXPORT SAM_Library/hangars/hangar_01.obj blank/blank.obj -EXPORT SAM_Library/hangars/hangar_02.obj blank/blank.obj -EXPORT SAM_Library/hangars/hangar_03.obj blank/blank.obj -EXPORT SAM_Library/hangars/hangar_04.obj blank/blank.obj -# BRIDGES -EXPORT SAM_Library/bridges/Type01_solid.fac blank/blank.fac -EXPORT SAM_Library/bridges/Type02_solid.fac blank/blank.fac -EXPORT SAM_Library/bridges/Type01_glas.fac blank/blank.fac -# JETWAY Type 01 Solid -EXPORT SAM_Library/jetways/Type01_solid_0.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_2.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_3.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_3.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_4.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_4.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_5.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_5.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_solid_6.0m.obj blank/blank.obj -# JETWAY Type 01 Glas -EXPORT SAM_Library/jetways/Type01_glas_2.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_glas_3.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_glas_3.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_glas_4.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_glas_4.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_glas_5.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_glas_5.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type01_glas_6.0m.obj blank/blank.obj -# JETWAY Type 02 Solid -EXPORT SAM_Library/jetways/Type02_solid_3.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_solid_3.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_solid_4.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_solid_4.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_solid_5.0m.obj blank/blank.obj -# JETWAY Type 02 Glas -EXPORT SAM_Library/jetways/Type02_glas_3.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_glas_3.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_glas_4.0m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_glas_4.5m.obj blank/blank.obj -EXPORT SAM_Library/jetways/Type02_glas_5.0m.obj blank/blank.obj -# WIND TURBINES -EXPORT SAM_Library/windturbines/windturbine_01.obj blank/blank.obj -EXPORT SAM_Library/windturbines/windturbine_02.obj blank/blank.obj -EXPORT SAM_Library/windturbines/windturbine_03.obj blank/blank.obj -EXPORT SAM_Library/windturbines/windturbine_04.obj blank/blank.obj diff --git a/openSAM-pkg/openSAM_Library/library-with_SAM_Library.txt b/openSAM-pkg/openSAM_Library/library-with_SAM_Library.txt deleted file mode 100644 index 61fb578..0000000 --- a/openSAM-pkg/openSAM_Library/library-with_SAM_Library.txt +++ /dev/null @@ -1,177 +0,0 @@ -A -800 -LIBRARY - -########################################################## -#### Replacement for -#### Scenery Animation Manager - Library 3.0.0 #### -########################################################## - -### With SAM_library, replace only dockings from SAM_Library - -# openSAM native -EXPORT openSAM/dgs/marshaller.agp dgs/marshaller.agp -EXPORT openSAM/dgs/marshaller_high.agp dgs/marshaller_high.agp -EXPORT openSAM/dgs/Safedock-T2_2.5m.obj dgs/SafedockT2_2.5m.obj -EXPORT openSAM/dgs/Safedock-T2_3.0m.obj dgs/SafedockT2_3.0m.obj -EXPORT openSAM/dgs/Safedock-T2_3.5m.obj dgs/SafedockT2_3.5m.obj -EXPORT openSAM/dgs/Safedock-T2_4.0m.obj dgs/SafedockT2_4.0m.obj -EXPORT openSAM/dgs/Safedock-T2_4.5m.obj dgs/SafedockT2_4.5m.obj -EXPORT openSAM/dgs/Safedock-T2_5.0m.obj dgs/SafedockT2_5.0m.obj -EXPORT openSAM/dgs/Safedock-T2_5.5m.obj dgs/SafedockT2_5.5m.obj -EXPORT openSAM/dgs/Safedock-T2_6.0m.obj dgs/SafedockT2_6.0m.obj -EXPORT openSAM/dgs/Safedock-T2_6.5m.obj dgs/SafedockT2_6.5m.obj -EXPORT openSAM/dgs/Safedock-T2_7.0m.obj dgs/SafedockT2_7.0m.obj -EXPORT openSAM/dgs/Safedock-T2_2.5m_pole.obj dgs/SafedockT2_2.5m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_3.0m_pole.obj dgs/SafedockT2_3.0m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_3.5m_pole.obj dgs/SafedockT2_3.5m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_4.0m_pole.obj dgs/SafedockT2_4.0m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_4.5m_pole.obj dgs/SafedockT2_4.5m_pole.obj -EXPORT openSAM/dgs/Safedock-T2_5.0m_pole.obj dgs/SafedockT2_5.0m_pole.obj - -# stuff below should not show up in WED - -DEPRECATED - -# SAM3 - -# DOCKINGS -EXPORT SAM3_Library/marshaller/marshaller.agp dgs/marshaller.agp -EXPORT SAM3_Library/marshaller/marshaller_high.agp dgs/marshaller_high.agp -EXPORT SAM3_Library/VDGS/VDGS_marker.agp blank/blank.agp -EXPORT SAM3_Library/VDGS/Safedock-T2-24.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Safedock-T2-24-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/Safegate.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Safegate-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/FMT.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/FMT-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/Honeywell.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Honeywell-Pole.obj dgs/SafedockT2-6m-pole.obj -EXPORT SAM3_Library/VDGS/Honeywell_PA3.obj dgs/SafedockT2.obj -EXPORT SAM3_Library/VDGS/Honeywell_PA3-Pole.obj dgs/SafedockT2-6m-pole.obj - -# DOCKINGS SAM1 -EXPORT SAM_Library/dockings/FMT_2.5m.obj dgs/SafedockT2_2.5m_180.obj -EXPORT SAM_Library/dockings/FMT_3.0m.obj dgs/SafedockT2_3.0m_180.obj -EXPORT SAM_Library/dockings/FMT_3.5m.obj dgs/SafedockT2_3.5m_180.obj -EXPORT SAM_Library/dockings/FMT_4.0m.obj dgs/SafedockT2_4.0m_180.obj -EXPORT SAM_Library/dockings/FMT_4.5m.obj dgs/SafedockT2_4.5m_180.obj -EXPORT SAM_Library/dockings/FMT_5.0m.obj dgs/SafedockT2_5.0m_180.obj -EXPORT SAM_Library/dockings/FMT_2.5m_pole.obj dgs/SafedockT2_2.5m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_3.0m_pole.obj dgs/SafedockT2_3.0m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_3.5m_pole.obj dgs/SafedockT2_3.5m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_4.0m_pole.obj dgs/SafedockT2_4.0m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_4.5m_pole.obj dgs/SafedockT2_4.5m_pole_180.obj -EXPORT SAM_Library/dockings/FMT_5.0m_pole.obj dgs/SafedockT2_5.0m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_2.5m.obj dgs/SafedockT2_2.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.0m.obj dgs/SafedockT2_3.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.5m.obj dgs/SafedockT2_3.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.0m.obj dgs/SafedockT2_4.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.5m.obj dgs/SafedockT2_4.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_5.0m.obj dgs/SafedockT2_5.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_5.5m.obj dgs/SafedockT2_5.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_6.0m.obj dgs/SafedockT2_6.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_6.5m.obj dgs/SafedockT2_6.5m_180.obj -EXPORT SAM_Library/dockings/Honeywell_7.0m.obj dgs/SafedockT2_7.0m_180.obj -EXPORT SAM_Library/dockings/Honeywell_2.5m_pole.obj dgs/SafedockT2_2.5m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.0m_pole.obj dgs/SafedockT2_3.0m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_3.5m_pole.obj dgs/SafedockT2_3.5m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.0m_pole.obj dgs/SafedockT2_4.0m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_4.5m_pole.obj dgs/SafedockT2_4.5m_pole_180.obj -EXPORT SAM_Library/dockings/Honeywell_5.0m_pole.obj dgs/SafedockT2_5.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_2.5m_pole.obj dgs/SafedockT2_2.5m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_3.0m_pole.obj dgs/SafedockT2_3.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_3.5m_pole.obj dgs/SafedockT2_3.5m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_4.0m_pole.obj dgs/SafedockT2_4.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_4.5m_pole.obj dgs/SafedockT2_4.5m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_5.0m_pole.obj dgs/SafedockT2_5.0m_pole_180.obj -EXPORT SAM_Library/dockings/Safegate_2.5m.obj dgs/SafedockT2_2.5m_180.obj -EXPORT SAM_Library/dockings/Safegate_3.0m.obj dgs/SafedockT2_3.0m_180.obj -EXPORT SAM_Library/dockings/Safegate_3.5m.obj dgs/SafedockT2_3.5m_180.obj -EXPORT SAM_Library/dockings/Safegate_4.0m.obj dgs/SafedockT2_4.0m_180.obj -EXPORT SAM_Library/dockings/Safegate_4.5m.obj dgs/SafedockT2_4.5m_180.obj -EXPORT SAM_Library/dockings/Safegate_5.0m.obj dgs/SafedockT2_5.0m_180.obj -EXPORT SAM_Library/dockings/marshaller.obj dgs/Marshaller.obj -# DOCKINGS SAM2 -EXPORT SAM_Library/dockings/marshaller.agp dgs/marshaller.agp -EXPORT SAM_Library/dockings/marshaller_high.agp dgs/marshaller_high.agp -EXPORT SAM_Library/dockings/Safegate_2.5m.agp dgs/SafedockT2_2.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_3.0m.agp dgs/SafedockT2_3.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_3.5m.agp dgs/SafedockT2_3.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_4.0m.agp dgs/SafedockT2_4.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_4.5m.agp dgs/SafedockT2_4.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_5.0m.agp dgs/SafedockT2_5.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_5.5m.agp dgs/SafedockT2_5.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_6.0m.agp dgs/SafedockT2_6.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_6.5m.agp dgs/SafedockT2_6.5m_180.agp -EXPORT SAM_Library/dockings/Safegate_7.0m.agp dgs/SafedockT2_7.0m_180.agp -EXPORT SAM_Library/dockings/Safegate_2.5m_pole.agp dgs/SafedockT2_2.5m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_3.0m_pole.agp dgs/SafedockT2_3.0m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_3.5m_pole.agp dgs/SafedockT2_3.5m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_4.0m_pole.agp dgs/SafedockT2_4.0m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_4.5m_pole.agp dgs/SafedockT2_4.5m_pole_180.agp -EXPORT SAM_Library/dockings/Safegate_5.0m_pole.agp dgs/SafedockT2_5.0m_pole_180.agp -EXPORT SAM_Library/dockings/Honeywell_2.5m.agp dgs/SafedockT2_2.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_3.0m.agp dgs/SafedockT2_3.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_3.5m.agp dgs/SafedockT2_3.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_4.0m.agp dgs/SafedockT2_4.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_4.5m.agp dgs/SafedockT2_4.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_5.0m.agp dgs/SafedockT2_5.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_5.5m.agp dgs/SafedockT2_5.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_6.0m.agp dgs/SafedockT2_6.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_6.5m.agp dgs/SafedockT2_6.5m_180.agp -EXPORT SAM_Library/dockings/Honeywell_7.0m.agp dgs/SafedockT2_7.0m_180.agp -EXPORT SAM_Library/dockings/Honeywell_2.5m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_3.0m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_3.5m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_4.0m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_4.5m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/Honeywell_5.0m_pole.agp dgs/SafedockT2-6m-pole-180.agp -EXPORT SAM_Library/dockings/FMT_2.5m.agp dgs/SafedockT2_2.5m_180.agp -EXPORT SAM_Library/dockings/FMT_3.0m.agp dgs/SafedockT2_3.0m_180.agp -EXPORT SAM_Library/dockings/FMT_3.5m.agp dgs/SafedockT2_3.5m_180.agp -EXPORT SAM_Library/dockings/FMT_4.0m.agp dgs/SafedockT2_4.0m_180.agp -EXPORT SAM_Library/dockings/FMT_4.5m.agp dgs/SafedockT2_4.5m_180.agp -EXPORT SAM_Library/dockings/FMT_5.0m.agp dgs/SafedockT2_5.0m_180.agp -EXPORT SAM_Library/dockings/FMT_2.5m_pole.agp dgs/SafedockT2_2.5m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_3.0m_pole.agp dgs/SafedockT2_3.0m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_3.5m_pole.agp dgs/SafedockT2_3.5m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_4.0m_pole.agp dgs/SafedockT2_4.0m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_4.5m_pole.agp dgs/SafedockT2_4.5m_pole_180.agp -EXPORT SAM_Library/dockings/FMT_5.0m_pole.agp dgs/SafedockT2_5.0m_pole_180.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_2.5m.agp dgs/SafedockT2_2.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.0m.agp dgs/SafedockT2_3.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.5m.agp dgs/SafedockT2_3.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.0m.agp dgs/SafedockT2_4.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.5m.agp dgs/SafedockT2_4.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_5.0m.agp dgs/SafedockT2_5.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_5.5m.agp dgs/SafedockT2_5.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_6.0m.agp dgs/SafedockT2_6.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_6.5m.agp dgs/SafedockT2_6.5m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_7.0m.agp dgs/SafedockT2_7.0m.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_2.5m_pole.agp dgs/SafedockT2_2.5m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.0m_pole.agp dgs/SafedockT2_3.0m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_3.5m_pole.agp dgs/SafedockT2_3.5m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.0m_pole.agp dgs/SafedockT2_4.0m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_4.5m_pole.agp dgs/SafedockT2_4.5m_pole.agp -EXPORT SAM_Library/dockings/Safedock-T2-24_5.0m_pole.agp dgs/SafedockT2_5.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_2.5m.agp dgs/SafedockT2_2.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.0m.agp dgs/SafedockT2_3.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.5m.agp dgs/SafedockT2_3.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.0m.agp dgs/SafedockT2_4.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.5m.agp dgs/SafedockT2_4.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.0m.agp dgs/SafedockT2_5.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.5m.agp dgs/SafedockT2_5.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.0m.agp dgs/SafedockT2_6.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.5m.agp dgs/SafedockT2_6.5m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_7.0m.agp dgs/SafedockT2_7.0m.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_2.5m_pole.agp dgs/SafedockT2_2.5m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.0m_pole.agp dgs/SafedockT2_3.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_3.5m_pole.agp dgs/SafedockT2_3.5m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.0m_pole.agp dgs/SafedockT2_4.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_4.5m_pole.agp dgs/SafedockT2_4.5m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.0m_pole.agp dgs/SafedockT2_5.0m_pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_5.5m_pole.agp dgs/SafedockT2-6m-pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.0m_pole.agp dgs/SafedockT2-6m-pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_6.5m_pole.agp dgs/SafedockT2-6m-pole.agp -EXPORT SAM_Library/dockings/Honeywell-PA3_7.0m_pole.agp dgs/SafedockT2-6m-pole.agp diff --git a/openSAM-pkg/openSAM_Library/library.txt b/openSAM-pkg/openSAM_Library/library.txt index f5e0a77..bb4d528 100644 --- a/openSAM-pkg/openSAM_Library/library.txt +++ b/openSAM-pkg/openSAM_Library/library.txt @@ -7,7 +7,17 @@ LIBRARY #### Scenery Animation Manager - Library 3.0.0 #### ########################################################## -### Without SAM_library, replace everything but dockings from SAM_Library + +## always replace dockings by openSAM objects +REGION_DEFINE default +REGION_ALL + +## if SAM_Library is not installed replace remaining objects by blank +REGION_DEFINE SAM_Library_replace +REGION_ALL +REGION_DREF opensam/SAM_Library_installed == 0 + +REGION default # openSAM native EXPORT openSAM/dgs/marshaller.agp dgs/marshaller.agp @@ -30,7 +40,6 @@ EXPORT openSAM/dgs/Safedock-T2_4.5m_pole.obj dgs/SafedockT2_4.5m_pole.obj EXPORT openSAM/dgs/Safedock-T2_5.0m_pole.obj dgs/SafedockT2_5.0m_pole.obj # stuff below should not show up in WED - DEPRECATED # SAM3 @@ -50,40 +59,6 @@ EXPORT SAM3_Library/VDGS/Honeywell-Pole.obj dgs/SafedockT2-6m-pole.obj EXPORT SAM3_Library/VDGS/Honeywell_PA3.obj dgs/SafedockT2.obj EXPORT SAM3_Library/VDGS/Honeywell_PA3-Pole.obj dgs/SafedockT2-6m-pole.obj -# JETWAYS -EXPORT SAM3_Library/jetways/Type01_solid_0.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_2.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_5.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_5.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_solid_6.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_2.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_5.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_5.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type01_glas_6.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_solid_5.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_3.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_3.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_4.0m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_4.5m.obj blank/blank.obj -EXPORT SAM3_Library/jetways/Type02_glas_5.0m.obj blank/blank.obj - -# BRIDGES -EXPORT SAM3_Library/bridges/Type01_solid.fac blank/blank.fac -EXPORT SAM3_Library/bridges/Type02_solid.fac blank/blank.fac -EXPORT SAM3_Library/bridges/Type01_glas.fac blank/blank.fac - # DOCKINGS SAM1 EXPORT SAM_Library/dockings/FMT_2.5m.obj dgs/SafedockT2_2.5m_180.obj EXPORT SAM_Library/dockings/FMT_3.0m.obj dgs/SafedockT2_3.0m_180.obj @@ -126,6 +101,7 @@ EXPORT SAM_Library/dockings/Safegate_4.0m.obj dgs/SafedockT2_4.0m_180.obj EXPORT SAM_Library/dockings/Safegate_4.5m.obj dgs/SafedockT2_4.5m_180.obj EXPORT SAM_Library/dockings/Safegate_5.0m.obj dgs/SafedockT2_5.0m_180.obj EXPORT SAM_Library/dockings/marshaller.obj dgs/Marshaller.obj + # DOCKINGS SAM2 EXPORT SAM_Library/dockings/marshaller.agp dgs/marshaller.agp EXPORT SAM_Library/dockings/marshaller_high.agp dgs/marshaller_high.agp @@ -209,6 +185,44 @@ EXPORT SAM_Library/dockings/Honeywell-PA3_5.5m_pole.agp dgs/SafedockT2-6m-pol EXPORT SAM_Library/dockings/Honeywell-PA3_6.0m_pole.agp dgs/SafedockT2-6m-pole.agp EXPORT SAM_Library/dockings/Honeywell-PA3_6.5m_pole.agp dgs/SafedockT2-6m-pole.agp EXPORT SAM_Library/dockings/Honeywell-PA3_7.0m_pole.agp dgs/SafedockT2-6m-pole.agp + + +REGION SAM_Library_replace + +# JETWAYS +EXPORT SAM3_Library/jetways/Type01_solid_0.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_2.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_3.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_3.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_4.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_4.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_5.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_5.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_solid_6.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_2.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_3.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_3.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_4.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_4.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_5.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_5.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type01_glas_6.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_solid_3.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_solid_3.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_solid_4.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_solid_4.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_solid_5.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_glas_3.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_glas_3.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_glas_4.0m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_glas_4.5m.obj blank/blank.obj +EXPORT SAM3_Library/jetways/Type02_glas_5.0m.obj blank/blank.obj + +# BRIDGES +EXPORT SAM3_Library/bridges/Type01_solid.fac blank/blank.fac +EXPORT SAM3_Library/bridges/Type02_solid.fac blank/blank.fac +EXPORT SAM3_Library/bridges/Type01_glas.fac blank/blank.fac + # HANGARS EXPORT SAM_Library/hangars/hangar_01.obj blank/blank.obj EXPORT SAM_Library/hangars/hangar_02.obj blank/blank.obj diff --git a/openSAM.cpp b/openSAM.cpp index 84377c4..4a042c2 100644 --- a/openSAM.cpp +++ b/openSAM.cpp @@ -85,6 +85,7 @@ static int nh; // on northern hemisphere static int season; // 0-3 static const char *dr_name[] = {"sam/season/winter", "sam/season/spring", "sam/season/summer", "sam/season/autumn"}; +static int sam_library_installed; XPLMDataRef date_day_dr, plane_x_dr, plane_y_dr, plane_z_dr, plane_lat_dr, plane_lon_dr, plane_elevation_dr, @@ -209,6 +210,14 @@ check_beacon(void) return beacon_state; } +// Accessor for the "opensam/SAM_Library_installed" dataref +static int +sam_lib_installed_acc(void *ref) +{ + UNUSED(ref); + return sam_library_installed; +} + // Accessor for the "sam/season/*" datarefs static int read_season_acc(void *ref) @@ -478,6 +487,7 @@ XPluginStart(char *out_name, char *out_sig, char *out_desc) load_pref(); SceneryPacks scp(xp_dir); + if (! scp.valid) { log_msg("Error collecting scenery_packs.ini!"); } else if (!collect_sam_xml(scp)) @@ -485,6 +495,9 @@ XPluginStart(char *out_name, char *out_sig, char *out_desc) log_msg("%d sceneries with sam jetways found", (int)sceneries.size()); + sam_library_installed = scp.SAM_Library_path.size() > 0; + log_msg("SAM_Library installed: %d", sam_library_installed); + // if commands or dataref accessors are already registered it's to late to // fail XPluginStart as the dll is unloaded and X-Plane crashes @@ -526,6 +539,9 @@ XPluginEnable(void) if (!init_done) { init_done = 1; + XPLMRegisterDataAccessor("opensam/SAM_Library_installed", xplmType_Int, 0, sam_lib_installed_acc, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL); // create the seasons datarefs for (int i = 0; i < 4; i++)