#include <simgear/misc/fgpath.hxx>
+enum SGCloudType {
+ SG_CLOUD_OVERCAST = 0,
+ SG_CLOUD_MOSTLY_CLOUDY,
+ SG_CLOUD_MOSTLY_SUNNY,
+ SG_CLOUD_CIRRUS,
+};
+
+
class SGCloudLayer {
+private:
+
ssgRoot *layer_root;
ssgTransform *layer_transform;
ssgSimpleState *layer_state;
// build the cloud object
void build( FGPath path, double size, double asl, double thickness,
- double transition );
+ double transition, SGCloudType type );
// repaint the cloud colors based on current value of sun_angle,
// sky, and fog colors. This updates the color arrays for
};
+// make an ssgSimpleState for a cloud layer given the named texture
+ssgSimpleState *SGCloudMakeState( const string &path );
+
+
#endif // _SG_CLOUD_HXX_