#endif
#include <simgear/compiler.h>
+#include <simgear/math/sg_random.h>
#include <simgear/misc/sg_path.hxx>
#include <simgear/props/props.hxx>
#include <simgear/scene/sky/oursun.hxx>
#include <simgear/scene/sky/stars.hxx>
+namespace simgear {
+class SGReaderWriterOptions;
+}
+
typedef struct {
SGVec3d pos;
SGGeod pos_geod;
float minimum_sky_visibility;
int in_cloud;
- int cur_layer_pos;
// near cloud visibility state variables
bool in_puff;
// 3D cloud density
double clouds_3d_density;
+
+ // RNG seed
+ mt seed;
public:
*/
void build( double h_radius_m, double v_radius_m,
double sun_size, double moon_size,
- const SGEphemeris& eph, SGPropertyNode *property_tree_node );
+ const SGEphemeris& eph, SGPropertyNode *property_tree_node,
+ simgear::SGReaderWriterOptions* options);
/**
* Repaint the sky components based on current value of sun_angle,