1
0
Fork 0
Commit graph

418 commits

Author SHA1 Message Date
fly
b44a1c1a7c Added autopush
Signed-off-by: fly <merspieler@airmail.cc>
2020-05-15 11:29:07 +01:00
Henning Stahlke
fe1aaaea1c Update README.add-ons 2020-04-17 09:55:02 +02:00
Stuart Buchanan
40e30a38b6 Document Compositor effects 2020-04-13 19:42:36 +01:00
Stuart Buchanan
9e7afc7291 Fix random buildings in Compositor
Update Compositor Effects and Shaders with latest random/osm2city
buildings implementation.
2020-03-28 14:27:08 +00:00
Erik Hofman
bb7d7ff24f Mention the random tag 2020-03-20 09:59:35 +01:00
Stuart Buchanan
887ec93df4 Improve scenery path, terrasync, .dirindex docs 2020-02-19 22:18:33 +00:00
Stuart Buchanan
5a0fc45853 Fix Building share when model shader off. 2020-01-27 13:38:22 +00:00
Stuart Buchanan
119fb5efe2 Random Buildings - improved texture mapping
Previously the front and side faces of random/OSM buildings
had identical texture coordinates.  This resulted in the sides
of buildings texture mapping being squeezed or stretched.

This change generates a separate texture mapping for the sides
of the buildings.
2019-11-23 17:08:04 +00:00
Stuart Buchanan
564e7b31fd Shader buildings multiple roof types
Shader buildings now support different roof types
- flat
- gabled
- hipped
- pyramidal

Primarily for osm2city use.
2019-10-08 21:39:40 +01:00
Stuart Buchanan
87e9118965 Shader buildings - split wall and roof tex index
Previously there was very limited texture variations
as a given texture index was used for both the wall
and ceiling.  Now these can be specified separately,
allowing for more variation in both STG defined and
random buildings.

