class FGModelMgr;
class FGRouteMgr;
class FGScenery;
-class FGPanel;
class FGTileMgr;
class FGViewMgr;
class FGViewer;
// Global autopilot "route"
FGRouteMgr *route_mgr;
- // 2D panel
- SGSharedPtr<FGPanel> current_panel;
-
// ATC manager
FGATISMgr *ATIS_mgr;
*/
SGPath resolve_maybe_aircraft_path(const std::string& branch) const;
+ /**
+ * Search in the following directories:
+ *
+ * 1. Root directory of current aircraft (defined by /sim/aircraft-dir)
+ * 2. All aircraft directories if branch starts with Aircraft/
+ * 3. fg_data directory
+ */
+ SGPath resolve_ressource_path(const std::string& branch) const;
+
inline const std::string &get_browser () const { return browser; }
void set_browser (const std::string &b) { browser = b; }
inline FGATISMgr *get_ATIS_mgr() const { return ATIS_mgr; }
inline void set_ATIS_mgr( FGATISMgr *a ) {ATIS_mgr = a; }
- inline FGPanel *get_current_panel() const { return current_panel; }
- void set_current_panel( FGPanel *cp );
-
inline FGControls *get_controls() const { return controls; }
inline void set_controls( FGControls *c ) { controls = c; }