Re: [Flightgear-devel] Bug in SGBinObject write_bin() function?

2007-11-12 Thread Ralf Gerlich
Hi Christian! Christian Buchner wrote: This code loads the largest (non-airport) BTG file from the World scenery disk 1 (mounted on drive S: on Windows) and tries to save it back. I don't have that disk, but I downloaded the respective chunk from the FlightGear scenery download site to try and

Re: [Flightgear-devel] Bug in SGBinObject write_bin() function?

2007-11-12 Thread Christian Buchner
2007/11/12, Ralf Gerlich [EMAIL PROTECTED]: Hi Christian! Christian Buchner wrote: This code loads the largest (non-airport) BTG file from the World scenery disk 1 (mounted on drive S: on Windows) and tries to save it back. I don't have that disk, but I downloaded the respective chunk

[Flightgear-devel] Bug in SGBinObject write_bin() function?

2007-11-11 Thread Christian Buchner
Hi, I am trying to understand the SGBinObject binary format (BTG files) and for this purpose I wrote a short test program to load a file and save it back to disk. SGBinObject source; bool result = source.read_bin (S:\\scenery\\Terrain\\w090n30\\w087n39\\1532019.btg); if (result ==