Skip to content
Snippets Groups Projects
Commit 3871eaed authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

remove old testing code

parent 0548266f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment