Vassilii Khachaturov wrote:

Rather, I wanted to make a subsection of preferences.xml dedicated to
precipitation rendering, maybe smth like a
/sim/rendering/precipitation
then just pass an sgprop node pointer from that environment manager
over to SGEnviro, and read properties inside SGEnviro from the subtree,
whenever I need that?

Would that be a fine thing to do?

Yep, that's how it's mostly done in SimGear and makes it easy to pass an increasing number of parameters without the need to alter the function call(s).

Erik


--
http://www.ehtw.info (Dutch)    Future of Enschede Airport Twente
http://www.ehofman.com/fgfs     FlightGear Flight Simulator
http://www.cafepress.com/fgfs_flightsim  FlightGear Art


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to