#include <deque>
#include "terrainsampler.hxx"
+
using simgear::PropertyList;
+using std::deque;
+using std::vector;
+using std::ostringstream;
+using std::string;
-#include "tiedpropertylist.hxx"
+#include <simgear/props/tiedpropertylist.hxx>
namespace Environment {
/**
SGPropertyNode_ptr _positionLongitudeNode;
deque<double> _elevations;
- TiedPropertyList _tiedProperties;
+ simgear::TiedPropertyList _tiedProperties;
};
AreaSampler::AreaSampler( SGPropertyNode_ptr rootNode ) :
}
}
+/*
double alt_low_min = 0.0;
double n_max = 0.0;
sum = 0.0;
break;
}
}
-
+*/
_altLayered = 0.5 * (_altMin + _altOffset);
#if 0
SGPropertyNode_ptr _rootNode;
bool _enabled;
- TiedPropertyList _tiedProperties;
+ simgear::TiedPropertyList _tiedProperties;
};
TerrainSamplerImplementation::TerrainSamplerImplementation( SGPropertyNode_ptr rootNode ) :
if( subsys == NULL )
break;
remove_subsystem( subsystemName );
+ delete subsys;
}
init();