]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/scenery.hxx
Currently, when the sim pauses, all IO is also halted. To me it generally
[flightgear.git] / src / Scenery / scenery.hxx
index aa9e111032fe9f73fba10352ebd98eb0f4c1f3eb..020405f83507147fed5f9e2326ad8a11795358b9 100644 (file)
 #include <plib/sg.h>
 #include <plib/ssg.h>
 
+#include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/math/point3d.hxx>
 
-#include <Main/fgfs.hxx>
-
 
 // Define a structure containing global scenery parameters
-class FGScenery : public FGSubsystem {
+class FGScenery : public SGSubsystem {
     // center of current scenery chunk
     Point3D center;
 
@@ -65,6 +64,7 @@ class FGScenery : public FGSubsystem {
     ssgBranch *terrain_branch;
     ssgRoot *gnd_lights_root;
     ssgRoot *rwy_lights_root;
+    ssgRoot *taxi_lights_root;
     ssgBranch *models_branch;
     ssgBranch *aircraft_branch;
 
@@ -73,7 +73,7 @@ public:
     FGScenery();
     ~FGScenery();
 
-    // Implementation of FGSubsystem.
+    // Implementation of SGSubsystem.
     void init ();
     void bind ();
     void unbind ();
@@ -111,6 +111,13 @@ public:
         rwy_lights_root = r;
     }
 
+    inline ssgRoot *get_taxi_lights_root () const {
+        return taxi_lights_root;
+    }
+    inline void set_taxi_lights_root (ssgRoot *r) {
+        taxi_lights_root = r;
+    }
+
     inline ssgBranch *get_models_branch () const {
         return models_branch;
     }