parse_channel( const string& type, const string& channel_str ) {
// cout << "Channel string = " << channel_str << endl;
- globals->get_channel_options_list().push_back( type + "," + channel_str );
+ globals->get_channel_options_list()->push_back( type + "," + channel_str );
return true;
}
} else if ( arg == "--enable-mouse-pointer" ) {
fgSetString("/sim/startup/mouse-pointer", "enabled");
} else if ( arg == "--disable-freeze" ) {
- fgSetBool("/sim/freeze", false);
+ globals->set_freeze(false);
} else if ( arg == "--enable-freeze" ) {
- fgSetBool("/sim/freeze", true);
+ globals->set_freeze(true);
} else if ( arg == "--disable-anti-alias-hud" ) {
fgSetBool("/sim/hud/antialiased", false);
} else if ( arg == "--enable-anti-alias-hud" ) {
} else if ( arg.find( "--lon=" ) != string::npos ) {
fgSetDouble("/position/longitude",
parse_degree(arg.substr(6)));
- fgSetString("/position/airport-id", "");
+ fgSetString("/sim/startup/airport-id", "");
} else if ( arg.find( "--lat=" ) != string::npos ) {
fgSetDouble("/position/latitude",
parse_degree(arg.substr(6)));
- fgSetString("/position/airport-id", "");
+ fgSetString("/sim/startup/airport-id", "");
} else if ( arg.find( "--altitude=" ) != string::npos ) {
fgSetBool("/sim/startup/onground", false);
if ( fgGetString("/sim/startup/units") == "feet" )
string name = assign.substr(0, pos);
string value = assign.substr(pos + 1);
fgSetString(name.c_str(), value);
- FG_LOG(FG_GENERAL, FG_INFO, "Setting default value of property "
- << name << " to \"" << value << '"');
+ // FG_LOG(FG_GENERAL, FG_INFO, "Setting default value of property "
+ // << name << " to \"" << value << '"');
// $$$ begin - added VS Renganathan, 14 Oct 2K
// for multi-window outside window imagery
} else if ( arg.find( "--view-offset=" ) != string::npos ) {