-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, Feb 22, 2002 at 05:46:11PM -0500, David Megginson wrote: > I'd suggest something like this: > /environment/cloud-layer[0]/enabled > /environment/cloud-layer[0]/type I'll stick to /environment/clouds/layer[n] for now. There's more to clouds than just layers. It can always be changed later. > and so on (I'm not sure exactly what sub-properties you'll need), up > to a maximum of, say, eight layers. Actually, I was thinking of adding and removing layers dynamically as needed. I extended the props interface so it can create nodes with values of any type. Removal is a bit of a problem though. In the current situation properties are created for "life". We could just leave unused nodes, or I could add a delChild() method, or I could add it to the destructor. What do you think? > Before too long, FGEnvironment will be able to modify these properties > dynamically during the flight, but to start, we'll just have to set > the properties manually in the property browser. Indeed. That's the general idea. - -- Regards, "I RADIS, do you?" =Martin= http://www.iradis.org/ PGP: FE87448B DDF8 677C 9244 D119 4FE0 AE3A 37CF 3458 FE87 448B From: Martin van Beilen <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [Flightgear-devel] New subsystem: FGEnvironment In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Fri, Feb 22, 2002 at 05:46:11PM -0500 X-S-Issue: [EMAIL PROTECTED] 2002/02/23 20:48:54 fb987c4aba33a35a7765901a555eedf5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iEYEARECAAYFAjx38i0ACgkQN880WP6HRItobQCZAVI72FD1OW6sF7jKCUw7zY2E NiEAoK3ytkHtCAQHoeecDQOiYQzuwKcT =+Kuy -----END PGP SIGNATURE----- _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel