From e856a8ce0a73a917da76a5744aad2648a0b00533 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 22 Jan 2002 15:39:51 +0000 Subject: [PATCH] Minor tweaks. --- src/Main/options.cxx | 8 +++++++- src/Network/httpd.cxx | 2 +- src/Time/light.cxx | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index d45bd796d..b3a949868 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -191,8 +191,8 @@ fgSetDefaults () // Freeze options fgSetBool("/sim/freeze/master", false); fgSetBool("/sim/freeze/position", false); - fgSetBool("/sim/freeze/fuel", false); fgSetBool("/sim/freeze/time-of-day", false); + fgSetBool("/sim/freeze/fuel", false); } @@ -561,6 +561,10 @@ parse_option (const string& arg) fgSetBool("/sim/freeze/fuel", false); } else if ( arg == "--enable-fuel-freeze" ) { fgSetBool("/sim/freeze/fuel", true); + } else if ( arg == "--disable-tod-freeze" ) { + fgSetBool("/sim/freeze/time-of-day", false); + } else if ( arg == "--enable-tod-freeze" ) { + fgSetBool("/sim/freeze/time-of-day", true); } else if ( arg == "--disable-anti-alias-hud" ) { fgSetBool("/sim/hud/antialiased", false); } else if ( arg == "--enable-anti-alias-hud" ) { @@ -1110,6 +1114,8 @@ fgUsage () << " --enable-freeze Start in a frozen state" << endl << " --disable-fuel-freeze Fuel is consumed normally" << endl << " --enable-fuel-freeze Fuel tank quantity forced to remain constant" << endl + << " --disable-tod-freeze Time of day advances normally" << endl + << " --enable-tod-freeze Do not advance time of day" << endl << " --control=mode Primary control mode (joystick, keyboard," << endl << " mouse)" << endl << " --enable-auto-coordination Enable auto coordination" << endl diff --git a/src/Network/httpd.cxx b/src/Network/httpd.cxx index ea67b700b..b012e0ba1 100644 --- a/src/Network/httpd.cxx +++ b/src/Network/httpd.cxx @@ -147,7 +147,7 @@ void HttpdChannel::foundTerminator (void) { response += ""; response += getTerminator(); - response += "HUD - "; + response += "<TITLE>FlightGear - "; response += request; response += ""; response += getTerminator(); diff --git a/src/Time/light.cxx b/src/Time/light.cxx index 409d65182..fa5617d37 100644 --- a/src/Time/light.cxx +++ b/src/Time/light.cxx @@ -177,7 +177,7 @@ void fgLIGHT::UpdateAdjFog( void ) { } if ( globals->get_current_view()->get_view_offset() < -2.0 * SGD_2PI || globals->get_current_view()->get_view_offset() > 2.0 * SGD_2PI ) { - SG_LOG( SG_EVENT, SG_ALERT, "Psi rotation bad = " + SG_LOG( SG_EVENT, SG_ALERT, "current view()->view offset bad = " << globals->get_current_view()->get_view_offset() ); exit(-1); } -- 2.39.5