1
0
Fork 0

Initialize the SGInterpolator subsystem. Also remove some PSL code, since the include file is no longer there

This commit is contained in:
andy 2003-12-05 01:52:34 +00:00
parent baaea29281
commit 85b5210022

View file

@ -58,6 +58,7 @@
#include <simgear/math/polar3d.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/misc/interpolator.hxx>
#include <simgear/scene/material/matlib.hxx>
#ifdef FG_USE_CLOUDS_3D
# include <simgear/scene/sky/clouds3d/SkySceneLoader.hpp>
@ -103,9 +104,6 @@
#include <Replay/replay.hxx>
#include <Scenery/scenery.hxx>
#include <Scenery/tilemgr.hxx>
#if defined(HAVE_PLIB_PSL)
#include <Scripting/scriptmgr.hxx>
#endif
#include <Scripting/NasalSys.hxx>
#include <Sound/fg_fx.hxx>
#include <Systems/system_mgr.hxx>
@ -1452,6 +1450,11 @@ bool fgInitSubsystems() {
globals->get_event_mgr()->init();
globals->get_event_mgr()->setFreezeProperty(fgGetNode("/sim/freeze/clock"));
////////////////////////////////////////////////////////////////////
// Initialize the property interpolator subsystem
////////////////////////////////////////////////////////////////////
globals->add_subsystem("interpolator", new SGInterpolator());
////////////////////////////////////////////////////////////////////
// Initialize the material property subsystem.
////////////////////////////////////////////////////////////////////
@ -1513,16 +1516,6 @@ bool fgInitSubsystems() {
globals->add_subsystem("logger", new FGLogger);
#if defined(HAVE_PLIB_PSL)
////////////////////////////////////////////////////////////////////
// Create and register the script manager.
////////////////////////////////////////////////////////////////////
globals->add_subsystem("scripting", new FGScriptMgr);
#endif // HAVE_PLIB_PSL
////////////////////////////////////////////////////////////////////
// Create and register the XML GUI.
////////////////////////////////////////////////////////////////////