1
0
Fork 0
flightgear/tests/fake_sgSky.cxx
2017-04-06 18:26:26 +09:00

43 lines
727 B
C++

#include "fake_sgSky.hxx"
static const std::string sEmptyString;
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 sEmptyString;
}
const std::string &SGCloudLayer::getCoverageString(SGCloudLayer::Coverage coverage)
{
return sEmptyString;
}
void SGCloudLayer::setCoverageString(const std::string &coverage)
{
}
void SGCloudLayer::set_enable3dClouds(bool enable)
{
}