1
0
Fork 0
fgdata/Nasal/loadpriority.xml
Stuart Buchanan f0a999cb2c Nasal library load order
Control the order in which fgdata/Nasal/*.nas files are loaded
on startup.

Previously all the files were loaded in order based on filename.
This was problematic for aaa.nas which might want to call
props.getNode(), and generally resolved by using
_setlistener("/sim/signals/nasal-dir-initialized")

This change allows us to configure a list of Nasal files that are
loaded first on startup - loadpriority.xml.
2020-05-25 19:47:50 +01:00

14 lines
449 B
XML

<?xml version="1.0"?>
<!--
Core Nasal module load priority list.
The files listed below will be loaded in order before any other files in the
Nasal directory. This is to avoid dependency problems that would otherwise
occur if aaaa.nas relied on props.nas
-->
<PropertyList>
<file n="0">props.nas</file>
<file n="1">globals.nas</file>
<file n="2">math.nas</file>
<file n="3">string.nas</file>
<file n="3">io.nas</file>
</PropertyList>