]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/simple.cxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / Airports / simple.cxx
index 6b8c6e0df27e0eb4a16236ea5feef0e3730a213b..54833b3c5a7b77e30f7b8ead0cf94b6ff3bcb670 100644 (file)
@@ -20,7 +20,7 @@
 //
 // 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.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -28,9 +28,6 @@
 #  include <config.h>
 #endif
 
-#ifdef _MSC_VER
-#  define _USE_MATH_DEFINES
-#endif
 #include <math.h>
 #include <algorithm>
 
@@ -280,7 +277,7 @@ void FGAirportList::has_metar( const string &id ) {
 const FGAirport *fgFindAirportID( const string& id) {
     const FGAirport* result = NULL;
     if ( id.length() ) {
-        SG_LOG( SG_GENERAL, SG_INFO, "Searching for airport code = " << id );
+        SG_LOG( SG_GENERAL, SG_BULK, "Searching for airport code = " << id );
 
         result = globals->get_airports()->search( id );
 
@@ -292,7 +289,7 @@ const FGAirport *fgFindAirportID( const string& id) {
     } else {
         return NULL;
     }
-    SG_LOG( SG_GENERAL, SG_INFO,
+    SG_LOG( SG_GENERAL, SG_BULK,
             "Position for " << id << " is ("
             << result->getLongitude() << ", "
             << result->getLatitude() << ")" );
@@ -306,7 +303,7 @@ double fgGetAirportElev( const string& id ) {
     
     // double lon, lat;
 
-    SG_LOG( SG_GENERAL, SG_INFO,
+    SG_LOG( SG_GENERAL, SG_BULK,
             "Finding elevation for airport: " << id );
 
     const FGAirport *a=fgFindAirportID( id);
@@ -321,7 +318,7 @@ double fgGetAirportElev( const string& id ) {
 Point3D fgGetAirportPos( const string& id ) {
     // double lon, lat;
 
-    SG_LOG( SG_ATC, SG_INFO,
+    SG_LOG( SG_ATC, SG_BULK,
             "Finding position for airport: " << id );
 
     const FGAirport *a = fgFindAirportID( id);