]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/tgdb/userdata.hxx
hla: Provide a directly property based api for property data element.
[simgear.git] / simgear / scene / tgdb / userdata.hxx
index b487ddad329a7c8f8f0c0fb97e551608fbe1149e..fa5209e679024d29b3d9933531b6c3b989c97e76 100644 (file)
 #define _SG_USERDATA_HXX
 
 #include <simgear/compiler.h>
+#include <simgear/math/sg_random.h>
 
-#include STL_STRING
+#include <osg/Node>
 
-#include <plib/sg.h>
-
-#include <osg/Referenced>
-#include <osg/Geometry>
-#include <osg/Group>
-
-SG_USING_STD(string);
-
-class SGMaterial;
 class SGMatModel;
-class SGMatModelGroup;
-class SGModelLib;
 class SGPropertyNode;
 
-
 /**
  * the application must call sgUserDataInit() and specify the
  * following values (needed by the model loader callback at draw time)
@@ -54,6 +43,14 @@ void sgUserDataInit(SGPropertyNode *p);
 /**
  * Get a random model.
  */
-osg::Node* sgGetRandomModel(SGMatModel *obj);
+osg::Node* sgGetRandomModel(SGMatModel *obj, mt seed);
+
+namespace simgear
+{
+/**
+ * Get the property root for the simulation
+ */
+SGPropertyNode* getPropertyRoot();
+}
 
 #endif // _SG_USERDATA_HXX