From a1a68b9c93e68ac85078a40edbd2920618de87ca Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 18 Mar 2004 02:37:01 +0000 Subject: [PATCH] Various preparations for the next release. --- NEWS | 76 ++++++++++++++++++++++++++++++++++++ src/Input/input.cxx | 1 - src/Main/main.cxx | 2 +- src/Scenery/FGTileLoader.cxx | 1 + src/Scenery/tilemgr.cxx | 16 ++++---- 5 files changed, 87 insertions(+), 9 deletions(-) diff --git a/NEWS b/NEWS index ceed949e2..af119701b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,79 @@ +New in 0.9.4 +* March 16, 2004 + +* Impliment SimGear's (aka Andy's) Nasal scripting language in + FlightGear and integrate with the FG property system. +* Many updates from David Culp and David Luff to the AI aircraft and + ATC modules. +* Complete overhaul of the autopilot system. The new system uses a + much more advanced PID algorithm, is much more flexible, and is + completely reconfigurable for each aircraft. +* Added the ability to fetch current weather in real time during a + flight (via a thread) from the weather.noaa.gov web site and update + the current weather conditions in the sim. +* Added properly working VASI/PAPI lights. +* Make the ground intersection code smart so allow flying under + bridges, taxiing on the lower level of the bay bridge, taxiing into + hangers, etc. +* Added a utility to automatically manage scenery installation and + removal. +* Several updated ground textures, plus a variety of new random + scenery objects. + +* Much additional work on the San Francisco area buildings and bridges. + +* Added a Comper Swift (nice), a Hawker Hunter (nice), added a T37 Tweet, + +* Updates to the 737 (nice panel, 3d model, and flight model), updates + to the 747 flight dynamics, updates to the OV10, T38, AN-225, bo105 + (helicopter), better sounds for the DC-3, updates to f104 model, + many updates to the F16, updates to the J3 Cub, 3D cockpit added to + the pa28-161, updates to the sgs233, overhaul of the tsr2 and yf23 + models. + +* The UFO became Santa Claus over the holidays, but it is back to + being extra terrestial. + + +* First stab at a weather radar instrument. + +* Added a number of basic 3d instruments to the instrument library + that could be reused used for any general aviation cockpit. + +* Added RedHat packaging files. +* Added some perl script utility functions which are useful when + writing remote perl scripts that interact with a running copy of + FlightGear. Includes routines to facility remote control of data + logging and even some simple graph plotting. +* Updates to OpenGC interface. +* Various JSBSim updates. +* Various YASim updates. +* Various UIUCsim updates. +* More work on the native multiplayer system. + +* Sorted out the confusion between left, right, and parking brakes + vs. the cockpit controls vs. the wheels they apply to. +* Much infrastructure added to support future GPS instruments. +* Fixed a meter/feet conversion problem in DME distance calculations + which would cause it to often read quite high. +* Fixes to nmea output so it can better trick a moving map software + application into thinking it is talking to a real gps. + +* Fixed a subtle problem with our star database that has been lurking + for many years, but it took an astronomy expert to spot the subtle + misalignments. + +* Add support for Logitech Extreme 3D Pro, thrustmaster top gun + afterburner USB, Logitech WingMan Force 3D, Logitech Extreme 3D Pro + USB, and Microsoft SideWinder 3D Pro joysticks. + +* Removed the old WeatherCM module (it can be resurrected from CVS if + any one ever wants to do that.) +* Removed the NetworkOLK module (it can be resurrected from CVS if + any one ever wants to do that.) +* Removed support for the PSL scripting language. + + New in 0.9.3 * October 24, 2003 diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 9c52389d9..f2635973a 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -48,7 +48,6 @@ #include #include -// #include #include #include #include diff --git a/src/Main/main.cxx b/src/Main/main.cxx index d92367f49..e49ee74e1 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -1502,7 +1502,7 @@ bool fgMainInit( int argc, char **argv ) { fgInitFGRoot(argc, argv); // Check for the correct base package version - static char required_version[] = "0.9.3"; + static char required_version[] = "0.9.4"; string base_version = fgBasePackageVersion(); if ( !(base_version == required_version) ) { // tell the operator how to use this application diff --git a/src/Scenery/FGTileLoader.cxx b/src/Scenery/FGTileLoader.cxx index 32cad6ead..391a81c1c 100644 --- a/src/Scenery/FGTileLoader.cxx +++ b/src/Scenery/FGTileLoader.cxx @@ -34,6 +34,7 @@ extern ssgBranch *terrain; extern ssgBranch *ground; + /** * */ diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index 3e9ef993e..425831c9d 100644 --- a/src/Scenery/tilemgr.cxx +++ b/src/Scenery/tilemgr.cxx @@ -173,7 +173,7 @@ void FGTileMgr::schedule_needed( double vis, SGBucket curr_bucket) { double tile_width = curr_bucket.get_width_m(); double tile_height = curr_bucket.get_height_m(); // cout << "tile width = " << tile_width << " tile_height = " - // << tile_height !<< endl; + // << tile_height << endl; xrange = (int)(vis / tile_width) + 1; yrange = (int)(vis / tile_height) + 1; @@ -182,11 +182,9 @@ void FGTileMgr::schedule_needed( double vis, SGBucket curr_bucket) { // note * 2 at end doubles cache size (for fdm and viewer) tile_cache.set_max_cache_size( (2*xrange + 2) * (2*yrange + 2) * 2 ); - /* - cout << "xrange = " << xrange << " yrange = " << yrange << endl; - cout << "max cache size = " << tile_cache.get_max_cache_size() - << " current cache size = " << tile_cache.get_size() << endl; - */ + // cout << "xrange = " << xrange << " yrange = " << yrange << endl; + // cout << "max cache size = " << tile_cache.get_max_cache_size() + // << " current cache size = " << tile_cache.get_size() << endl; // clear the inner ring flags so we can set them below. This // prevents us from having "true" entries we aren't able to find @@ -229,7 +227,8 @@ void FGTileMgr::initialize_queue() // First time through or we have teleported, initialize the // system and load all relavant tiles - SG_LOG( SG_TERRAIN, SG_INFO, "Updating Tile list for " << current_bucket ); + SG_LOG( SG_TERRAIN, SG_INFO, "Initialize_queue(): Updating Tile list for " + << current_bucket ); // cout << "tile cache size = " << tile_cache.get_size() << endl; // wipe/initialize tile cache @@ -371,6 +370,8 @@ int FGTileMgr::update( double visibility_meters ) int FGTileMgr::update( SGLocation *location, double visibility_meters, sgdVec3 abs_pos_vector ) { + SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update()" ); + longitude = location->getLongitude_deg(); latitude = location->getLatitude_deg(); // add 1.0m to the max altitude to give a little leeway to the @@ -406,6 +407,7 @@ int FGTileMgr::update( SGLocation *location, double visibility_meters, if (!(current_bucket == previous_bucket )) { // We've moved to a new bucket, we need to schedule any // needed tiles for loading. + SG_LOG( SG_TERRAIN, SG_INFO, "FGTileMgr::update()" ); schedule_needed(visibility_meters, current_bucket); } } else if ( state == Start || state == Inited ) { -- 2.39.5