20,741
edits
m (→List of Addons: https://sourceforge.net/p/flightgear/fgdata/ci/5c1f4a69f131a55521050f4631b8fda42f050dd2/) |
|||
Line 100: | Line 100: | ||
== Implementation == | |||
For the time being, the addon.nas module will: | |||
* initialize addons configured with --addon=foobar command line switch | |||
* loop over /addons/addon[n] nodes | |||
* get root path in /addons/addon[n]/path property (set by options.cxx from --addon=/foo/bar) | |||
* load main.nas therein into namespace __addon[n]__ | |||
* call function main() from that main.nas with addon-path as arg | |||
== List of Addons == | == List of Addons == | ||
* Chatter | * Chatter |