]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / Main / globals.hxx
index 606cb79ecae827ff6ad97478644c0090dbd3b03c..905752c6dfe092ab9662e0d70581ddbeb7e031a9 100644 (file)
@@ -52,6 +52,8 @@ class SGEphemeris;
 
 class SGCommandMgr;
 class SGMagVar;
+class SGMaterialLib;
+class SGModelLoader;
 class SGPropertyNode;
 class SGRoute;
 class SGTime;
@@ -66,7 +68,6 @@ class FGControls;
 class FGEnvironment;
 class FGEnvironmentMgr;
 class FGIO;
-class FGModelLoader;
 class FGModelMgr;
 class FGScenery;
 #ifdef FG_MPLAYER_AS
@@ -120,6 +121,9 @@ private:
     // Magnetic Variation
     SGMagVar *mag;
 
+    // Material properties library
+    SGMaterialLib *matlib;
+
     // Current autopilot
     FGAutopilot *autopilot;
 
@@ -159,7 +163,7 @@ private:
 
     SGCommandMgr *commands;
 
-    FGModelLoader * model_loader;
+    SGModelLoader * model_loader;
 
     FGAircraftModel *acmodel;
 
@@ -232,6 +236,9 @@ public:
     inline SGMagVar *get_mag() const { return mag; }
     inline void set_mag( SGMagVar *m ) { mag = m; }
 
+    inline SGMaterialLib *get_matlib() const { return matlib; }
+    inline void set_matlib( SGMaterialLib *m ) { matlib = m; }
+
     inline FGAutopilot *get_autopilot() const { return autopilot; }
     inline void set_autopilot( FGAutopilot *ap) { autopilot = ap; }
 
@@ -275,9 +282,9 @@ public:
 
     inline SGCommandMgr *get_commands () { return commands; }
 
-    inline FGModelLoader * get_model_loader () { return model_loader; }
+    inline SGModelLoader * get_model_loader () { return model_loader; }
 
-    inline void set_model_loader (FGModelLoader * loader) {
+    inline void set_model_loader (SGModelLoader * loader) {
         model_loader = loader;
     }