]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/newcache.hxx
Updates to the scenery loading infrastructure to make it more flexible,
[flightgear.git] / src / Scenery / newcache.hxx
index 91b43c6baa0d47e185c035b227ab56f7df196362..0afbb9b39ea79d8c907e53c0d24694f3ceb7a3d7 100644 (file)
@@ -83,7 +83,7 @@ public:
     bool exists( const SGBucket& b ) const;
 
     // Ensure at least one entry is free in the cache
-    void make_space();
+    bool make_space();
 
     // Clear all completely loaded tiles (ignores partially loaded tiles)
     void clear_cache();
@@ -124,8 +124,9 @@ public:
     /**
      * Create a new tile and enqueue it for loading.
      * @param b 
+     * @return success/failure
      */
-    void insert_tile( FGTileEntry* e );
+    bool insert_tile( FGTileEntry* e );
 };