- compatibility with the new add-on API
This commit is contained in:
parent
d7473d129f
commit
578fc7c31b
3
addon-config.xml
Normal file
3
addon-config.xml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<PropertyList>
|
||||||
|
</PropertyList>
|
@ -1,13 +1,12 @@
|
|||||||
#
|
#
|
||||||
# Missions addon
|
# Protocol KML addon
|
||||||
#
|
#
|
||||||
# Started by Marius_A
|
# Slawek Mikula, December 2019
|
||||||
# Started on November 2016
|
|
||||||
#
|
|
||||||
# Converted to a FlightGear addon by
|
|
||||||
# Slawek Mikula, October 2017
|
|
||||||
|
|
||||||
var main = func( root ) {
|
var main = func( addon ) {
|
||||||
|
var root = addon.basePath;
|
||||||
|
var myAddonId = addon.id;
|
||||||
|
var mySettingsRootPath = "/addons/by-id/" ~ myAddonId;
|
||||||
# setting root path to addon
|
# setting root path to addon
|
||||||
setprop("/sim/mission/root_path", root);
|
setprop("/sim/mission/root_path", root);
|
||||||
|
|
10
addon-menubar-items.xml
Normal file
10
addon-menubar-items.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<PropertyList>
|
||||||
|
<meta>
|
||||||
|
<file-type type="string">FlightGear add-on menu bar items</file-type>
|
||||||
|
<format-version type="int">1</format-version>
|
||||||
|
</meta>
|
||||||
|
|
||||||
|
<menubar-items>
|
||||||
|
</menubar-items>
|
||||||
|
</PropertyList>
|
63
addon-metadata.xml
Normal file
63
addon-metadata.xml
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<meta>
|
||||||
|
<file-type type="string">FlightGear add-on metadata</file-type>
|
||||||
|
<format-version type="int">1</format-version>
|
||||||
|
</meta>
|
||||||
|
|
||||||
|
<addon>
|
||||||
|
<identifier type="string">com.slawekmikula.flightgear.Missions</identifier>
|
||||||
|
<name type="string">Missions & Adventures</name>
|
||||||
|
<version type="string">0.0.1</version>
|
||||||
|
|
||||||
|
<authors>
|
||||||
|
<author>
|
||||||
|
<name type="string">slawekmikula from the FlightGear forum</name>
|
||||||
|
<email type="string">slawek.mikula@gmail.com</email>
|
||||||
|
<url type="string"></url>
|
||||||
|
</author>
|
||||||
|
</authors>
|
||||||
|
|
||||||
|
<maintainers>
|
||||||
|
<maintainer>
|
||||||
|
<name type="string">slawekmikula from the FlightGear forum</name>
|
||||||
|
<email type="string">slawek.mikula@gmail.com</email>
|
||||||
|
<url type="string"></url>
|
||||||
|
</maintainer>
|
||||||
|
</maintainers>
|
||||||
|
|
||||||
|
<short-description type="string">FlightGear missions addon. Adds ability to perform mutliple missions/tasks.</short-description>
|
||||||
|
<long-description type="string">Addon for FlightGear that adds new missions & tasks to perform during flight </long-description>
|
||||||
|
|
||||||
|
<localized>
|
||||||
|
<pl>
|
||||||
|
<name>Misje i przygody</name>
|
||||||
|
<short-description type="string">Dodatek misji do FlightGear. Dodaje możliwość wykonywania różnych misji/zadań.</short-description>
|
||||||
|
<long-description type="string">Rozszerzenie do FlightGear, które dodaje nowe misje i zadania do wykonania podczas lotu</long-description>
|
||||||
|
</pl>
|
||||||
|
</localized>
|
||||||
|
|
||||||
|
<license>
|
||||||
|
<designation type="string">GNU GPL version 2 or later</designation>
|
||||||
|
<file type="string">LICENSE</file>
|
||||||
|
<url type="string">https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html</url>
|
||||||
|
</license>
|
||||||
|
|
||||||
|
<min-FG-version type="string">2018.3.5</min-FG-version>
|
||||||
|
<max-FG-version type="string">none</max-FG-version>
|
||||||
|
|
||||||
|
<urls>
|
||||||
|
<home-page type="string"><![CDATA[ http://wiki.flightgear.org/FlightGear_Missions_and_Adventures ]]></home-page>
|
||||||
|
<download type="string">https://github.com/slawekmikula/fg-addon-missions/download</download>
|
||||||
|
<support type="string">https://github.com/slawekmikula/fg-addon-missions/issues</support>
|
||||||
|
<code-repository type="string">https://github.com/slawekmikula/fg-addon-missions</code-repository>
|
||||||
|
</urls>
|
||||||
|
|
||||||
|
<tags>
|
||||||
|
<tag type="string">missions</tag>
|
||||||
|
<tag type="string">adventures</tag>
|
||||||
|
<tag type="string">fun</tag>
|
||||||
|
</tags>
|
||||||
|
</addon>
|
||||||
|
</PropertyList>
|
Loading…
Reference in New Issue
Block a user