Requires simgear commit 053bda26a43314a91b01b08cd4617da82f7ab807
2019-09-25 21:56:22 +01:00
Stuart Buchanan
4784a929d7 Instance based random buildings
Replace random buildings with one using proper instancing.
Also implement more control over rendering of random buildings.
see README.scenery for details.
2019-08-20 17:02:27 +01:00
Stuart Buchanan
f5d967dbb3 Update README.materials to cover regions. 2019-06-07 13:49:02 +01:00
Stuart Buchanan
af1bff53b9 Updated Chinese manual from Tong HUI.
Checking this in directly just incase we are unable to
re-generate it correctly in the future.
2019-02-15 16:12:08 +00:00
Florent Rougon
02b01af19e Add-ons: small fixes to Nasal/addons.nas and Docs/README.add-ons
+ After discussion with Henning:
    - orig_setlistener() and orig_maketimer() were not intended to be
      public -> prefix the function names with an underscore;
    - clear the add-on's lists of tracked listeners and timers in
      remove() (load() does that too, but it's a bit late).

+ Little rewording in Docs/README.add-ons.
2018-12-10 15:29:22 +01:00
Henning Stahlke
5e2756b410 Add reload support to addons.nas; add tracking of listeners and timers 2018-12-07 19:24:22 +01:00
Stuart Buchanan
b83e930736 Document additional STG Verbs 2018-11-19 19:50:57 +00:00
Scott Giese
09e8bd6f63 Revert "Doc/README: Only use Latin character set."
This reverts commit c5460a3cf1.
2018-10-10 22:11:00 -05:00
Scott Giese
c5460a3cf1 Doc/README: Only use Latin character set.
Eliminate overruns in PDF output.
2018-10-08 20:11:58 -05:00
Stuart Buchanan
3b7bdd3658 Full set of Docs updates for 2018.3.0
Hopefully final update to
- getstart
- readme.pdf
- FGShortRef
- C172p documentation.
2018-09-25 20:52:54 +01:00
Stuart Buchanan
c3e20b0ffd Update Manual with better launcher screenshot 2018-09-13 20:49:36 +01:00
Stuart Buchanan
081a21df1f Update Manual
Commit 8cfe60e7009e15e2b3804c4359246494e9f8e3d6 from getstart orignin next
2018-09-13 19:40:13 +01:00
James Turner
544e53c9d9 Standardize on Unix line ending
Reported at:
https://sourceforge.net/p/flightgear/codetickets/2042/
2018-08-08 11:17:49 +02:00
Stuart Buchanan
9f7e17a434 Support for <group> of checklists.
Checklists now support grouping by placing a group of checklists
under a <group> node.

e.g. /sim/checklists/group/checklist

The group can have a <name>, which is used by the checklist dialog
and can be used by other interfaces, such as the FG1000.
2018-04-12 22:24:57 +01:00
Florent Rougon
82417eb962 Docs/README.add-ons: document addon.storagePath and addon.createStorageDir()
These were added in FlightGear commit
9a044a474bdb6ccc471cbe4c69dced5d2a9f447e.
2018-03-21 08:43:14 +01:00
Florent Rougon
c88f766950 Docs/README.add-ons: minor changes 2018-02-27 20:31:10 +01:00
Florent Rougon
9b6b6d7f6d Docs/README.add-ons: document support for add-on-specific menus and dialogs
Document these new features of FlightGear 2018.2.
2018-02-27 13:16:11 +01:00
Florent Rougon
2724f71978 Docs/README.add-ons: document property subtree reserved for add-on developers
For each add-on, the subtree of the global Property Tree starting at
/addons/by-id/ADDON_ID/addon-devel is reserved for the specific needs of
the add-on, where ADDON_ID stands for the add-on identifier.
2018-02-23 10:04:04 +01:00
Florent Rougon
c17d9377f8 Add-ons: more specific file names for the interface between FG core and add-ons
The add-on framework now uses the following files in each add-on
directory:
  - addon-config.xml (previously: config.xml)
  - addon-main.nas   (previously: main.nas)

This is consistent with the addon-metadata.xml file that is already part
of the interface between FG core and add-ons. The goal is to make it
clearer, when browsing an add-on directory, which files belong to the
"FG core <-> add-on" interface and which files belong to the add-on
proper. This will be beneficial also when more files are added to the
"FG core <-> add-on" interface, such as possibly addon-events.xml in the
future.

This change is incompatible, thus it is the right time to do *before*
2018.2.1 is out, especially considering that this upcoming release
already has incompatible changes in the add-on API, namely the
requirement of the addon-metadata.xml file and the type of the argument
passed to each add-on's main() function. We'll try harder not to break
compatibility in the add-on API once 2018.2.1 is out. For now, it is
still a good time to try to get the API as clean as possible.
2018-02-10 19:50:00 +01:00
Florent Rougon
e0f721450a Docs/README.add-ons: document the '[addon=ADDON_ID]relative/path' syntax
The '[addon=ADDON_ID]relative/path' syntax can be used in resource paths
handled by the SimGear ResourceManager, when one wants to target a file
from a particular add-on (see FG commit 8c82fca4 and following ones).
This commit documents this feature.

Note: when the resource path is prepared by Nasal code, prefer using
      addons.Addon.resourcePath().
2018-01-18 09:56:58 +01:00
Florent Rougon
9556b901ee README.add-ons: minor change
The property-rule configuration file was probably a bad example, because
I believe the path has to be specified inside a PropertyList file (so
far). It can thus be done with the '[addon=ADDON_ID]relative/path'
syntax so as to ensure the file is found by
flightgear::addons::ResourceProvider, however in this particular case,
addons.Addon.resourcePath() is probably not going to be very useful.
2018-01-10 19:10:03 +01:00
Florent Rougon
acd54efff7 Docs/README.add-ons: add documentation for addons.Addon.resourcePath() 2018-01-10 14:13:25 +01:00
Florent Rougon
a57aed195e Add-ons: pass the addons.Addon ghost to main() instead of the base path
The addons.Addon instance (ghost) is much more interesting than its base
path. The base path is immediately accessible from the addons.Addon
instance using its 'basePath' attribute. The addons.Addon instance
allows main() to easily access essentially all of the add-on metadata,
including the add-on identifier, which makes it possible to write
main.nas without hardcoding the add-on id at all.

This is an incompatible change of course, so better do it now than
later.
2018-01-08 09:55:55 +01:00
Florent Rougon
72414d039a Docs/README.add-ons: update regarding /addon/authors and /addon/maintainers
With FlightGear commit 4d36082, the contents of /addon/authors (resp.
/addon/maintainers) in addon-metadata.xml files is now structured. It
may contain an arbitrary number of 'author' (resp. 'maintainer') child
nodes, each of which contains subnodes 'name', 'email' and 'url' ('name'
being mandatory, 'email' and 'url' being optional).

This commit updates Docs/README.add-ons regarding this change in the
syntax for addon-metadata.xml files, as well as the related
modifications to the add-on Nasal interface.
2018-01-03 00:18:00 +01:00
Florent Rougon
4393697753 Update Docs/README.add-ons: new fields and more details
Document new fields:

    authors
    maintainers
    license/{designation,file,url}
    url/{home-page,download,support,code-repository}
    tags

Add precisions concerning how fields are parsed, a bit more structure,
etc.

Mailing-list discussion:

  around https://sourceforge.net/p/flightgear/mailman/message/36155660/
2017-12-26 19:51:27 +01:00
Florent Rougon
2eb6e7b367 README.add-ons: adapt example to new header (with meta and file-type nodes) 2017-12-10 22:38:38 +01:00
Florent Rougon
33bc7eabb3 README.add-ons: use explicit node typing in the sample metadata file and more spacing
The explicit typing shouldn't change anything for the parsing code in
flightgear/src/Add-ons/AddonManager.cxx, because for each field, this
code knows the correct type and explicitly asks for it (and only once),
but external code might include addon-metadata.xml in some prop tree,
and then the explicit typing is likely to give better results.
2017-12-09 13:49:20 +01:00
Florent Rougon
c535306b3d Add-ons: simplify loading using the new API, set the 'loaded' flag
Also:
  - use the namespace __addon[ADDON_ID]__ when loading an add-on's
    main.nas file (previously, the namespace used was __addon[i]__ where
    i is 0 for the first registered add-on, 1 for the second one, etc.);
  - use logprint() instead of printlog(), because the former writes a
    more helpful source file and line number for the log call in
    fgfs.log (i.e., not always src/Scripting/NasalSys.cxx...);
  - remove the listener once it has been fired;
  - add documentation in Docs/README.add-ons.
2017-12-08 00:37:21 +01:00
Florent Rougon
70277258bf Adapt doc following renaming of ResourceProxy to EmbeddedResourceProxy in SimGear
simgear::ResourceProxy has been renamed to
simgear::EmbeddedResourceProxy in SimGear commit
2200fad30ebfd68cefd461d5443b8612621b4643[1]. Adapt
Docs/README.embedded-resources accordingly.

[1] This was done in order to avoid confusion with the unrelated classes
    simgear::ResourceProvider and simgear::ResourceManager.
2017-10-07 16:48:12 +02:00
Florent Rougon
1131ddd38f Add documentation for the embedded resources system and related classes
This document (Docs/README.embedded-resources) explains how to use the
embedded resources system and presents SimGear's CharArrayStream and
ZlibStream families of classes, as well as the ResourceProxy class.
2017-10-02 00:02:45 +02:00
Stuart Buchanan
6f2ccdd395 Add support for sprintf() formatting to tutorial
<message> tags can now contain sprintf() format
strings (%d, %.2f etc), with

<message-param>
  <property>/some/prop</property>
</message-param>

used as the substitute value.  Could be extended
in the future with perhaps Nasal evaluation?
2017-03-28 21:38:34 +01:00
Stuart Buchanan
fac7983f43 Updated docs for 2017.1 Bergen 2017-01-26 22:10:17 +00:00
Stuart Buchanan
dd575d2cd4 Updated documentation for 2016.4.1 Zurich release. 2016-11-12 19:11:23 +00:00
Jonathan Schellhase
b7a95c3c4f Here's the VFR tutorial for the 2016.4 Zurich release 2016-10-25 21:20:29 +02:00
Erik Hofman
138c356fb1 Latest version of the Chinese manual by Tong Hui 2016-08-15 09:56:19 +02:00
Stuart Buchanan
756d3ce4f9 Updated docs for 2016.2.1 Barcelona 2016-05-16 22:36:06 +01:00
Jonathan Schellhase
c34aaa7fa1 Adding the VFR cross-country tutorial from LEBL to LEIG 2016-05-13 20:42:42 +02:00
Torsten Dreyer
8f5e1bd626 Move marker.xml, marker.ac to Aircraft/Generic
also adjust (hopefully) all references to the old location
2016-03-23 11:00:18 +01:00
Stuart Buchanan
be1b5ea8b0 Chinese translation of The Manual from TONGHUIX. 2016-02-14 20:50:12 +00:00
Stuart Buchanan
46a914fa05 Upated documentation for 2016.1.0 2016-01-22 15:19:01 +00:00
Torsten Dreyer
ef898ec277 Add a svg version of our FG logo 2015-11-05 20:52:31 +01:00