-// depricated for threading
-#if 0
-// Fill in a tile cache entry with real data for the specified bucket
-void FGNewCache::fill_in( const SGBucket& b ) {
- SG_LOG( SG_TERRAIN, SG_DEBUG, "FILL IN CACHE ENTRY = " << b.gen_index() );
-
- // clear out a distant entry in the cache if needed.
- make_space();
-
- // create the entry
- FGTileEntry *e = new FGTileEntry( b );
-
- // register it in the cache
- long tile_index = b.gen_index();
- tile_cache[tile_index] = e;
-
- SGPath tile_path;
- if ( globals->get_fg_scenery() != (string)"" ) {
- tile_path.set( globals->get_fg_scenery() );
- } else {
- tile_path.set( globals->get_fg_root() );
- tile_path.append( "Scenery" );
- }
-
- // Load the appropriate data file
- e->load( tile_path, true );
-}
-#endif
-
-