9e122eaf81
Compile a useful subset of FG as a shared library, and add two basic uses of this to exercise some Flightplan / RoutePath / navaid functions. The test framework can/will be expanded incrementally from here, this is just a starting point.
41 lines
689 B
C++
41 lines
689 B
C++
#include "fake_sgSky.hxx"
|
|
|
|
void SGSky::add_cloud_layer(SGCloudLayer *layer)
|
|
{
|
|
_cloudLayers.push_back(layer);
|
|
}
|
|
|
|
SGCloudLayer *SGSky::get_cloud_layer(int i)
|
|
{
|
|
return _cloudLayers.at(i);
|
|
}
|
|
|
|
int SGSky::get_cloud_layer_count() const
|
|
{
|
|
return _cloudLayers.size();
|
|
}
|
|
|
|
void SGSky::set_clouds_enabled(bool enabled)
|
|
{
|
|
_3dcloudsEnabled = enabled;
|
|
}
|
|
|
|
const std::string &SGCloudLayer::getCoverageString() const
|
|
{
|
|
return std::string();
|
|
}
|
|
|
|
const std::string &SGCloudLayer::getCoverageString(SGCloudLayer::Coverage coverage)
|
|
{
|
|
return std::string();
|
|
}
|
|
|
|
void SGCloudLayer::setCoverageString(const std::string &coverage)
|
|
{
|
|
|
|
}
|
|
|
|
void SGCloudLayer::set_enable3dClouds(bool enable)
|
|
{
|
|
|
|
}
|