--- Melchior FRANZ wrote: > * Stuart Buchanan -- Tuesday 03 July 2007: > > The included XML files replace those in the gui/dialogs directory, > while > > gremlins.nas should be put in the Nasal directory. > > gremlins.nas? Please not "funny" names in $FG_ROOT/Nasal/. These > are code files, and so far all of them were called after their purpose. > This makes it easier for all to see what they are about. > > What I don't really understand is why local variables need to be ii and > nnn. What's wrong with just i and n, like everyone else uses? Or is > exactly *that* the problem? > > for (ii = 0; ii < 5; ii+=1){ > ... > nnn = props.globals.getNode(feat ~ "/serviceable", 1); > if (nnn.getValue() == nil) { > nnn.setBoolValue(1);
I've fixed both these issues. The Nasal file is now called "failures.nas", and I've shortened the variables as requested. I've also gotten rid of the height and width settings on the dialog boxes. New version of the patch, along with documentation available from http://www.nanjika.co.uk/flightgear/failures.tar.gz Could someone please commit this to CVS? Best Regards to all, -Stuart ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel