]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/modelmgr.hxx
I have added Aaron Wilson's virtual 3d runway projection to the HUD.
[flightgear.git] / src / Model / modelmgr.hxx
index 87ee0fe76977b36e4870c96feeae991bed655dba..41376f47d1e469d6df7b89a6eed2456b220fa552 100644 (file)
 #include <vector>
 
 #include <simgear/compiler.h>  // for SG_USING_STD
-
-#include <Main/fgfs.hxx>       // for FGSubsystem
+#include <simgear/structure/subsystem_mgr.hxx>
 
 SG_USING_STD(vector);
 
 // Don't pull in headers, since we don't need them here.
 class ssgSelector;
 class SGPropertyNode;
-class FGModelPlacement;
+class SGModelPlacement;
 
 
 /**
  * Manage a list of user-specified models.
  */
-class FGModelMgr : public FGSubsystem
+class FGModelMgr : public SGSubsystem
 {
 public:
 
@@ -37,18 +36,18 @@ public:
    * The model manager uses the property nodes to update the model's
    * position and orientation; any of the property node pointers may
    * be set to zero to avoid update.  Normally, a caller should
-   * load the model by instantiating FGModelPlacement with the path
+   * load the model by instantiating SGModelPlacement with the path
    * to the model or its XML wrapper, then assign any relevant
    * property node pointers.
    *
-   * @see FGModelPlacement
+   * @see SGModelPlacement
    * @see FGModelMgr#add_instance
    */
   struct Instance
   {
     Instance ();
     virtual ~Instance ();
-    FGModelPlacement * model;
+    SGModelPlacement * model;
     SGPropertyNode * lon_deg_node;
     SGPropertyNode * lat_deg_node;
     SGPropertyNode * elev_ft_node;