From: curt Date: Wed, 15 Jan 2003 02:09:10 +0000 (+0000) Subject: Renamed mini_fdm to native_gui which makes a lot more sense to me. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ea543c121028ac261278b66d91f7bdb0ed1c5e9a;p=flightgear.git Renamed mini_fdm to native_gui which makes a lot more sense to me. --- diff --git a/src/Main/fg_io.cxx b/src/Main/fg_io.cxx index b987fe6a7..397ec166d 100644 --- a/src/Main/fg_io.cxx +++ b/src/Main/fg_io.cxx @@ -46,10 +46,10 @@ # include #endif #include -#include #include #include #include +#include #include #include #include @@ -137,9 +137,9 @@ FGIO::parse_port_config( const string& config ) } else if ( protocol == "native_fdm" ) { FGNativeFDM *native_fdm = new FGNativeFDM; io = native_fdm; - } else if ( protocol == "mini_fdm" ) { - FGMiniFDM *mini_fdm = new FGMiniFDM; - io = mini_fdm; + } else if ( protocol == "native_gui" ) { + FGNativeGUI *net_gui = new FGNativeGUI; + io = net_gui; } else if ( protocol == "nmea" ) { FGNMEA *nmea = new FGNMEA; io = nmea; diff --git a/src/Main/options.cxx b/src/Main/options.cxx index dc55328d3..93e1a068e 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -915,8 +915,8 @@ parse_option (const string& arg) add_channel( "native_ctrls", arg.substr(15) ); } else if ( arg.find( "--native-fdm=" ) == 0 ) { add_channel( "native_fdm", arg.substr(13) ); - } else if ( arg.find( "--mini-fdm=" ) == 0 ) { - add_channel( "mini_fdm", arg.substr(11) ); + } else if ( arg.find( "--native-gui=" ) == 0 ) { + add_channel( "native_gui", arg.substr(13) ); } else if ( arg.find( "--opengc=" ) == 0 ) { // char stop; // cout << "Adding channel for OpenGC Display" << endl; cin >> stop; diff --git a/src/Network/Makefile.am b/src/Network/Makefile.am index 5d307cd55..ffe499c79 100644 --- a/src/Network/Makefile.am +++ b/src/Network/Makefile.am @@ -14,10 +14,10 @@ libNetwork_a_SOURCES = \ httpd.cxx httpd.hxx \ $(JPEG_SERVER) \ joyclient.cxx joyclient.hxx \ - mini_fdm.cxx mini_fdm.hxx \ native.cxx native.hxx \ native_ctrls.cxx native_ctrls.hxx \ native_fdm.cxx native_fdm.hxx \ + native_gui.cxx native_gui.hxx \ net_ctrls.hxx net_fdm.hxx net_fdm_mini.hxx \ nmea.cxx nmea.hxx \ opengc.cxx opengc.hxx opengc_data.hxx \ diff --git a/src/Network/mini_fdm.cxx b/src/Network/mini_fdm.cxx deleted file mode 100644 index 80bb4c4b8..000000000 --- a/src/Network/mini_fdm.cxx +++ /dev/null @@ -1,255 +0,0 @@ -// native_fdm.cxx -- FGFS "Native" flight dynamics protocal class -// -// Written by Curtis Olson, started September 2001. -// -// Copyright (C) 2001 Curtis L. Olson - curt@flightgear.org -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -// -// $Id$ - - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include -#include // endian tests -#include -#include - -#include -#include