]> git.mxchange.org Git - flightgear.git/commit
Melchior FRANZ:
authorehofman <ehofman>
Wed, 8 Dec 2004 14:45:47 +0000 (14:45 +0000)
committerehofman <ehofman>
Wed, 8 Dec 2004 14:45:47 +0000 (14:45 +0000)
commitac27ead4a65b5c4059454d6d7b96ae1b0388abf8
tree665fdfeb4665efa69aa74eba6e697498c82307d1
parent7a58ef58e710aa20f2c3b21a2f6102fc522865ff
Melchior FRANZ:

The attached patch allows to put comments in *.stg files[1]. Lines with
# in the first column (and only there!) are skipped. This has no effect
on overall performance, but has two advantages:

A) possibility to temporarily comment out objects during scenery design,
   (or to put other remarks there);

B) possibility to put marks like "# BEGIN" and "# END" there that allow
   automated merging of local landmarks etc.

--

[1] actually, comments are possible now, too. But they aren't explicitly
    handled and fgfs tries to parse words in "comments" piece by piece. Ugly!

[2] Idea by Chris METZLER, that I make already use of. I have a local
    scenery dir for some tiles with extra objects, such as VOR/DME for
    all of Austria. These are surrounded by "# BEGIN LOCAL" and "# END LOCAL",
    and today I was able to merge the new 0.9.7 scenery with my locally
    changed files.   :-)
src/Scenery/tileentry.cxx