]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/tileentry.hxx
Patch from Julian Foad:
[flightgear.git] / src / Scenery / tileentry.hxx
index f1c52bc4bc81f62cb87c4617c73dd95780195428..e315d515071cb97c50b0bb5b029ffddce5fe3827 100644 (file)
@@ -190,6 +190,8 @@ private:
 
     ssgLeaf* gen_lights( ssgVertexArray *lights, int inc, float bright );
 
+    double timestamp;
+
 public:
 
     // ADA --->
@@ -224,7 +226,7 @@ public:
 
     // Update the ssg transform node for this tile so it can be
     // properly drawn relative to our (0,0,0) point
-    void prep_ssg_node( const Point3D& p, float vis);
+    void prep_ssg_node( const Point3D& p, sgVec3 up, float vis);
 
     /**
      * Load tile data from a file.
@@ -266,6 +268,17 @@ public:
      * graph for this tile.
      */
     void disconnect_ssg_nodes();
+
+       
+    /**
+     * return the SSG Transform node for the terrain
+     */
+    inline ssgTransform *get_terra_transform() { return terra_transform; }
+
+    void set_timestamp(double time_ms) { timestamp = time_ms; }
+
+    inline double get_timestamp() const { return timestamp; }
+
 };