//
// Written by Curtis Olson, started August 1997.
//
-// Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com
+// Copyright (C) 1997 Curtis L. Olson - http://www.flightgear.org/~curt
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
#include <Input/input.hxx>
#include <Instrumentation/instrument_mgr.hxx>
#include <Model/acmodel.hxx>
+#include <AIModel/submodel.hxx>
#include <AIModel/AIManager.hxx>
#include <Navaids/navdb.hxx>
#include <Navaids/navlist.hxx>
<< globals->get_warp() );
}
+
// This is the top level init routine which calls all the other
// initialization routines. If you are adding a subsystem to flight
// gear, its initialization call should located in this routine.
// Initialize the event manager subsystem.
////////////////////////////////////////////////////////////////////
- globals->get_event_mgr()->init();
- globals->get_event_mgr()->setFreezeProperty(fgGetNode("/sim/freeze/clock"));
+ globals->get_event_mgr()->init();
+ globals->get_event_mgr()->setFreezeProperty(fgGetNode("/sim/freeze/clock"));
////////////////////////////////////////////////////////////////////
// Initialize the property interpolator subsystem
//////////////////////////////////////////////////////////////////////
// Initialize the 2D cloud subsystem.
////////////////////////////////////////////////////////////////////
- fgGetNode("/sim/rendering/bump-mapping", true);
- fgSetBool("/sim/rendering/bump-mapping", false);
+ fgGetBool("/sim/rendering/bump-mapping", false);
#ifdef FG_USE_CLOUDS_3D
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
SG_LOG(SG_GENERAL, SG_INFO, " AI Model Manager");
globals->add_subsystem("ai_model", new FGAIManager);
+ globals->add_subsystem("submodel_mgr", new FGSubmodelMgr);
// It's probably a good idea to initialize the top level traffic manager