X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Ftgdb%2FTileEntry.hxx;h=5fc6982765a57397bb7343b7683d7209c2c95ba0;hb=2cc2a857a2cc2daff30601e0f8f697c768dd5b30;hp=3cd9e39d651ed5b0b5ed40fd0e1d08a49034139e;hpb=bfa5fff5002a2fa33550315e01e718719282efad;p=simgear.git diff --git a/simgear/scene/tgdb/TileEntry.hxx b/simgear/scene/tgdb/TileEntry.hxx index 3cd9e39d..5fc69827 100644 --- a/simgear/scene/tgdb/TileEntry.hxx +++ b/simgear/scene/tgdb/TileEntry.hxx @@ -37,7 +37,6 @@ #include #include #include -#include #include #include @@ -103,14 +102,6 @@ public: static void setModelLoadHelper(ModelLoadHelper *m) { _modelLoader=m; } - // Clean up the memory used by this tile and delete the arrays - // used by ssg as well as the whole ssg branch. This does a - // partial clean up and exits so we can spread the load across - // multiple frames. Returns false if work remaining to be done, - // true if dynamically allocated memory used by this tile is - // completely freed. - bool free_tile(); - // Update the ssg transform node for this tile so it can be // properly drawn relative to our (0,0,0) point void prep_ssg_node(float vis); @@ -118,8 +109,8 @@ public: /** * Transition to OSG database pager */ - static osg::Node* loadTileByName(const std::string& index_str, - const osgDB::ReaderWriter::Options*); + static osg::Node* loadTileByFileName(const std::string& index_str, + const osgDB::ReaderWriter::Options*); /** * Return true if the tile entry is loaded, otherwise return false * indicating that the loading thread is still working on this.