#include <Aircraft/controls.hxx>
#include <Airports/runways.hxx>
-#include <ATCDCL/ATCmgr.hxx>
+#include <ATCDCL/ATISmgr.hxx>
#include <Autopilot/route_mgr.hxx>
-#include <Cockpit/panel.hxx>
#include <GUI/FGFontCache.hxx>
#include <GUI/gui.h>
#include <Model/acmodel.hxx>
#include <Scenery/scenery.hxx>
#include <Scenery/tilemgr.hxx>
#include <Navaids/navlist.hxx>
+#include <Viewer/renderer.hxx>
+#include <Viewer/viewmgr.hxx>
#include "globals.hxx"
-#include "renderer.hxx"
-#include "viewmgr.hxx"
#include "locale.hxx"
#include "fg_props.hxx"
mag( NULL ),
matlib( NULL ),
route_mgr( NULL ),
- current_panel( NULL ),
- ATC_mgr( NULL ),
+ ATIS_mgr( NULL ),
controls( NULL ),
viewmgr( NULL ),
commands( SGCommandMgr::instance() ),
delete mag;
delete matlib;
delete route_mgr;
- current_panel = NULL;
- delete ATC_mgr;
+ delete ATIS_mgr;
if (controls)
{
return simgear::ResourceManager::instance()->findPath(branch);
}
+SGPath FGGlobals::resolve_ressource_path(const std::string& branch) const
+{
+ return simgear::ResourceManager::instance()
+ ->findPath(branch, SGPath(fgGetString("/sim/aircraft-dir")));
+}
+
FGRenderer *
FGGlobals::get_renderer () const
{
fgSetInt("/sim/time/warp-delta", d);
}
-void FGGlobals::set_current_panel( FGPanel *cp )
-{
- current_panel = cp;
-// poke the renderer to rebuild the scene node as necessary
- get_renderer()->panelChanged();
-}
-
// end of globals.cxx