From: andy Date: Fri, 5 Dec 2003 01:52:34 +0000 (+0000) Subject: Initialize the SGInterpolator subsystem. Also remove some PSL code, since the includ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85b5210022d7d9ab5c0fb9cf375dbecb50084048;p=flightgear.git Initialize the SGInterpolator subsystem. Also remove some PSL code, since the include file is no longer there --- diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 873e82aac..52d919934 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -58,6 +58,7 @@ #include #include #include +#include #include #ifdef FG_USE_CLOUDS_3D # include @@ -103,9 +104,6 @@ #include #include #include -#if defined(HAVE_PLIB_PSL) -#include -#endif #include #include #include @@ -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. ////////////////////////////////////////////////////////////////////