1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
ThorstenB
e282a1e6ed fgdata/Nasal: avoid performance drop after sim reset/relocate
"/sim/signals/fdm-initialized" triggers _every_ time the FDM is reset,
so for every sim reset/relocate.
We need to uninstall the listeners after its first execution, or guard
certain parts of the initialization, to avoid starting multiple
"timer/update loops", or installing multiple property listeners.
Repeating "sim reset" often enough would eventually completely block/
overload the system.
2012-03-20 21:18:20 +01:00
ThorstenB
2f00f31935 Make sure only one g-force/redout handler instance is running
Enabling redout/compression separately started two handlers - instead of one.
2011-04-02 11:46:04 +02:00
ThorstenB
afaaf62e18 Fixed some file modes (not executable). 2011-03-27 21:01:43 +02:00
stuart
acef95d90c Re-order initialization and fix a couple of bugs. 2008-04-29 19:58:10 +00:00
stuart
b703e21db9 Initialize on /sim/signals/fdm-initialized instead of /sim/signals/nasal-dir-initialized. This happens later on, and ensure we have a valid /sim/time/delta-sec value for the filters. 2008-04-23 22:09:34 +00:00
stuart
01d21c928a Add generic redout. 2008-04-23 20:44:57 +00:00
stuart
dc4ad0dc80 Update to generic blackout, incorporating feedback from Melchior FRANZ:
- Update redout level every frame
 - Replace reading of properties every iteration with listeners
 - move -onset and -complete properties into a parameters subtree
2008-02-16 20:23:27 +00:00
stuart
dd923792ec Add generic blackout/redout for all aircraft, along with a gui.
Based on previous work by vivian and myself.
2008-02-16 08:26:59 +00:00