1
0
Fork 0

fix numerous compile errors caused by SG changes

This commit is contained in:
Christian Schmitt 2014-02-14 11:59:05 +01:00
parent 505a2ea982
commit 65462f1269
6 changed files with 10 additions and 3 deletions

View file

@ -23,6 +23,7 @@
#include "runway.hxx"
#include "debug.hxx"
#include <cstdio>
#include <stdlib.h>
Helipad::Helipad(char* definition)
@ -259,4 +260,4 @@ void Helipad::BuildShoulder( tgpolygon_list& rwy_polys,
accum.Add( shoulder );
}
}
}

View file

@ -1,6 +1,7 @@
#include <simgear/debug/logstream.hxx>
#include "linked_objects.hxx"
#include "debug.hxx"
#include <cstdio>
Windsock::Windsock( char* definition )
{

View file

@ -2,6 +2,7 @@
#include <simgear/debug/logstream.hxx>
#include "object.hxx"
#include "debug.hxx"
#include <cstdio>
LightingObj::LightingObj( char* definition )
{

View file

@ -7,6 +7,8 @@
#include <terragear/tg_polygon.hxx>
#include <cstdio>
#include "global.hxx"
#include "apt_math.hxx"
#include "beznode.hxx"
@ -196,4 +198,4 @@ int Runway::BuildBtg( tgpolygon_list& rwy_polys, tglightcontour_list& rwy_lights
apt_base_polys.push_back( base );
return 0;
}
}

View file

@ -6,6 +6,8 @@
#include <terragear/tg_shapefile.hxx>
#include <cstdio>
#include "global.hxx"
#include "apt_math.hxx"
#include "beznode.hxx"

View file

@ -118,7 +118,7 @@ int main(int argc, char **argv) {
tmp_file.concat(".arr.new.gz");
SGPath orig_file(tmp3);
orig_file.concat(".arr.gz");
rename( tmp_file.str().c_str(), orig_file.str().c_str() );
orig_file.rename(tmp_file);
}
} else {
cout << "no voids" << endl;