]> git.mxchange.org Git - flightgear.git/commitdiff
remove last traces of PSL
authormfranz <mfranz>
Wed, 23 Jan 2008 13:03:50 +0000 (13:03 +0000)
committermfranz <mfranz>
Wed, 23 Jan 2008 13:03:50 +0000 (13:03 +0000)
src/Main/fg_commands.cxx

index c17a19c4f73d88a5320b6123db0b37ccfe09ca54..dfc8f92c7308b77204a8f5912714eb337ae9f775 100644 (file)
@@ -30,9 +30,6 @@
 #include <Aircraft/replay.hxx>
 #include <Scenery/tilemgr.hxx>
 #include <Scenery/scenery.hxx>
-#if defined(HAVE_PLIB_PSL)
-#  include <Scripting/scriptmgr.hxx>
-#endif
 #include <Scripting/NasalSys.hxx>
 #include <Sound/fg_fx.hxx>
 #include <Time/sunsolver.hxx>
@@ -166,20 +163,6 @@ do_null (const SGPropertyNode * arg)
   return true;
 }
 
-#if defined(HAVE_PLIB_PSL)
-/**
- * Built-in command: run a PSL script.
- *
- * script: the PSL script to execute
- */
-static bool
-do_script (const SGPropertyNode * arg)
-{
-    FGScriptMgr * mgr = (FGScriptMgr *)globals->get_subsystem("scripting");
-    return mgr->run(arg->getStringValue("script"));
-}
-#endif // HAVE_PLIB_PSL
-
 /**
  * Built-in command: run a Nasal script.
  */
@@ -1435,9 +1418,6 @@ static struct {
   SGCommandMgr::command_t command;
 } built_ins [] = {
     { "null", do_null },
-#if defined(HAVE_PLIB_PSL)
-    { "script", do_script },
-#endif // HAVE_PLIB_PSL
     { "nasal", do_nasal },
     { "exit", do_exit },
     { "reinit", do_reinit },