fix numerous compile errors caused by SG changes
This commit is contained in:
parent
505a2ea982
commit
65462f1269
6 changed files with 10 additions and 3 deletions
src
Airports/GenAirports850
Prep/DemChop
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include <simgear/debug/logstream.hxx>
|
||||
#include "linked_objects.hxx"
|
||||
#include "debug.hxx"
|
||||
#include <cstdio>
|
||||
|
||||
Windsock::Windsock( char* definition )
|
||||
{
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <simgear/debug/logstream.hxx>
|
||||
#include "object.hxx"
|
||||
#include "debug.hxx"
|
||||
#include <cstdio>
|
||||
|
||||
LightingObj::LightingObj( char* definition )
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include <terragear/tg_shapefile.hxx>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include "global.hxx"
|
||||
#include "apt_math.hxx"
|
||||
#include "beznode.hxx"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue