On Wed, Sep 14, 2011 at 11:18 AM, Thorsten Renk wrote: >> Thorsten Renk - If this something we need to be thinking about for the >> Local Weather as well? > > We've been tossing the idea around in the forum that Local Weather stops > using the rand() function from Nasal and uses its own internal random > number generator. In this way, it could be initialized in a well-defined > state on different machines, the sequence could not be messed up by other > Nasal scripts running and you'd generate a predictable configuration. > > I haven't done anything in that direction though...
OK. We've got something similar already in the C code for exactly this purpose. Might be more efficient to simply expose that over Nasal, but I'm not sure how easy that would actually be. -Stuart ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel