]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.cxx
- adjusted for no-value constructor for FGPanel
[flightgear.git] / src / Main / fg_init.cxx
index d5e124f6d5d71683fc8cf2044529685a6363691b..5df6730f5df38d6e9e61fe32e42c41db93b7b5f4 100644 (file)
@@ -81,7 +81,7 @@
 #include <FDM/MagicCarpet.hxx>
 #include <Include/general.hxx>
 #include <Input/input.hxx>
-#include <Joystick/joystick.hxx>
+// #include <Joystick/joystick.hxx>
 #include <Objects/matlib.hxx>
 #include <Navaids/fixlist.hxx>
 #include <Navaids/ilslist.hxx>
 #include "fg_init.hxx"
 #include "fg_io.hxx"
 #include "fg_commands.hxx"
+#include "fg_props.hxx"
 #include "options.hxx"
 #include "globals.hxx"
-#include "bfi.hxx"
 
 #if defined(FX) && defined(XMESA)
 #include <GL/xmesa.h>
@@ -706,9 +706,9 @@ bool fgInitSubsystems( void ) {
     // Initialize the joystick subsystem.
     ////////////////////////////////////////////////////////////////////
 
-    if ( ! fgJoystickInit() ) {
-       SG_LOG( SG_GENERAL, SG_ALERT, "Error in Joystick initialization!" );
-    }
+    // if ( ! fgJoystickInit() ) {
+    //   SG_LOG( SG_GENERAL, SG_ALERT, "Error in Joystick initialization!" );
+    // }
 
 
     ////////////////////////////////////////////////////////////////////
@@ -748,10 +748,10 @@ bool fgInitSubsystems( void ) {
 
     
     ////////////////////////////////////////////////////////////////////
-    // Initialize the BFI.
+    // Initialize the default (kludged) properties.
     ////////////////////////////////////////////////////////////////////
 
-    FGBFI::init();
+    fgInitProps();
 
 
     ////////////////////////////////////////////////////////////////////