diff --git a/demo/demo/main.cpp b/demo/demo/main.cpp index 617b83c13dbe6d95f348692c814ed323f0f9dbdb..03c32ba1789c27992272681037388578fc1e8dfe 100644 --- a/demo/demo/main.cpp +++ b/demo/demo/main.cpp @@ -41,36 +41,6 @@ #include "GameScene.h" #include "rollball.hpp" -// prototype of resource discovery -void discover(const std::filesystem::path& base) { - - std::vector< std::filesystem::path > contentPacks; - for ( const auto& item : std::filesystem::directory_iterator(base) ) { - - // content pack detection - if ( std::filesystem::is_directory( item ) ) { - auto manifest = item.path() / "manifest.yml"; - if ( std::filesystem::exists( manifest ) ) { - contentPacks.push_back( item.path() ); - } - } - - } - - // what did we find? - std::cerr << "found pack(s): " << std::endl; - for ( auto& pack : contentPacks ) { - std::cerr << pack << std::endl; - } - -} - -static void test_atlas_api() { - // atlas testing - std::vector< fggl::gfx::ImageAtlas<char>::SubImage > images; - auto *atlas = fggl::gfx::ImageAtlas<char>::pack(images); -} - int main(int argc, const char* argv[]) { // DAG initialisation test